From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 18:08:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD73A16A4CE for ; Wed, 12 Jan 2005 18:08:36 +0000 (GMT) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E8443D2F for ; Wed, 12 Jan 2005 18:08:36 +0000 (GMT) (envelope-from timlee@sonic.net) Received: from bolt.sonic.net (bolt.sonic.net [208.201.242.18]) by a.mail.sonic.net (8.12.11/8.12.11) with ESMTP id j0CI8aI5021396 for ; Wed, 12 Jan 2005 10:08:36 -0800 Received: from bolt.sonic.net (IDENT:timlee@localhost [127.0.0.1]) by bolt.sonic.net (8.12.10/8.12.1) with ESMTP id j0CI8av5012580 for ; Wed, 12 Jan 2005 10:08:36 -0800 Received: (from timlee@localhost) by bolt.sonic.net (8.12.10/8.12.1/Submit) id j0CI8afj012579; Wed, 12 Jan 2005 10:08:36 -0800 Date: Wed, 12 Jan 2005 10:08:36 -0800 From: timlee Message-Id: <200501121808.j0CI8afj012579@bolt.sonic.net> To: freebsd-questions@freebsd.org Subject: FreeBSD 5.3 USB printing problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 18:08:36 -0000 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. What else should I try? Timothy J. Lee (timlee@sonic.net)