On 19/01/07, Iain MacDonnell <[EMAIL PROTECTED]> wrote:
Ludovic Rousseau wrote on 01/ 9/07 11:38 PM:
> if Solaris has a udev equivalent it could be used. I just need a way
> to run a command when a USB device is connected. If you can restrict
> the rule to only CCID class devices (like udev does) it is even
> better.
It seems that Solaris is headed[1] in the direction of HAL[2] for
presenting hot-pluggable devices in a generic manner. Since HAL sits
ontop of udev on Linux, and ontop of devfsadm on Solaris, it seems like
it might be a good layer for PCSC-lite to target... have you looked at
it?
I have not yet looked at DBUS and HAL. It looks like we could use that
as a more portable layer.
If you can write a small program using HAL to execute "pcscd
--hotplug" when a CCID reader is connected or remove I will include it
in the CCID driver distribution.
The hal-device-manager application is written in Python and can detect
the events we need. So I imagine a few tens of lines of Python should
do the job.
Bye,
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle