|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2Hello 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. 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. 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=1 -- 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? ~ Ondra _______________________________________________ freebsd-usb@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..." |
|
|
Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2On Sunday 01 November 2009 15:58:50 Ondřej 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=1 -- 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? --HPS _______________________________________________ freebsd-usb@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..." |
|
|
Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC22009/11/1 Hans Petter Selasky <hselasky@...>:
> On Sunday 01 November 2009 15:58:50 Ondřej 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? Source update -- csup'd to RELENG_8, then followed the instructions in Handbook. > > Did you recompile foo2xqx ? Yes. Actually, I did pkg_delete -a and then rebuilt everything from scratch. ~ Ondra _______________________________________________ freebsd-usb@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..." |
|
|
Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2On Sunday 01 November 2009 18:32:39 Ondřej Majerech wrote:
> 2009/11/1 Hans Petter Selasky <hselasky@...>: > > On Sunday 01 November 2009 15:58:50 Ondřej 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? > > Source update -- csup'd to RELENG_8, then followed the instructions in > Handbook. > > > Did you recompile foo2xqx ? > > Yes. Actually, I did pkg_delete -a and then rebuilt everything from > scratch. > > ~ Ondra If you need to cat some firmware somwhere first, then check: /dev/usb/X.Y.Z, where Z is the endpoint. --HPS _______________________________________________ freebsd-usb@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..." |
|
|
Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC22009/11/1 Hans Petter Selasky <hselasky@...>:
> On Sunday 01 November 2009 18:32:39 Ondřej Majerech wrote: >> 2009/11/1 Hans Petter Selasky <hselasky@...>: >> > On Sunday 01 November 2009 15:58:50 Ondřej 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? >> >> Source update -- csup'd to RELENG_8, then followed the instructions in >> Handbook. >> >> > Did you recompile foo2xqx ? >> >> Yes. Actually, I did pkg_delete -a and then rebuilt everything from >> scratch. >> >> ~ Ondra > > If you need to cat some firmware somwhere first, then check: > > /dev/usb/X.Y.Z, where Z is the endpoint. > Wow, this was much easier than I'd thought. cat'ing the firmware to /dev/usb/2.2.1 indeed did the trick. Thanks for the help. ~ Ondra _______________________________________________ freebsd-usb@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |