From owner-freebsd-usb@FreeBSD.ORG Tue Jan 18 06:20:28 2005 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 976C216A4D1 for ; Tue, 18 Jan 2005 06:20:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5815C43D46 for ; Tue, 18 Jan 2005 06:20:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0I6KSmC063064 for ; Tue, 18 Jan 2005 06:20:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0I6KS9Z063063; Tue, 18 Jan 2005 06:20:28 GMT (envelope-from gnats) Resent-Date: Tue, 18 Jan 2005 06:20:28 GMT Resent-Message-Id: <200501180620.j0I6KS9Z063063@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Timothy J. lee" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4367616A4CE for ; Tue, 18 Jan 2005 06:17:09 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0572243D39 for ; Tue, 18 Jan 2005 06:17:09 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0I6H8wY072909 for ; Tue, 18 Jan 2005 06:17:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j0I6H8We072908; Tue, 18 Jan 2005 06:17:08 GMT (envelope-from nobody) Message-Id: <200501180617.j0I6H8We072908@www.freebsd.org> Date: Tue, 18 Jan 2005 06:17:08 GMT From: "Timothy J. lee" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: usb/76395: USB printer does not work, usbdevs says "addr 0 should never happen!" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 06:20:29 -0000 >Number: 76395 >Category: usb >Synopsis: USB printer does not work, usbdevs says "addr 0 should never happen!" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 18 06:20:27 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Timothy J. lee >Release: 5.3-RELEASE-p4 >Organization: >Environment: FreeBSD eozostrodon 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #2: Mon Jan 10 07:09:35 PST 2005 root@eozostrodon:/usr/src/sys/i386/compile/EOZOSTRODON i386 >Description: I have a PC (Asus A7M266 motherboard, AMD / VIA chipset) with FreeBSD 5.3-RELEASE-p4 (kernel is like GENERIC, but has eisa and a bunch of storage stuff removed, and sound and COMPAT_LINUX added -- no changes to USB stuff from GENERIC) with a USB printer (Brother HL-5050). USB printing to the same printer worked when the same computer had FreeBSD 4.8 on it. The computer's USB stuff in dmesg is (after booting up with the printer on): uhci0: port 0xb400-0xb41f irq 9 at device 4.2 on pci0 uhci0: [GIANT-LOCKED] 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 ulpt0: Brother HL-5050, rev 2.00/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode uhci1: port 0xb000-0xb01f irq 9 at device 4.3 on pci0 uhci1: [GIANT-LOCKED] 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 Now, when I boot up the computer with the printer on, or turn on the printer for the first time after booting up, usbdevs shows: addr 1: UHCI root hub, VIA addr 2: HL-5050, Brother addr 1: UHCI root hub, VIA Then when I cat a text file to /dev/unlpt0, the printer's green light turns yellow, but nothing gets printed out. When I cat a text file to /dev/ulpt0, the shell gets stuck (and the printer's light turns green). Afterward, usbdevs shows: addr 1: UHCI root hub, VIA addr 2: product 0x0017, Brother Industries addr 1: UHCI root hub, VIA (pausing a long time between the first and second lines). If the printer is turned off and turned back on, usbdevs then shows: addr 1: UHCI root hub, VIA addr 0 should never happen! addr 1: UHCI root hub, VIA and dmesg shows: uhub0: device problem, disabling port 1 Neither lpd nor CUPS works either. >How-To-Repeat: Power on computer with printer turned on. Try to print using cat, or set up lpr or CUPS and try to print. >Fix: >Release-Note: >Audit-Trail: >Unformatted: