Important things first :-)
New SVN snapshots of pcsc-lite and ccid are now available at [1].


On 10/01/07, Alon Bar-Lev <[EMAIL PROTECTED]> wrote:
On 1/9/07, Ludovic Rousseau <[EMAIL PROTECTED]> wrote:
> To configure pcscd you need to use:
>   ./configure --enable-runpid=/var/run/pcscd.pid
> But pcscd --hotplug would say:
>   pcscdaemon.c:397:main() Hotplug failed
> if --enable-runpid=... is not used

This was the problem...
All working now!
Please consider modifying message to "Cannot open pid file %s"...

Good idea. It now logs:
$ ./src/pcscd --hotplug
pcscdaemon.c:398:main() pcscd was not configured with --enable-runpid=FILE
pcscdaemon.c:400:main() Hotplug failed

Committed in revision 2327.

> Good idea. Maybe the Makefile should never install the udev rule file
> and let the distributions packagers install it correctly.

Great!

Done in revision 2329. A message is displayed instead.

Now... Another issue...
I use pcscd during boot to extract encryption keys.
So no udev, but mdev...
If I understand correctly the only modification that needs to be done is:
ifdCapabilities in /usr/lib/readers/usb/ifd-ccid.bundle/Contents/Info.plist

The problem is that this cannot be done via /etc/ configuration...
Which makes it difficult to manage.
Can you please consider getting this also from environment as an
override? This is the only variable that may be different between
run-time environments...

I don't know if that will solve your problem but...
The Debian policy requests that configuration files are stored in
/etc. So /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist is
in fact a symbolic link to /etc/libccid_Info.plist.

If you can have two different /etc/libccid_Info.plist it should be OK
for you. pcscd will to be restarted after boot so it reread the
"second" Info.plist file.
Does this help?

Bye,

[1] http://ludovic.rousseau.free.fr/softwares/pcsc-lite/

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

Reply via email to