From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Maksim (Max) Krasnyanskiy" Date: Thu, 18 Jul 2002 03:59:12 +0000 Subject: [PATCH] usb.agent should processes usermap before other maps. Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Folks, Currently usb.agent processes usermap after the kernelmap. Unfortunately it doesn't work for Broadcom USB (BCM) firmware loader. The problem is that Bluetooth HCI USB driver (hci_usb) has to claim any device with proper Bluetooth class, subclass and protocol regardless of the vendorid/productid. But at the same time fw loader has to be able to claim devices with specific vendorid/productid even if they have proper Bluetooth class, subclass, proto. Here is an example of BCM config descriptors before fw load bDeviceClass 224 bDeviceSubClass 1 bDeviceProtocol 1 bMaxPacketSize0 64 idVendor 0x0a5c Broadcom Corp. idProduct 0x2033 after bDeviceClass 224 bDeviceSubClass 1 bDeviceProtocol 1 bMaxPacketSize0 64 idVendor 0x0a5c Broadcom Corp. idProduct 0x2000 I added a5c/2033 to usb.handmap but since kernel map is processed first usb.agent doesn't call the loader. So, the solution is to process usermap first. It kinda makes sense anyway, usermap should have priority over kernelmap. Patch against hotplug 2002.04.01 is here http://bluez.sourceforge.net/patches/patch.hotplug-2002.04.01.gz Comments ? Max http://bluez.sf.net http://vtun.sf.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel