From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 16:11:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418CB1065676 for ; Sun, 1 Nov 2009 16:11:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 991778FC14 for ; Sun, 1 Nov 2009 16:11:55 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=1nTmeiNMJWEA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=5B89tSi2AAAA:8 a=OoS1x4lAnu3a2C6149kA:9 a=qJmjsjAdcmiOgKTqN-wA:7 a=Fj3keuRJBCyapXe9lEPl2eemd-cA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1314531403; Sun, 01 Nov 2009 17:11:53 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 1 Nov 2009 17:13:06 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpO< =?utf-8?q?Q0yAl=7E=3F=60=27F=3FjDVb=5DE6TQ7=27=23h-VlLs=7Dk/=0A=09?=(yxg(p!IL.`#ng"%`BMrham7%UK,}VH\wUOm=^>wEEQ+KWt[{J#x6ow~JO:,zwp.(t; @ =?utf-8?q?Aq=0A=09=3A4=3A=26nFCgDb8=5B3oIeTb=5E=27?=",; u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200911011713.07994.hselasky@c2i.net> Cc: Subject: Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 16:11:57 -0000 On Sunday 01 November 2009 15:58:50 Ond=C5=99ej Majerech wrote: > Hello list, > > I had my HP P1005 printer working just fine under 7.2-RELEASE, but I > just updated to 8.0-RC2 and the driver doesn't seem to like the new > USB stack. How did you update? Did you recompile foo2xqx ? > > I was using the foo2xqx driver [ http://foo2xqx.rkkda.com/ ] -- with > this driver, the firmware needs to be sent to the printer each time it > is turned on, like this: cat sihpP1005.dl > /dev/ugen0.0. You need to specify the endpoint. ugenX.0 is the control endpoint. > Now, according to dmesg, the printer is now known as device > /dev/ugen2.2, but I can't send the firmware to it (and I can't send > the firmware to any other ugen* device either): > > cat sihpP1005.dl > /dev/ugen2.2 > cat: stdout: Input/output error > > (Trying the same as root or with sudo doesn't make any difference.) > > My /etc/devfs.rules: > > add path 'da*' mode 0660 group operator > add path 'usb' mode 0777 > add path 'usb/*' mode 0666 > add path 'usbctl' mode 0666 > add path 'ugen*' mode 0777 > > ls -lh /dev/ugen* with the printer connected and turned on: > > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen0.1 -> usb/0.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen1.1 -> usb/1.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen2.1 -> usb/2.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 20:31 /dev/ugen2.2 -> usb/2.2.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen3.1 -> usb/3.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen4.1 -> usb/4.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen5.1 -> usb/5.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen6.1 -> usb/6.1.0 > > Googling around for possible solutions didn't turn up anything > successful for me. I asked on the FreeBSD Forums and was told to turn > on debug informations on ugen by sysctl hw.usb.ugen.debug=3D1 -- I did, > but I don't see anything new in dmesg or /var/log/messages -- maybe I > don't know where to look? > > Anyway, any suggestions? =2D-HPS