Date: Sat, 20 Jul 2002 11:15:20 +1000 From: "bigMAX" <bigmax@newmail.net> To: <freebsd-hardware@freebsd.org> Subject: Re: USB: "ugen0: device problem" Message-ID: <014601c22f8a$ea9aa1b0$0101a8c0@BIGMAX> References: <013401c22f0a$a472f190$0101a8c0@BIGMAX> <20020719115837.GA5689@ftp.crustpunk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Craig! That was it! ----- Original Message ----- From: "Craig Dooley" <cd5697@albany.edu> To: <freebsd-hardware@FreeBSD.ORG> Sent: Friday, July 19, 2002 9:58 PM Subject: Re: USB: "ugen0: device problem" > I dont know if this will help, but when I was trying to use FreeBSD on > an Abit VP6 Motherboard, I was having problems also. The solution I > found was to go into the bios and change the MPS from 1.4 down to 1.1 > and it worked fine. I was having a similar problem that whenever I > plugged in a new device, it would disconnect it immediately. Im not > sure where it's documented and where I found that, but sometion to look > into. > > -Craig > > On Fri, Jul 19, 2002 at 07:57:02PM +1000, bigMAX wrote: > > 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA, > > CM > > OV,PAT,PSE36,MMX,FXSR> > > 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: <math processor> on motherboard > > npx0: INT 16 interface > > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard > > IOAPIC #0 intpin 16 -> irq 2 > > IOAPIC #0 intpin 18 -> irq 16 > > pci0: <PCI bus> on pcib0 > > pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 > > pci1: <PCI bus> on pcib1 > > isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 > > isa0: <ISA bus> on isab0 > > atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on > > pci0 > > ata0: at 0x1f0 irq 14 on atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 11 > > at device 7.2 on pci0 > > usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0x5000-0x500f at > > device 7.3 on pci0 > > pci0: <NVidia/SGS-Thomson Riva128 graphics accelerator> 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: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0 > > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff on isa0 > > fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > > kbd0 at atkbd0 > > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > 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 at port 0x2f8-0x2ff irq 3 on isa0 > > sio1: type 16550A > > 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/16 bytes threshold > > lpt0: <Printer> on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: <Parallel I/O> on ppbus0 > > APIC_IO: Testing 8254 interrupt delivery > > APIC_IO: routing 8254 via IOAPIC #0 intpin 2 > > SMP: AP CPU #1 Launched! > > ad0: 12971MB <WDC WD136AA> [26354/16/63] at ata0-master UDMA33 > > Waiting 10 seconds for SCSI devices to settle > > (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. > > Mounting root from ufs:/dev/da0s1a > > cd0 at sym0 bus 0 target 1 lun 0 > > cd0: <MATSHITA CD-ROM CR-508 XS03> Removable CD-ROM SCSI-2 device > > cd0: 10.000MB/s transfers (10.000MHz, offset 16) > > cd0: Attempt to query device size failed: NOT READY, Medium not present > > da0 at sym0 bus 0 target 0 lun 0 > > da0: <IBM DCAS-34330W S65A> Fixed Direct Access SCSI-2 device > > da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) > > da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) > > IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hardware" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?014601c22f8a$ea9aa1b0$0101a8c0>