[libhid-discuss] Using libhid with composit device

Ali Asad Asad.Ali at gemalto.com
Thu Mar 12 00:50:19 UTC 2009


Peter, thanks for the prompt & to-the-point reply, and for keeping my hopes up. I will investigate further and see if using libusb provides a faster path for me.

regards,
--- asad

-----Original Message-----
From: libhid-discuss-bounces+asad.ali=gemalto.com at lists.alioth.debian.org [mailto:libhid-discuss-bounces+asad.ali=gemalto.com at lists.alioth.debian.org] On Behalf Of Peter Stuge
Sent: Wednesday, March 11, 2009 7:33 PM
To: libhid-discuss at lists.alioth.debian.org
Subject: Re: [libhid-discuss] Using libhid with composit device

Ali Asad wrote:
> 2. Is is possible to unmount only the HID enumeration of a device and
> leave any additional enunmerations still mounted?

Yes.


> So, is there a way for me to access the HID part of the device through
> libhid without unmounting the complete device, or have I reached a
> dead-end in terms of supporting this device on Linux.

I think neither is the case.

Linux certainly allows userspace programs to detach only a single interface out of several implemented.

But, you may have to program libusb or even usbfs directly, and not use libhid.

But it may also be a simple fix for libhid, allowing you to continue using libhid.


//Peter

_______________________________________________
libhid-discuss mailing list
libhid-discuss at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/



More information about the libhid-discuss mailing list