Hi guys, have a slight problem that google and the list archives haven't
been able to shed any light on. When I attempt to start usbd it exits with
a fatal error message as shown below.
# /usr/sbin/usbd -v
usbd: opened /dev/usb0
usbd: opened /dev/usb1
usbd: opened /dev/usb2
usbd: reading configuration file /etc/usbd.conf
usbd: opened /dev/usb
usbd: Could not read event, Invalid argument
A quick grep of the sources shows that this error message is from the
`process_event_queue' function in `usr.sbin/usbd/usbd.c' and seems to
indicate that a read on `/dev/usb' failed. World is standard 4.7-RELEASE
and the kernel was compiled using RELENG_4 CVS sources updated early this
morning. The USB ports have been verified to work, so I don't think it's a
hardware problem. Any suggestions on how to resolve this error would be
greatly appreciated. Ideally, I'd like to get a LinkSys WUSB11 v2.6 (Atmel
chipset) wireless USB adapter working with FreeBSD, but I know that may be a
lost cause, at least for the near future. :-)
Thanks,
Marshall
---
# ls -l /dev/usb*
crw-rw 1 root operator 108, 255 Nov 29 21:50 /dev/usb
crw-rw 1 root operator 108, 0 Nov 29 21:50 /dev/usb0
crw-rw 1 root operator 108, 1 Nov 30 23:55 /dev/usb1
crw-rw 1 root operator 108, 2 Nov 30 23:55 /dev/usb2
---
# dmesg
Copyright (c) 1992-2002 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 4.7-STABLE #3: Sat Nov 30 19:37:15 EST 2002
root@magamd2k:/usr/obj/usr/src/sys/AMD2K11302002
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 1666737046 Hz
CPU: AMD Athlon(tm) XP 2000+ (1666.74-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x662 Stepping = 2
Features=0x383f9ff
AMD Features=0xc040
real memory = 167706624 (163776K bytes)
config> q
avail memory = 159354880 (155620K bytes)
Preloaded elf kernel "kernel" at 0xc039b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc039b09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f7be0
npx0: on motherboard
npx0: INT 16 interface
pcib0: on motherboard
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
pci1: at 0.0 irq 5
fwohci0: port 0xec00-0xec7f mem 0xd800-0xdfff irq 5 at
device 8.0 on pci0
fwohci0: PCI bus latency was changing to 250.
cache size 8.
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: resetting OHCI...done (0)
fwohci0: BUS_OPT 0xf800a202 -> 0xf800a202
fwohci0: Link 1394a available S400, 3 ports, maxrec 2048 bytes.
fwohci0: Enable 1394a Enhancements
fwohci0: EUI64 00:11:06:00:00:00:31:6a
fwochi_set_intr: 1
firewire0: on fwohci0
firewire0: firewire bus attach
sbp_identify
sbp_probe
sbp0: on firewire0
sbp_attach
isab0: at device 17.0 on pci0
isa0: on isab0
atapci0: port 0xfc00-0xfc0f at device 17.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: port 0xd800-0xd81f irq 11 at device 17.2
on pci0
usb0: on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: port 0xdc00-0xdc1f irq 11 at device 17.3
on pci0
usb1: on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: vendor 0x077b product 0x2219, rev 1.10/1.00, addr 2
uhci2: port 0xe000-0xe01f irq 11 at device 17.4
on pci0
usb2: on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcm0: port 0xe400-0xe4ff irq 11 at device 17.5 on pci0
chip1: port 0xe800-0xe8ff irq 11 at device 17.6 on
pci0
vr0: port 0xd400-0xd4ff mem
0xd700-0xd7ff irq 5 at device 18.0 on pci0
vr0: Ethernet address: 00:07:95:41:b3:f6
miibus0: on vr0
ukphy0: on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: at iomem 0xc-0xcbfff,0xcc000-0xc on isa0
fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: at port 0x60,0x64 on isa0
atkbd0: flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: 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
ppc0: at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: on ppbus0
lpt0: on ppbus0
lpt0: Interrupt-driven port
ppi0: on ppbus0
firewire0: BUS reset
firewire0: node_id = 0xc800ffc0, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fw_set_bus_manager: 63->0 (loop=0)
send phy_config root_node=-1 gap_count=1
start AT DMA status=0