From owner-freebsd-questions Thu Jun 13 15:43:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from priv-edtnes03-hme0.telusplanet.net (fepout1.telus.net [199.185.220.236]) by hub.freebsd.org (Postfix) with ESMTP id 38EFC37B407 for ; Thu, 13 Jun 2002 15:43:30 -0700 (PDT) Received: from box.ici.net ([161.184.27.253]) by priv-edtnes03-hme0.telusplanet.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20020613224302.LBNN2350.priv-edtnes03-hme0.telusplanet.net@box.ici.net>; Thu, 13 Jun 2002 16:43:02 -0600 Date: Fri, 14 Jun 2002 16:47:12 -0600 From: James Earl To: Colin Harford Cc: freebsd-questions@freebsd.org Subject: Re: uhub0: device problem, disabling port 2 Message-Id: <20020614164712.5e680d81.kim-james@telusplanet.net> In-Reply-To: References: <20020613171816.25c19e3f.kim-james@telusplanet.net> X-Mailer: Sylpheed version 0.7.7 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 On Thu, 13 Jun 2002 10:43:31 -0600 Colin Harford wrote: >On 6/13/02 5:18 PM, "James Earl" wrote: > >> On Wed, 12 Jun 2002 13:45:26 -0600 >> Colin Harford wrote: >> >>> On 6/12/02 2:35 PM, "James Earl" wrote: >>> >>>> I recompiled my kernel with some of the usb debug options. Here's some of >>>> the >>>> new info it gave me. I'm not sure if it helps though: >>>> >>>> uhci0: port 0xe000-0xe01f irq 11 >>>> at >>>> de >>>> vice 7.2 on pci0 >>>> uhci0: LegSup = 0x00000010 >>>> uhci_run: setting run=0 >>>> uhci_run: done cmd=0x80 sts=0x20 >>>> uhci_run: setting run=1 >>>> uhci_run: done cmd=0x81 sts=0x0 >>>> 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 >>>> ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1 >>>> ums0: 3 buttons and Z dir. >>>> uhci_waitintr: timeout >>>> usbd_transfer_cb: short transfer 0<18 >>>> usbd_new_device: addr=3, getting full desc failed >>>> uhub_explore: usb_new_device failed, error=SHORT_XFER >>>> uhub0: device problem, disabling port 2 >>>> >>>> On Tue, 11 Jun 2002 11:31:30 -0600 >>>> Colin Harford wrote: >>>> >>>>> On 6/11/02 3:52 PM, "James Earl" wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I have an HP ScanJet 4100C USB scanner. FreeBSD (4.5, 4.6) gives for >>>>>> following message when the device is connected to either usb port on my >>>>>> computer: >>>>>> >>>>>> uhub0: device problem, disabling port 2 >>>>>> >>>>>> My USB controller is stated as an: Intel 82371AB/EB (PIIX4) on uhci0 >>>>>> >>>>>> I have searched through the mailing list archives, and have seen a couple >>>>>> other posts from people with a similar problem, but they haven't received >>>>>> any >>>>>> follow-up posts. >>>>>> >>>>>> Can anyone here give me any direction regarding this problem? Should I >>>>>> post >>>>>> this message on freebsd-hardware? >>>>>> >>>>>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>>>>> with "unsubscribe freebsd-questions" in the body of the message >>>>> >>>>> >>>>> 1) try disabling pcibios >>>>> 2) check IRQ conflicts... >>>>> >>>>> >>>>> Colin Harford     >>> >>> >>> Try unplugging your mouse and see if you still get the uhub errors. >>> >>> As for the pcibios, it doesn't matter if you have a device that uses it or >>> not. In my experience a lot of hardware problems in BSD based systems stem >>> from it. >>> >>> >>> Colin Harford     >> >> There was no difference with or without the mouse plugged in. >> >> Regarding pcibios, I'm sorry I should have worded that differently. When I >> said I don't have a pcibios device to disable, I meant to say: when I tried to >> disable pcibios it said I didn't have a device called "pcibios0." I tried >> this using the boot-up config (config -c at the boot prompt). Is this the >> same method you would use for disabling pcibios? >> >> I was trying out some different BIOS settings to see if I can make anything >> change, and one time I rebooted I received a different error message when >> trying to attach the scanner: >> >> uhci_idone: error, addr=0, endpt=0x00, status 0x440000 >> usb_new_device: set address 3 failed >> uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED >> uhub0: device problem, disabling port 2 >> >> After rebooting again numerous times, it seems this happens randomly and had >> nothing to do with my BIOS settings. Strange... >> >> Are you aware of a way to better debug what's going on? >> >> Thanks >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > >What version of FreeBSD are you using. > >What type of mother board do you have. > >I know that some chipsets have problems with USB on BSD based systems. My >Asus p5a has that problem. > > >Can you type dmesg and paste that to the list. > >Colin Harford     I'm running the cvsup version of 4.6. I was running 4.5-STABLE and thought I'd try upgrading to see if that changed anything. My motherboard is a Gigabyte BX2000 Maybe this would be a good excuse to upgrade my motherboard and processor! (but then I'd worry that the new one wouldn't work). Here's my 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-RELEASE #15: Fri Jun 14 16:40:37 MDT 2002 james@box.ici.net:/usr/src/sys/compile/BOX Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 399956718 Hz CPU: Pentium II/Pentium II Xeon/Celeron (399.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x653 Stepping = 3 Features=0x183f9ff real memory = 335478784 (327616K bytes) avail memory = 323055616 (315484K bytes) Preloaded elf kernel "kernel" at 0xc02f9000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02f909c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fdd70 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci1: at 0.0 irq 11 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 10 at de vice 7.2 on pci0 uhci_run: setting run=0 uhci_run: done cmd=0x0 sts=0x20 uhci_run: setting run=1 uhci_run: done cmd=0x81 sts=0x0 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 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci_idone: error, addr=0, endpt=0x00, status 0x440000 usb_new_device: set address 3 failed uhub0: device problem, disabling port 2 chip1: port 0x5000-0x500f at device 7.3 on pci0 pci0: (vendor=0x12eb, dev=0x0002) at 9.0 irq 5 orm0: