HP LaserJet P1005 / P1007 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
P1005 with an Openwrt box [solved; corrupted file]
Posted by: bhaje ()
Date: July 09, 2008 11:07AM

Hi,

I'm trying to run a HP Laserjet P1005 with p910nd printserver on an Asus WL-500g with openwrt. I successfully did that with a Laserjet 1020 on the same machine before.

I'm using the hotplugd to transmitt the firmware to the printer, but that doesn't seem to work. My script tries to write the firmware with "cat $P1005FIRMWARE > /dev/usb/lp0" but that doesn't seem to work.

When using ./usb_printerid /dev/usb/lp0 from http://oleg.wl500g.info/hplj/ I get:

GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet P1005;CMD:ACL;CLS:PRINTER;DES:HP LaserJet P1005;

So it seems, that the firmware isn't transmitted successfully. It did work before with the 1020 printer, so I thought it should with the P1005.

Can you help me?

thanks Bjoern



Edited 2 time(s). Last edit at 03/03/2010 01:38PM by rickrich.

Options: ReplyQuote
Re: P1005 with an Openwrt box
Posted by: rickrich ()
Date: July 09, 2008 11:45AM

Your file is corrupted.

$ md5sum /usr/share/foo2xqx/firmware/sihpP1005.dl sihpP1005.dl 
ed18611a9c0c6c23b97d8c543fb2ec79  /usr/share/foo2xqx/firmware/sihpP1005.dl
87169d2606a44e186a4ed5d142da0c89  sihpP1005.dl

Options: ReplyQuote
Re: P1005 with an Openwrt box
Posted by: bhaje ()
Date: July 09, 2008 01:41PM

rickrich Wrote:
-------------------------------------------------------
> Your file is corrupted.

how do you know? ;-) But seems that you are right. Looks like a fault of openwrts wget. I'm getting different md5sums every time I download the file to my router with wget :-( As i don't have direct access in the moment, I can't test further. But you have two different md5sums as well:

> $ md5sum /usr/share/foo2xqx/firmware/sihpP1005.dl
> sihpP1005.dl
> ed18611a9c0c6c23b97d8c543fb2ec79
> /usr/share/foo2xqx/firmware/sihpP1005.dl
> 87169d2606a44e186a4ed5d142da0c89 sihpP1005.dl

which one should it be? Or would both be correct?

thanks for your help Bjoern

Options: ReplyQuote
Re: P1005 with an Openwrt box [corrupted file]
Posted by: rickrich ()
Date: July 09, 2008 01:54PM

You should build this yourself.

Follow ALL instructions.

$ md5sum /usr/share/foo2xqx/firmware/sihpP1005.dl
ed18611a9c0c6c23b97d8c543fb2ec79 /usr/share/foo2xqx/firmware/sihpP1005.dl

is correct.



Edited 1 time(s). Last edit at 07/09/2008 02:07PM by rickrich.

Options: ReplyQuote
Re: P1005 with an Openwrt box [corrupted file]
Posted by: bhaje ()
Date: July 10, 2008 03:29PM

rickrich Wrote:
-------------------------------------------------------
> You should build this yourself.

Did that, but I can't build on the openwrt machine, so I needed to transfer the file.
The solution is, to put the created .dl file into a tar archive, using sftp it didn't get corrupted. Any other way wasn't successful.

But finally it's working.

Thank you very much for your help and work

Bjoern

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.