Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 10:36:06 +0000
From:      Peter de Rooij <peter@derooij.org>
To:        freebsd-questions@freebsd.org
Subject:   no usb detection during load
Message-ID:  <43FAED16.4060000@derooij.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060602020403010602080705
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Well, very little.  FreeBSD 6.0 GENERIC does not detect my USB mouse or 
printer at boot.  It did not recognize a USB thumb drive either until I 
added the thing to /etc/fstab.  Everything works fine if I plug it in 
after boot.  (A bit inconvenient for the mouse...)

How do I force detection at boot?
I already added usbd_load="YES" and ums_load="YES" to loader.conf, with 
no effect.

dmesg attached.
Note the detection of ums0 after completion of boot -- that's when I 
plug it in after logging in.

Cheers, Peter
--
Peter de Rooij

--------------060602020403010602080705
Content-Type: text/plain;
 name="usb-dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="usb-dmesg.txt"

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
    root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
real memory  = 796917760 (760 MB)
avail memory = 770568192 (734 MB)
MPTable: <COMPAQ               >
ioapic0: Changing APIC ID to 1
ioapic0: Assuming intbase of 0
ioapic0 <Version 2.0> irqs 0-23 on motherboard
wlan: mac acl policy registered
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82865G (865G GMCH) SVGA controller> port 0x14e0-0x14e7 mem 0xf0000000-0xf7ffffff,0xfc400000-0xfc47ffff irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1440-0x145f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
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 0x1460-0x147f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
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 0x1480-0x149f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
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
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfc480000-0xfc4803ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: wrong number of companions (4 != 3)
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2
pcib1: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci5: <PCI bus> on pcib1
bge0: <Broadcom BCM5782 Gigabit Ethernet, ASIC rev. 0x3003> mem 0xfc500000-0xfc50ffff irq 20 at device 2.0 on pci5
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:11:0a:98:a4:37
ral0: <Ralink Technology RT2500> mem 0xfc510000-0xfc511fff irq 16 at device 4.0 on pci5
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
ral0: Ethernet address: 00:11:50:14:e8:0a
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x14c0-0x14cf irq 18 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0x14f8-0x14ff,0x1810-0x1813,0x1800-0x1807,0x1814-0x1817,0x14d0-0x14df irq 18 at device 31.2 on pci0
atapci1: failed to enable memory mapping!
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pnpbios: error 0/82 getting device count/size limit
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/13 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2793014889 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 38166MB <Seagate ST340015A 3.15> at ata0-master UDMA100
ad1: 157066MB <HDT722516DLAT80 V43OA70A> at ata0-slave UDMA100
acd0: CDROM <SAMSUNG CD-ROM SC-148C/B100> at ata1-master PIO4
acd1: DVDR <PHILIPS DVDR1648P1/P2.2> at ata1-slave UDMA33
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB Flash Memory 1.00> Removable Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 489MB (1001472 512 byte sectors: 64H 32S/T 489C)
Trying to mount root from ufs:/dev/ad0s2a
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.

--------------060602020403010602080705--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43FAED16.4060000>