[libhid-discuss] device with multiple interfaces

Charles Lepple clepple at ghz.cc
Tue May 15 22:42:52 UTC 2007


Peter Stuge wrote:
> On Tue, May 15, 2007 at 11:42:33PM +0200, Arvid Picciani wrote:
>> > This is problematic. In order to communicate with the USB device
>> > directly in your application you must first disconnect the kernel
>> > HID driver. This is a really bad approach to programming the device.
>> > (Sometimes neccessary because of really bad device design.)
>>
>> does this mean i _could_ see the other interfaces when
>> disconnecting from the kernel?
>
> Yes, that's right. But then the interface will not "get through" to X
> or any other part of the system. Only your application. (That's why
> it's bad to bundle independent functionality in one interface.)

It's hard to say definitively what events will not get through to X until
we see which events are on which interface.

-- 
Charles Lepple





More information about the libhid-discuss mailing list