Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This is probably an 'advanced' Linux/kernel question (please help me finding the right place to post it, if not here...)

I have an RFID reader that is actually a Serial-to-USB device (found it @/dev/ttyUSB0 and can 'cat' or 'minicom' from it, no problem..)
http://www.parallax.com/tabid/768/ProductID/517/Default.aspx

The usage I would like to obtain is simply, having this stuff echoing the RFID Tags it will scan: directly as an input device (HID), so being on a web page, or in a document, or in the shell/terminal, the tag number sequence will just print wherever my 'cursor' is waiting...just 'as if' I would have typed it on my keyboard.

My question: do I have to write a complete new driver? is there a way I can hack/fork around the existing serio/serial/input drivers? which one(s) exactly should I consider? where should I start ? (As a embedded C programmer, I am not really afraid/asking about the 'how', but the 'what/where')

Note: one workaround I achieved was using the 'uinput' driver, and have all the stuff (python) inside the user space. But it is quite unstable (does not recover from un/plugging).

I really wish I coul dhave it autodetect and used transparently in the kernel....

Tanx !

share|improve this question
    
Most probably you don't want to implement it on kernel level, if you need to deploy it to anywhere but your own computer(s). Deploying user space programs is just so much easier. –  Olli Mar 7 '11 at 11:32
    
I fully agree with you. But purpose here is not to deploy at all. –  blietaer Mar 8 '11 at 8:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.