Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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..)

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


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

Browse other questions tagged or ask your own question.