Hi,

 

I am attempting to get the pcsc-lite drivers running in a tiny embedded Linux environment, and am having some difficulty. I have searched for documentation describing exactly what dependencies the drivers have. Can anyone point me in the right direction or maybe even point me to a detailed installation tutorial?

 

I am using pcsc-lite version 1.2.9-beta8 and have the latest ifd bundles for the smartcard readers I am using.

 

I have a kernel configured as follows: Hotplug is enabled, USB drivers are modules.

 

I have libusb-0.1.so.4 installed.

 

On booting, the USB modules are loaded correctly and the smartcard reader is detected by the USB subsystem.

 

When I run pcscd –fd, I get the pcsc daemon running correctly (I did have some configuration issues in that my pathnames were wrong in the target environment compared with the build environment, which resulted in firstly a segfault because the reader.conf was not present in the expected directory, which I corrected, then received an error that there were no bundles present, and I corrected that), the pcsc subsystem does not recognize the smartcard reader (gives no messages if I unplug the reader and plug it in again, and also no output if I insert or remove a smartcard).

 

In a full debian installation, I am able to get this to work correctly!

 

I have read through some of the source for a few hours now, and I do not understand exactly how the USB subsystem passes on information to the pcsc subsystem. My understanding is that libusb is used by the pcsc subsystem to intercept messages from the readers – is this a correct understanding?

 

Also, is it required that hotplug be enabled in the kernel – I do have it enabled, but is it necessary – or does usblib require this?

 

Thanks in advance

 

Hamish

 

 

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to