Can't load firmware to HP LJ 1018
Konstantin Svist
fry.kun at gmail.com
Mon Feb 1 23:18:34 UTC 2021
On 2/1/21 00:09, Hans Petter Selasky wrote:
> On 2/1/21 6:30 AM, Konstantin Svist wrote:
>> I'm trying to set up HP LaserJet 1018 which requires some binary
>> firmware download on each powerup (documented in foo2zjs
>> https://github.com/koenkooi/foo2zjs/blob/master/INSTALL)
>> I've set up devd rule but it didn't work.. so I tried to do it manually:
>>
>> (as root user):
>>
>>> usbconfig dump_info:
>> ugen0.4: <Hewlett-Packard HP LaserJet 1018> at usbus0, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=ON (98mA)
>>
>>> cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/ugen0.4
>> cat: stdout: Input/output error
>>
>> How do I get this working?
>>
>
> Did the command you show work before?
>
> Likely you need a firmware tool using LibUSB to get this working right!
>
> You can try:
>
> /dev/usb/0.4.<EPNO> instead.
>
> --HPS
>
Hmm.. what is EPNO?
Now that you mention it, I see /dev/usb/0.4.[01]. Only tried writing to
/dev/usb/0.4.0 before. Will try that and send an update with the results!
I've only done this in Linux before, but the link I mentioned earlier
seems to be doing same/similar step for FreeBSD.
More information about the freebsd-usb
mailing list