Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2021 15:18:29 -0800
From:      Konstantin Svist <fry.kun@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>, freebsd-usb@freebsd.org
Subject:   Re: Can't load firmware to HP LJ 1018
Message-ID:  <c40e3d6f-65c9-926f-79e6-c7468b41b869@gmail.com>
In-Reply-To: <96e7420b-5c75-f23a-ee8d-f1a6da12c48b@selasky.org>
References:  <e27106ea-a440-849d-e6b4-84d4524230b9@gmail.com> <96e7420b-5c75-f23a-ee8d-f1a6da12c48b@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c40e3d6f-65c9-926f-79e6-c7468b41b869>