2010/2/10 Andreas Jellinghaus <[email protected]>: > is there a current template for writing a driver > for an usb based device?
No. The only template I know is the very old ifd-devkit-1.0.0 from [1]. > it would be nice to have all the normal goodies > (coldplug and hotplug detection for usb devices, > interface with pcscd, T=1 protocol engine), so > you only need to fill in the proprietory bits > between USB layer and T=1 layer and the formalities > (name, usb vendor ids / detection routine etc.). > is there something like that? > > or could libccid used for that - what parts are > "CCID" specific and would need to be replaced? The CCID specific parts are mainly in src/commands.c. But other parts would have to be changed as well. Common parts should be the files in openct/ and towitoko/ since I reused/modified these files from other projects. Do you have a specific device in mind? Bye [1] http://musclecard.com/sourcedrivers.html -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
