Date: Thu, 24 May 2007 15:37:13 +0200 From: Peter van Heusden & <pvh@wfeet.za.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: usb/112944: [patch] Bi-directional access to HP LaserJet 1010 printer on USB seems faulty Message-ID: <E1HrDVB-0000u8-23@leftside.wfeet.za.net> Resent-Message-ID: <200705241440.l4OEe2HX080475@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112944 >Category: usb >Synopsis: [patch] Bi-directional access to HP LaserJet 1010 printer on USB seems faulty >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 24 14:40:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Peter van Heusden & >Release: FreeBSD 6.2-STABLE i386 >Organization: Webbed Feet >Environment: System: FreeBSD leftside.wfeet.za.net 6.2-STABLE FreeBSD 6.2-STABLE #5: Thu May 24 08:13:46 SAST 2007 pvh@leftside.wfeet.za.net:/usr/obj/usr/src/sys/LEFTSIDE i386 FreeBSD 6-STABLE as of 23 May 2007 Intel Celeron 768 MHz, 256 MB RAM USB: dmesg output: uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 4.2 on pci0 uhci0: [GIANT-LOCKED] usb0: <VIA 83C572 USB controller> 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 uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 11 at device 4.3 on pci0 uhci1: [GIANT-LOCKED] usb1: <VIA 83C572 USB controller> 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 ... ulpt0: Hewlett-Packard hp LaserJet 1010, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: using uni-directional mode usbdevs -v output: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, hp LaserJet 1010(0x0c17), Hewlett-Packard(0x03f0), rev 1.00 Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 powered >Description: CUPS on FreeBSD interacts badly with the HP LaserJet 1010 printer since it tries to read bytes from /dev/ulpt when select() claims they are available, yet hangs on read. Disabling bidirectional printing solves this problem. >How-To-Repeat: Try to read from /dev/ulpt0 when a HP LaserJet 1010 is attached. >Fix: Patch attached. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HrDVB-0000u8-23>