Hi list,

I'm not entirely sure if this topic belongs to this list, but as
it might affect usbK integration, it seems the best place to ask first.

I've got a custom composite device with 3 interfaces for which I created 
a usbK driver package by means of the usbK wizard (interface 0x0).

When using libusbx, the device works as expected if I'm just accessing 
interface 0, however as soon as I try to claim one of the other
interfaces, I receive an error -12 from libusb_claim_interface.

Here's some debug output:

[ 0.332000] [00000c38] libusbx: debug [libusb_open] open 2.2
[ 0.333000] [00000c38] libusbx: debug [libusb_claim_interface] interface 0
[13.704000] [00000c38] libusbx: debug [winusbx_claim_interface] claimed 
interface 0
[17.954000] [00000c38] libusbx: debug [libusb_get_config_descriptor] index 0
[17.954000] [00000c38] libusbx: debug [parse_configuration] skipping descriptor 
0xb
[17.954000] [00000c38] libusbx: debug [parse_endpoint] skipping descriptor 30
[17.954000] [00000c38] libusbx: debug [parse_endpoint] skipping descriptor 30
[17.954000] [00000c38] libusbx: debug [parse_endpoint] skipping descriptor 30
[17.954000] [00000c38] libusbx: debug [parse_endpoint] skipping descriptor 30
[17.954000] [00000c38] libusbx: debug [windows_assign_endpoints] (re)assigned 
endpoint 01 to interface 0
[17.954000] [00000c38] libusbx: debug [windows_assign_endpoints] (re)assigned 
endpoint 81 to interface 0
[33.564000] [00000c38] libusbx: debug [libusb_claim_interface] interface 1
[34.414000] [00000c38] libusbx: debug [unsupported_claim_interface] unsupported
API call for 'claim_interface' (unrecognized device driver)

>From the ongoing topic (and recent fix) for composite HID
devices, I'm extrapolating that a similar problem might be
existing for handling usbK devices.

Is it a misconception on my side, that it suffices to have a
driver registered for interface 0x0 of the device?

If I can supply more information, let me know.

Thanks in advance,
/Markus


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to