HP LaserJet 1000 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
HP1000 on OpenBSD4.1
Posted by: pc1oad1etter ()
Date: October 13, 2007 01:04AM

I have been attempting to get my HP Laserjet 1000 printer working with a new installation of OpenBSD4.1 . So far I'm ready to throw the computer out of the window.

I have tried to follow the installation instructions. One deviation is that there is not a hotplug port on OpenBSD. I was able to download and unpack the driver you provide, as well as getweb -ing the firmware. When I try to cat the firmware to the USB port, I can a std in / out error.:

$ cat sihp1000.dl > /dev/ulpt0
cat: stdout: Input/output error
$ sudo cat sihp1000.dl > /dev/ulpt0
Password:
cat: stdout: Input/output error

I have a snip of the error log here, if I could put it as an attachment I would but I don't see a way to do that. In the interest of getting you as much info as possible, I'm going to put it here:



------snip1
I [12/Oct/2007:19:17:22 -0500] Job 9 queued on "hplaserjet1000-2" by "root".
D [12/Oct/2007:19:17:22 -0500] Job 9 hold_until = 0
D [12/Oct/2007:19:17:22 -0500] Discarding unused printer-state-changed event...
D [12/Oct/2007:19:17:22 -0500] job-sheets=none,none
D [12/Oct/2007:19:17:22 -0500] banner_page = 0
D [12/Oct/2007:19:17:22 -0500] [Job 9] argv[0]="hplaserjet1000-2"
D [12/Oct/2007:19:17:22 -0500] [Job 9] argv[1]="9"
D [12/Oct/2007:19:17:22 -0500] [Job 9] argv[2]="root"
D [12/Oct/2007:19:17:22 -0500] [Job 9] argv[3]="Test Page"
--------snip2
I [12/Oct/2007:19:17:22 -0500] Started filter /usr/local/libexec/cups/filter/pstops (PID 2968) for job 9.
I [12/Oct/2007:19:17:22 -0500] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 32628) for job 9.
I [12/Oct/2007:19:17:22 -0500] Started backend /usr/local/libexec/cups/backend/usb (PID 10129) for job 9.
D [12/Oct/2007:19:17:22 -0500] Discarding unused job-state event...
D [12/Oct/2007:19:17:22 -0500] cupsdProcessIPPRequest: 15 status_code=0 (successful-ok)
----------snip3
D [12/Oct/2007:19:17:22 -0500] PID 17024 (/usr/local/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
E [12/Oct/2007:19:17:22 -0500] PID 10129 (/usr/local/libexec/cups/backend/usb) stopped with status 1!
E [12/Oct/2007:19:17:22 -0500] [Job 9] Unable to open USB device "usb:/dev/ulpt0": Permission denied
D [12/Oct/2007:19:17:22 -0500] Discarding unused printer-state-changed event...

-----snip4
D [12/Oct/2007:19:17:27 -0500] Discarding unused job-progress event...
D [12/Oct/2007:19:17:30 -0500] [Job 9] KID4 exited with status 9
D [12/Oct/2007:19:17:30 -0500] [Job 9] Process dying with "error closing *main::STDOUT", exit stat: 9
D [12/Oct/2007:19:17:30 -0500] [Job 9] Renderer exit stat: 9
D [12/Oct/2007:19:17:30 -0500] [Job 9] error closing *main::STDOUT
D [12/Oct/2007:19:17:30 -0500] [Job 9] KID3 finished
D [12/Oct/2007:19:17:30 -0500] [Job 9] Renderer process finished
D [12/Oct/2007:19:17:30 -0500] [Job 9] Killing process 19360 (KID3)
D [12/Oct/2007:19:17:30 -0500] [Job 9] Process dying with "Error closing renderer", exit stat: 9
D [12/Oct/2007:19:17:30 -0500] [Job 9] Error closing renderer
E [12/Oct/2007:19:17:31 -0500] PID 32628 (/usr/local/libexec/cups/filter/foomatic-rip) stopped with status 9!
D [12/Oct/2007:19:17:31 -0500] [Job 9] File 0 is complete.
I [12/Oct/2007:19:17:31 -0500] [Job 9] Backend returned status 1 (failed)
D [12/Oct/2007:19:17:31 -0500] Discarding unused printer-state-changed event...
D [12/Oct/2007:19:17:31 -0500] Discarding unused printer-state-changed event...
I [12/Oct/2007:19:17:31 -0500] Saving printers.conf...
D [12/Oct/2007:19:17:31 -0500] Discarding unused job-stopped event...
D [12/Oct/2007:19:17:32 -0500] Unloading job 9...
D [12/Oct/2007:19:17:32 -0500] cupsdReadClient: 10 GET /admin/log/error_log HTTP/1.1
D [12/Oct/2007:19:17:32 -0500] cupsdReadClient: 10 Browser asked for language "en-US.utf-8"...
D [12/Oct/2007:19:17:32 -0500] cupsdAuthorize: username="root"
-------


It looks like it may be permissions on the usb device. I tried to add read rights to the others as you see here:

$ sudo chmod u+r /dev/ulpt0
$ ls -la /dev/ulpt0
crw-rw---- 1 root wheel 64, 0 Oct 12 18:37 /dev/ulpt0
$ sudo chmod o+r /dev/ulpt0
$ ls -la /dev/ulpt0
crw-rw-r-- 1 root wheel 64, 0 Oct 12 18:37 /dev/ulpt0
$ ls -la /dev/ulpt0
crw-rw-r-- 1 root wheel 64, 0 Oct 12 18:37 /dev/ulpt0
$

any thoughts here?

I appreciate any help possible!

Thanks,
Nick

Options: ReplyQuote
Re: HP1000 on OpenBSD4.1
Posted by: pc1oad1etter ()
Date: October 13, 2007 02:04AM

some more info that i thought might be helpful.
$ gs
GPL Ghostscript 8.54 (2006-05-17)

$ pkg_info ghostscript
Information for ghostscript-8.54p0

$ pkg_info cups
Information for cups-1.2.7

$ lpinfo -v
network socket
network http
network ipp
network lpd
direct usb:/dev/ulpt0
direct usb:/dev/ulpt1

Strangely, when I plug into one USB port I get this error:
$ lpstat -p -d
printer class is idle. enabled since Thu Oct 11 21:16:57 2007
printer HPLaserJet1000 is idle. enabled since Fri Oct 12 17:31:00 2007
printer hplaserjet1000-2 now printing hplaserjet1000-2-16. enabled since Fri Oct 12 19:58:56 2007
/usr/local/libexec/cups/backend/usb failed
no system default destination

but when I plug into the other port (and change the cups configuration to point to it) I get this error:
$ lpstat -p -d
printer class is idle. enabled since Thu Oct 11 21:16:57 2007
printer HPLaserJet1000 is idle. enabled since Fri Oct 12 17:31:00 2007
printer hplaserjet1000-2 now printing hplaserjet1000-2-16. enabled since Fri Oct 12 19:58:56 2007
/usr/local/libexec/cups/backend/usb failed
no system default destination


$ /usr/local/libexec/cups/backend/usb
direct usb:/dev/ulpt0 "Unknown" "USB Printer #1"
direct usb:/dev/ulpt1 "Unknown" "USB Printer #2"
$

Options: ReplyQuote
Re: HP1000 on OpenBSD4.1
Posted by: rickrich ()
Date: October 13, 2007 05:58AM

first you should build the kernel without ulpt driver.
then you should get foo2zjs and follow the instructions in the readme file. if you'll have any questions - report me!

--
With best regards, Alexander Sashurin a.k.a. ZetRooT or WinterSilence
- - - - - - - - - - - - - - - - - - - | Mailto: alexander.sashurin@xxxxxxxxx |
| ICQ: 258820442 |
| Mobile: +7-916-195-89-11 |
| irc: irc.wenet.ru, _ZetRooT_ |
- - - - - - - - - - - - - - - - - - -

Options: ReplyQuote


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