linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb.agent should processes usermap before other maps.
@ 2002-07-18  3:59 Maksim (Max) Krasnyanskiy
  2002-07-18  5:35 ` David Brownell
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Maksim (Max) Krasnyanskiy @ 2002-07-18  3:59 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-08-09 18:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18  3:59 [PATCH] usb.agent should processes usermap before other maps Maksim (Max) Krasnyanskiy
2002-07-18  5:35 ` David Brownell
2002-07-18 16:49 ` [PATCH] usb.agent should processes usermap before other Maksim (Max) Krasnyanskiy
2002-07-18 17:19 ` [PATCH] usb.agent should processes usermap before other maps David Brownell
2002-07-18 17:47 ` [PATCH] usb.agent should processes usermap before other Maksim (Max) Krasnyanskiy
2002-07-18 17:51 ` [PATCH] usb.agent should processes usermap before other maps Johannes Erdfelt
2002-07-18 20:17 ` [PATCH] usb.agent should processes usermap before other Maksim (Max) Krasnyanskiy
2002-07-18 20:55 ` [PATCH] usb.agent should processes usermap before other maps David Brownell
2002-07-18 21:40 ` [PATCH] usb.agent should processes usermap before other Maksim (Max) Krasnyanskiy
2002-07-18 21:49 ` [PATCH] usb.agent should processes usermap before other maps David Brownell
2002-07-18 22:03 ` [PATCH] usb.agent should processes usermap before other Maksim (Max) Krasnyanskiy
2002-07-18 23:03 ` [PATCH] usb.agent should processes usermap before other maps David Brownell
2002-07-18 23:47 ` [PATCH] usb.agent should processes usermap before other Maksim (Max) Krasnyanskiy
2002-08-09 18:22 ` [PATCH] usb.agent should processes usermap before other maps David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).