2011/3/17 Martin Preuss <[email protected]>:
> However, changing the hotplug-mechanism every once in a while doesn't help
> with keeping drivers working... Depending on the distribution there are now at
> least two types of systems: One type requires using libHAL (and doesn't work
> without it, like Ubuntun 9.04) and the other doesn't work at all with libHAL
> (unless the HAL daemon is installed as well, which it isn't anymore on modern
> systems)...

Hotplug is the business of pcsc-lite, not the reader driver.
Or you have a special need?

> So this stuff is always a moving target on Linux which makes it sometimes hard
> too keep up with. That's why old versions of software sometimes don't work
> with newer distributions without changes. Especially software which is quite
> near to the lowlevel part of a system (like drivers).

You driver should not depend on the way pcsc-lite is configured.

Your driver will be called using IFDHCreateChannelByName() [1] (if
available, or IFDHCreateChannel()) and the driver will parse the name
passed by pcscd. As documented [1] if your driver does not undersand
part of the naming scheme it should just ignore the unsupported part.

What else can I do to help your driver work with "any" version of pcsc-lite?

Bye

[1] 
http://pcsclite.alioth.debian.org/api/group__IFDHandler.html#gabb9fe35a68fa080ce9397f0b830b1e7e

-- 
 Dr. Ludovic Rousseau

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

Reply via email to