Re: writing device drivers for commercial hardware

Manfred Spraul (manfred@colorfullife.com)
Wed, 26 Dec 2001 19:36:47 +0100


I'd start with:

- read the existing smartcard drivers
- check the windows driver - there is software that monitors the serial port and logs all calls.
http://www.sysinternals.com/ntw2k/freeware/portmon.shtml
Try to reverse engineer the protocol between the driver and the smartcard reader.
- open the smartcard reader, and check if you can identify the producer of the ICs that are used. Then try to find the datasheet.
google often helps.
- Ask the company that makes the smartcard reader - perhaps they'll help you?

I'm not sure if the driver should be user space or kernel space, but I'd definitively start in userspace.

Good luck,

--
    Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/