From owner-freebsd-hardware Fri Jul 19 2:50: 8 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FCF037B400 for ; Fri, 19 Jul 2002 02:49:52 -0700 (PDT) Received: from mail2.tpgi.com.au (mail.tpgi.com.au [203.12.160.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BC1443E42 for ; Fri, 19 Jul 2002 02:49:51 -0700 (PDT) (envelope-from bigmax@newmail.net) Received: from leonard (nme-56k-154.tpgi.com.au [203.29.154.154]) by mail2.tpgi.com.au (8.11.6/8.11.6) with SMTP id g6J9nlf16380 for ; Fri, 19 Jul 2002 19:49:47 +1000 Message-ID: <013401c22f0a$a472f190$0101a8c0@BIGMAX> From: "bigMAX" To: Subject: USB: "ugen0: device problem" Date: Fri, 19 Jul 2002 19:57:02 +1000 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 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org My apologies if this posting is off-topic, but i'm thinking it might be a problem with some gigabyte motherboards and I'd be interested if anyone could confirm that it either was or wasn't. Hi, I've been trying to get an alcatel speedtouch usb modem working and after spending all afternoon struggling with it I've concluded that I don't have USB working at all :( I also have a xerox docuprint p8ex printer which I am using to test whether usb is working - although I'm not concerned with making this print. Here are my details: I'm running FreeBSD 4.6-STABLE, I've got a dual P2-350 with a Gigabyte GA6BXD motherboard. The onboard USB ports are identified as "Intel 82371AB/EB (PIIX4) USB controller". I've updated the motherboard's bios to the latest version (F4b). I removed a network card that was sharing an irq with the usb device so their are definitely no irq conflicts. A complete dmesg output is included at the end of the message along with the output from usbd -dvvv If I boot the machine with the usb devices attached they are recognised: ugen0: ALCATEL Speed Touch USB , rev 1.10/0.00, addr 2 ugen1: Lexmark International, Inc. Color Jetprinter 5500\^H?\^H, rev 1.00/0.63, addr 3 But any attempt to use the adsl modem will cause the following error: grody# modem_run -f /usr/local/libdata/mgmt.o -m -d /dev/ugen0 -v 2 Gotcha, I found your ADSL ALCATEL SpeedTouch USB modem! (The modem lights will then start flashing for a while, then go red, then switch off) ugen0: at uhub0 port 1 (addr 2) disconnected ugen0: detached BLOCK1: Input/output error Uploading /usr/local/libdata/mgmt.o failed! Continuing anyway ... pusb_set_configuration 1: Inappropriate ioctl for device I originally thought it was just problems getting the alcatel driver going but the following happens when I try to plug either the printer or adsl modem into the machine while it is already running: uhub0: device problem, disabling port 1 Does anyone have any ideas? I'm completely lost. I thought being a regular (and a bit old) intel chipset the usb would be pretty generic. After a _lot_ of searching through google and ml archives i'm thinking it might be a problem with gigabyte boards - I saw a lot of (unanswered) messages with similar problems from people with gigabyte boards. Thanks Jason. The following is the output from running usbd -dvvv: grody# /usr/sbin/usbd -dvvv usbd: opened /dev/usb0 usbd: reading configuration file /etc/usbd.conf usbd: action 1: ActiveWire board, firmware download vndr=0x0854 prdct=0x0100 rlse=0x0000 attach='/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}' usbd: action 2: Entrega Serial with UART vndr=0x1645 prdct=0x8001 rlse=0x0101 attach='/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}' usbd: action 3: USB ethernet devname: [ack]ue[0-9]+ attach='dhclient ${DEVNAME}' detach='killall dhclient' usbd: action 4: Mouse devname: ums[0-9]+ attach='/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid' usbd: action 5: USB device usbd: 5 actions usbd: opened /dev/usb usbd: detach event at 1027071605.407825000, product 0x3201, vendor 0x0419: vndr=0x0419 prdct=0x3201 rlse=0x0063 clss=0x0000 subclss=0x0000 prtcl=0x0000 device names: ugen1 usbd: Found action 'USB device' for product 0x3201, vendor 0x0419 at ugen1 usbd: action 0: USB device usbd: Setting DEVNAME='ugen1' (The following messages repeat indefinitely pausing for a while on the doing discovery bit) usbd: doing timeout discovery on /dev/usb0 usbd: processing event queue due to timeout on /dev/usb usbd: doing discovery on /dev/usb0 usbd: doing timeout discovery on /dev/usb0 usbd: processing event queue due to timeout on /dev/usb (and so on....) dmesg output: 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.6-STABLE #3: Thu Jul 18 19:06:38 EST 2002 jason@grody:/usr/obj/usr/src/sys/GRODY Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (349.07-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff real memory = 402587648 (393152K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0311000. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00fddf0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 18 -> irq 16 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 11 at device 7.2 on pci0 usb0: 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 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x5000-0x500f at device 7.3 on pci0 pci0: at 8.0 irq 2 sym0: <875> port 0xe400-0xe4ff mem 0xe1101000-0xe1101fff,0xe1102000-0xe11020ff irq 16 at device 10.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: SCAN AT BOOT disabled for targets 3 4 6 8 9 10 11 12 13 14 15. sym0: SCAN FOR LUNS disabled for targets 0 1 2 4 5 6. fxp0: port 0xe800-0xe83f mem 0xe1000000-0xe10fffff,0xe1100000-0xe1100fff irq 2 at device 12.0 on pci0 fxp0: Ethernet address 00:02:b3:0b:19:61 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: