On 2/26/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Mon, 26 Feb 2007, Greg KH wrote: > > > On Mon, Feb 26, 2007 at 05:14:38PM -0500, Jon Smirl wrote: > > > On 2/26/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > > >> Another way to control this would be to put all of the USB Host IDs > > > >> into a single module (usbcore), and then that module would load in > > > >> ehci, uhci, etc. > > > > > > > >That would work. But it would be a lot of effort for not much advantage. > > > > > > It's not that much work. Just move the PCI device tables form the tree > > > controller modules into USB core. Then when USB core is probed, find > > > the device in the table, load the right module and pass the probe on. > > > > But why in the world would we care? These busses can come and go in any > > number of varied and different ways. If you try to rely on a bus id > > then you are going to be wrong eventually. > > > > Just do not do it, it's wrong and we will not try to work around it in > > the usb core at all. > > > > Use a tool in userspace to handle all of this, like udev, which is > > exactly what it was created for. > > Unfortunately udev currently doesn't work with USB buses. You can use it > to rename network interfaces, but not to renumber USB buses. It might be > nice if you could. > > Maybe this is a good project for you or Kay...
So how did this happen? At boot uhci_hcd got modprobed in first. ehci_hcd 34060 0 uhci_hcd 25488 0 usbcore 130696 5 usbmon,usbhid,ehci_hcd,uhci_hcd But ehci registered it's bus before uhci: [EMAIL PROTECTED]:/extra/tcpdump$ dmesg | grep bus ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 I'm running with hyperthreading turned on, is it an SMP thing? -- Jon Smirl [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel