USB changes.

Joe Altman fj at panix.com
Thu Apr 28 13:20:59 PDT 2005


On Thu, Apr 28, 2005 at 12:55:31PM -0700, Julian Elischer wrote:
> >>
> >>Can you confirm that usb.c ends with:
> >>SYSINIT(usb_cold_explore, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST,
> >>  usb_cold_explore, NULL);
> 
> /usr/sr/sys/dev/usb/usb.c
> 
> >Aha...maybe this is it:
> >
> >/usr/src/usr.sbin/usbd/
> > 
> >
> 
> nope
> 
> >ll /usr/src/usr.sbin/usbd/
> >
> >2734320 -rw-r--r--    1 root  wheel    169 Apr 25  2001 Makefile
> >2738254 -rw-r--r--    1 root  wheel   4460 Jun 22  2003 usbd.8
> >2736938 -rw-r--r--    1 root  wheel  30079 Nov 29  2003 usbd.c
> >2737339 -rw-r--r--    1 root  wheel   5046 Aug 27  2004 usbd.conf.5
> >
> >Is that the one?

Where does the file that you need live?

> theoretically it may be that the usb code doesn't like being run at that 
> time..
>
> I'll try duplicate your setup more closely.
>
> is it a uhci or ohci controller?

>From dmesg:

uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbc00-0xbc1f
irq 5 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered

uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xb000-0xb01f
irq 10 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered

uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xb400-0xb41f
irq 11 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xb800-0xb81f
irq 5 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered

ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfc000000-0xfc0003ff
irq 3 at device 29.7 on pci0
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <EHCI (generic) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered

So it's uhci and ehci.


More information about the freebsd-stable mailing list