Ludovic Rousseau wrote:
I also have the same problem with udev. The event is sent before the
device is really present in /sys/ and then pcscd do not see it :-(

not only sysfs. the files /proc/bus/usb/* and /dev/bus/usb/* might not
exist either. it is those I worry about at that stage, so I added the
sleep 1 as it is the easiest solution. (100ms would be fine too, but I
know no tool to do sub second sleeps...)

Am I doing something wrong?

sorry, no idea. didn't use it, as I need the device files at that point.
I wonder how udev can look at the rules without the sysfs files present,
so I didn't even know it had problems regarding /sys files.

I am using udev 079-0ubuntu34 (Ubuntu Dapper). Is this corrected in a
newer version of udev? (latest version is 100)

latest version is even 104 or 103. but that wouldn't help much, udev
seems to be currently *the* component of a linux distribution that is
closest tied to the distribution and the kernel and thus the biggest
maintenance issues. any change on the kernel needs carefull review
whether or not to change udev, but not a generic udev, but udev as
in that distributions flavor. so usualy it is best to go away and not
touch udev or the kernel and live with whatever version is installed :(

Any udev expert here?

sorry, no. but the people on the linux-hotplug mailing list are quite
responsive. but you need to subscribe in order to post (the gmame
interface doesn't allow to post / the posts never reach the list).

Regards, Andreas

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to