Ludovic Rousseau wrote:
> 2009/11/18 Emmanuel Deloget <[email protected]>:
>   
>> So from now, I (well, the handler I wrote) also have to support
>> DeviceKit too? That means even more dependencies, different packages for
>> recent Linux distributions, different code path and so on ?
>>     
>
> No. Your driver do not have to support HAL or DeviceKit or libusb or
> any other plug-n-play infrastructure. That is the job of pcscd.
>
> But your driver should interpret the device name passed in DeviceName
> parameter of IFDHCreateChannelByName(). See [1]
>
>   
My main issue is that I need the HAL daemon to run even if pcscd is not
linked with libhal - because HAL is my currently my only way to retrieve
the tty device that is attached to my reader (the reader declares itself
as a serial USB device, and as such it's taken by the cdc_acm kernel
module and I can't use libusb to read/write data to the reader ; I know,
it's a bit painfull). Without HAL, I have no way to find what tty device
I must open, and thus my IFD handler has no way to communicate with the
reader.

Too bad for me, I guess...


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

Reply via email to