From owner-freebsd-questions Wed Jun 12 16:13:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from priv-edtnes04.telusplanet.net (fepout2.telus.net [199.185.220.237]) by hub.freebsd.org (Postfix) with ESMTP id B933E37B400 for ; Wed, 12 Jun 2002 16:13:27 -0700 (PDT) Received: from box.ici.net ([161.184.27.251]) by priv-edtnes04.telusplanet.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20020612231326.IRTH1388.priv-edtnes04.telusplanet.net@box.ici.net>; Wed, 12 Jun 2002 17:13:26 -0600 Date: Thu, 13 Jun 2002 17:18:16 -0600 From: James Earl To: Colin Harford Cc: freebsd-questions@freebsd.org Subject: Re: uhub0: device problem, disabling port 2 Message-Id: <20020613171816.25c19e3f.kim-james@telusplanet.net> In-Reply-To: References: <20020612143519.435f5e02.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 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