HP LaserJet P1005 / P1007 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
usb_printerid behaving strangely [is a HP P1005, not a HP 1005; slamd64]
Posted by: business_kid ()
Date: October 13, 2009 08:32AM

Hi.

I had a HP P1005 set up but not used on this slamd64 box, and was helped to do that
http://foo2zjs.rkkda.com/forum/read.php?42,1922,1922

So when it started acting up, I found my own thread. I reinstalled completely as per web page(Not forgetting to donate this time), and everything is now seems fine, excep that usb_printerid /dev/usb/lp0 throws an error. I'm on kernel 2.6.30.5 here now, and /dev/usb/lp0 doesn't show - it isn't in /dev. I do have devices usbdevN.N

/dev/urandom /dev/usbdev1.2_ep01 /dev/usbdev2.2_ep00 /dev/usbdev2.2_ep83 /dev/usbdev3.2_ep00 /dev/usbdev5.1_ep00
/dev/usbdev1.1 /dev/usbdev1.2_ep81 /dev/usbdev2.2_ep02 /dev/usbdev2.2_ep84 /dev/usbdev3.2_ep81 /dev/usbdev5.1_ep81
/dev/usbdev1.1_ep00 /dev/usbdev2.1 /dev/usbdev2.2_ep03 /dev/usbdev3.1 /dev/usbdev4.1 /dev/usbdev6.1
/dev/usbdev1.1_ep81 /dev/usbdev2.1_ep00 /dev/usbdev2.2_ep04 /dev/usbdev3.1_ep00 /dev/usbdev4.1_ep00 /dev/usbdev6.1_ep00
/dev/usbdev1.2 /dev/usbdev2.1_ep81 /dev/usbdev2.2_ep81 /dev/usbdev3.1_ep81 /dev/usbdev4.1_ep81 /dev/usbdev6.1_ep81
/dev/usbdev1.2_ep00 /dev/usbdev2.2 /dev/usbdev2.2_ep82 /dev/usbdev3.2 /dev/usbdev5.1

These are c devices with major 189, or 253 if there's a string after the number. Minor numbers go from 0 to 640 in no perceptible pattern :-o. I'm guessing the 189s are hubs, the others are ports. Is /sys taking over?

What's the correct syntax now for usb_printerid?



Edited 3 time(s). Last edit at 10/13/2009 09:22AM by rickrich.

Options: ReplyQuote
Re: usb_printerid behaving strangely
Posted by: rickrich ()
Date: October 13, 2009 08:59AM

# usb_printerid /dev/usb/lp0

is right.

Remove "hplip". Power down and up the printer.

CUPS USB NOTES
--------------
If you are using the USB port, then the URI should be:
usb:/dev/usb/lp0
usb:/dev/usb/lp1
OR
usb://Samsung/CLP-310%20Series
usb://Samsung/CLP-310%20Series
usb://HP/Color%20LaserJet%20CP1215
usb://HP/Color%20LaserJet%202600n
usb://HP/LaserJet%201000
usb://HP/LaserJet%201005
usb://HP/LaserJet%201018
usb://HP/LaserJet%201020
usb://HP/LaserJet%20P1005
usb://HP/LaserJet%20P1006
usb://HP/LaserJet%20P1505

Don't use hp://<whatever> because that is for hplip (a closed source,
proprietary driver).



Edited 1 time(s). Last edit at 04/21/2010 03:16PM by rickrich.

Options: ReplyQuote
Re: usb_printerid behaving strangely [slamd64]
Posted by: rickrich ()
Date: October 13, 2009 09:02AM

$ ssh kathleen
Last login: Sat Oct 10 08:58:21 2009 from dual

[rick@kathleen ~]$ uname -a
Linux kathleen.rkkda.org 2.6.30.8-64.fc11.i586 #1 SMP Fri Sep 25 04:30:19 EDT 2009 i686 i686 i386 GNU/Linux

[rick@kathleen ~]$ usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1018;CMD:ACL;CLS:PRINTER;DES:HP LaserJet 1018;FWVER:20051028;
[rick@kathleen ~]$

Works good here in Fedora 11.

Options: ReplyQuote
Re: usb_printerid behaving strangely
Posted by: business_kid ()
Date: October 13, 2009 11:58AM

rickrich Wrote:
-------------------------------------------------------
> # usb_printerid /dev/usb/lp0
>
> is right.
>
> Remove "hplip". Power down and up the printer.
>

Thanks, rickrich. That did it.

They spell it 'hplip' on slamd64 anyhow. I didn't know it was there

NOW I have /dev/usb/lp0

That answers a few questions.



Edited 1 time(s). Last edit at 04/21/2010 03:16PM by rickrich.

Options: ReplyQuote


Sorry, you can't reply to this topic. It has been closed.
This forum powered by Phorum.