Skip to contentSkip to conversation

Usb hotplug on 2.2 kernels

DISCUSSION Keith Owens 3 participants 3 messages Jan 21, 2001

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · Keith Owens

Some people have mentioned usb hotplug support on 2.2 kernels, as an add on patch. Does it use depmod or does it use a separate hand built table? If it uses depmod, what does struct usb_device_id look like?

I had talked about doing the backport patch if others thought it would be a good idea, but hadn't gotten to it yet. I don't know of any existing patches that do this (if there are, could someone point me to them?)

I was thinking of using depmod, but due to the latest "mess" with the structures, I hadn't decided what the usb_device_id format would look like. I am leaning toward whatever 2.4.x looks like, to try to preserve compatibility as much as I can.

I also was/am going to test the crap out of it with older versions of modutils, so as not to require any upgrades if the user didn't want to have hotplug support (one of the 2.2.x requirements).

Does that all sound ok?

thanks,

greg k-h

Signature · 6 lines
greg@(kroah|wirex).com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#2 lore raw
In reply to Keith Owens

There's a certain level of support already, as I understand it, which relies on something other than modutils providing the tables mapping device descriptors to driver names.

The current hotplug scripts ship a "usb.distmap" file with that information. Currently generated using a 2.4 build (mostly correct for 2.2.18 drivers).

- Dave

----- Original Message -----
From: Keith Owens <[email protected]>
To: <[email protected]>
Sent: Saturday, January 20, 2001 10:16 PM
Subject: Usb hotplug on 2.2 kernels

Quoted 9 lines

Some people have mentioned usb hotplug support on 2.2 kernels, as an add on patch. Does it use depmod or does it use a separate hand built table? If it uses depmod, what does struct usb_device_id look like?

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel