[libhid-discuss] device with multiple interfaces

Charles Lepple clepple at ghz.cc
Wed May 16 12:55:31 UTC 2007


On May 16, 2007, at 8:41 AM, Arvid Picciani wrote:

> ah and /proc/bus/usb/devices
>
> T:  Bus=05 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  5 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=4243 ProdID=ee08 Rev= 1.01
> S:  Manufacturer=Linux4Media GmbH
> S:  Product=RF Control
> S:  SerialNumber=SNR0001
> C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
> E:  Ad=82(I) Atr=03(Int.) MxPS=   9 Ivl=10ms
> I:* If#= 1 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
> E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
> E:  Ad=04(O) Atr=03(Int.) MxPS=  64 Ivl=1ms
>
>
> it seems the second thingy did not get detached. with "libhid- 
> detach-device
> 4243:ee08"

"detach-device" is a misnomer, and I guess we don't have support for  
specifying which interface to detach.

I'll mark that down as a future enhancement.

-- 
Charles Lepple





More information about the libhid-discuss mailing list