HP LaserJet P1006 / P1008 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Cant make P1006 work in Arch Linux [solved]
Posted by: mrrs ()
Date: April 14, 2017 07:34PM

I think the problem is it is not loading the firmware to the printer, since the dir /usr/share/foo2xqx/firmware is empty



Edited 1 time(s). Last edit at 04/16/2017 11:36AM by rickrich.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 14, 2017 07:41PM

Do you do:
$ cd foo2zjs

$ make

$ ./getweb P1006
sihpP1006.img

(c) Copyright Hewlett-Packard 2009

$ su

# make install

# make install-hotplug

???

Works here:

$ ll /usr/share/foo2xqx/firmware/
total 684
-rw-r--r--. 1 root rick 222779 Apr 12 12:56 sihpP1005.dl
-rw-r--r--. 1 root rick 222891 Apr 12 12:56 sihpP1006.dl
-rw-r--r--. 1 root rick 249035 Apr 12 12:56 sihpP1505.dl

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: mrrs ()
Date: April 15, 2017 03:50PM

Just did everything again, the only thing that may be a problem is this:
--------------------------------------------
$ ./getweb P1006

gzip: stdin: not in gzip format
tar: Este não parece ser um arquivo-tar
tar: Exiting with failure status due to previous errors

(c) Copyright Hewlett-Packard 2009
--------------------------------------------


'ls /usr/share/foo2xqx/firmware/' shows nothing.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 04:22PM

What does this say:

$ wget --passive-ftp -q -O sihpP1006.tar.gz http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz

$ ls -l sihpP1006.tar.gz
-rw-rw-r--. 1 rick rick 153940 May 1 2010 sihpP1006.tar.gz



Edited 1 time(s). Last edit at 04/15/2017 04:24PM by rickrich.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: mrrs ()
Date: April 15, 2017 07:50PM

$ wget --passive-ftp -q -O sihpP1006.tar.gz http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz
****This command ends with no answer, i dont know if it was supposed to say something.

$ ls -l sihpP1006.tar.gz
-rwxrwxrwx 1 root root 225280 mai 1 2010 sihpP1006.tar.gz

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 08:23PM

No idea. Perhaps you are doing this as "root" instead of your user name?

Browse to http://foo2zjs.rkkda.com/firmware it shows this:
Index of /firmware

Icon  Name                    Last modified      Size  Description[PARENTDIR] Parent Directory                             -   
[   ] sihp1000.tar.gz         2010-05-01 10:11   49K  
[   ] sihp1005.tar.gz         2010-05-01 10:11   51K  
[   ] sihp1018.tar.gz         2010-05-01 10:11   69K  
[   ] sihp1020.tar.gz         2010-05-01 10:11   68K  
[   ] sihpP1005.tar.gz        2010-05-01 10:11  150K  
[   ] sihpP1006.tar.gz        2010-05-01 10:11  150K  
[   ] sihpP1505.tar.gz        2010-05-01 10:11  162K
sihpP1006.tar.gz is ~150K, not ~225K like you have.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: mrrs ()
Date: April 15, 2017 08:38PM

I did a: rm sihpP1006.tar.gz

than a ./getweb P1006 that resulted the same as before, and no sihpP1006.tar.gz appeared on the dir.

Than I download the sihpP1006.tar.gz the way you said and again it downloaded a 225k file owned by root.

Can I download it via firefox and do the rest after?

EDIT: Nevermind, i downloaded it via firefox, and the results were the same, a 225k root owned file.



Edited 1 time(s). Last edit at 04/15/2017 08:44PM by mrrs.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 08:57PM

What does:

$ file sihpP1006.tar.gz
sihpP1006.tar.gz: gzip compressed data, last modified: Sat May 1 14:11:11 2010, from Unix


say?

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 09:09PM

This is what firefox 52.0 download says:




Note is it 150 KB, not 225 KB like you have.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: mrrs ()
Date: April 15, 2017 09:23PM

$ file sihpP1006.tar.gz
sihpP1006.tar.gz: POSIX tar archive (GNU)

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 09:31PM

Something on your system is converting:

$ wget ... sihpP1006.tar.gz

to sihpP1006.tar but leaving the ".tar.gz" on the file instead. Thats a no-no.

This is why I don't recommend Arch linux.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 09:36PM

Try:

http://www.rkkda.com/tmp/sihpP1006.img

and put it in to foo2zjs. Then su, make install, make install-hotplug.



Edited 1 time(s). Last edit at 04/15/2017 09:45PM by rickrich.

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: mrrs ()
Date: April 15, 2017 09:41PM

What kind of thing could be doing this?

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: mrrs ()
Date: April 15, 2017 09:57PM

Now it is working, thank you rickrich.

If you allow me another questions about foo2zjs.
If in the future i decide to uninstall the driver, i can just download it again in another dir and do a 'make uninstall'? any more commands?

Options: ReplyQuote
Re: Cant make P1006 work in Arch Linux
Posted by: rickrich ()
Date: April 15, 2017 09:58PM

Doing in a Arch linux virtualbox (Arch linux around 2014):

[rick@antergos foo2zjs]$ uname -a
Linux antergos 3.17.3-1-ARCH #1 SMP PREEMPT Fri Nov 14 23:13:48 CET 2014 x86_64 GNU/Linux

[rick@antergos foo2zjs]$ ./getweb P1006
sihpP1006.img

(c) Copyright Hewlett-Packard 2009

[rick@antergos foo2zjs]$

Options: ReplyQuote


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