Date: Sun, 23 Sep 2012 18:30:53 +0400 From: =?UTF-8?B?Z2VvZmZyZXkgbGV2YW5k?= <geoffrey.levand@mail.ru> To: freebsd-hackers@freebsd.org Subject: How to claim only some of USB interfaces of a composite USB device Message-ID: <1348410653.373800982@f180.mail.ru>
index | next in thread | raw e-mail
Hi, i have the following problem. I have a composite USB device with multiple USB interfaces. Some of interfaces belong to the Bluetooth device and other to the WLAN device. The problem is i want my WLAN driver to claim only the interfaces which belong to the WLAN device. But ng_ubt kernel driver claims all interfaces for itself beginning with the interface 0. Therefore, my WLAN driver doesn't work if ng_ubt is loaded first. The second question is, why FreeBSD USB stack calls the match callback of my WLAN driver only once with USB interface index 0. Shouldn't it call the match callback for each interface on a USB device ? Linux kernel e.g. does it per USB interface. regardshelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1348410653.373800982>
