DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th July 2008
Shagbag Shagbag is offline
New User
 
Join Date: Jul 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default How do I manually load firmware in OpenBSD?

I have an HP LaserJet 1018 that does not have persistent firmware. Instead, I must upload the firmware to the printer every time it is switched on. I have the firmware file ("sihp1018.dl") but I do not know how to load it to /dev/ulpt0 (the printer's device node).

In linux it would be a simple case of cat sihp1018.dl > /dev/ulpt0 but I cannot seem to do this in OpenBSD.

How do I manually load firmware in OpenBSD?
Reply With Quote
  #2   (View Single Post)  
Old 8th July 2008
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 801
Thanked 36 Times in 32 Posts
Default

Do yourself a favor next time and get the printer which speaks Post Script language or at list Printer Command Language. For now try this


Reboot computer with the option
Code:
boot> -c
disable ulpt
quit

Your printer should be detected now by kernel as ugen device
Now try to upload your firmware as

Code:
# cat /usr/local/share/foo2zjs/firmware/sihp1018.dl > /dev/ugen0
Make sure you have correct permission on /dev/ugen and /dev/usb so that the CUPS
can access. The damn thing should work then.
Reply With Quote
  #3   (View Single Post)  
Old 8th July 2008
Shagbag Shagbag is offline
New User
 
Join Date: Jul 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default

Thanks for the advice. It appeared to send the firmware to /dev/ugen0 but when I printed, the job was sent to a black hole with no error messages. For some reason, I don't think the firmware is getting to the printer properly. If I unplug the printer and plug it into my Archlinux box the (linux) hotplug script works and I can actually hear the printer crank up from the firmware. I don't get this sound with OpenBSD.

I'm coming close to giving up on this and thinking about going with a less than optimal solution: load the firmware on the printer via Archlinux, then disconnect+connect the printer to my OpenBSD box and then just don't turn my printer off!
Reply With Quote
  #4   (View Single Post)  
Old 18th September 2008
ayourk ayourk is offline
New User
 
Join Date: Sep 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default

Since you are using an HP printer, I'm going to suggest you consider using hplip from ports.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
It's necesary to use firmware configuring rum or zyd? ximo FreeBSD General 7 8th July 2009 10:05 AM
wpi firmware Intel eula plouk NetBSD General 7 4th July 2009 04:14 AM
FreeBSD 7.1 Rel install on 1TB won't load bsdme2 FreeBSD General 0 5th January 2009 01:58 AM
pf, hfsc and load balancing hamba FreeBSD Security 5 15th October 2008 10:08 PM
location for wpi-firmware-.tgz bsdnewbie999 OpenBSD General 1 18th June 2008 04:20 AM


All times are GMT. The time now is 06:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick