From owner-freebsd-questions Sat Nov 30 22:44: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 105EB37B401 for ; Sat, 30 Nov 2002 22:44:01 -0800 (PST) Received: from ns1.xprowler.com (ns1.xprowler.com [64.246.18.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A8F843EA9 for ; Sat, 30 Nov 2002 22:44:00 -0800 (PST) (envelope-from marshall@magpcss.com) Received: from Marshall (bgp01031535bgs.sothfd01.mi.comcast.net [68.41.232.252]) (authenticated (0 bits)) by ns1.xprowler.com (8.11.6/8.11.6) with ESMTP id gB16upe32241 for ; Sun, 1 Dec 2002 01:56:51 -0500 Message-ID: <002b01c29905$09b6b410$6501a8c0@Marshall> From: "Marshall A. Greenblatt" To: Subject: usbd fails with "Could not read event, Invalid argument" error Date: Sun, 1 Dec 2002 01:44:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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=0xc0400000 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 0xdffff800-0xdfffffff 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 0xdffff700-0xdffff7ff 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: