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 !