On Fri, Jan 25, 2013 at 04:00:51PM +0100, Martin Pieuchot wrote: > On 25/01/13(Fri) 15:11, Stefan Sperling wrote: > > Printers using the foo2zjs driver (in ports/print/foo2zjs) need > > to attach as ugen so that a firmware file can be downloaded to > > them with a command such as 'cat firmware.dl > /dev/ugen0.01". > > > > I got a HP LaserJet 1020 which needs this driver, and currently > > attaches as ulpt(4) which doesn't work. It is possible to make it > > appear as ugen(4) by disabling ulpt(4) but I'd rather just have > > the kernel do the right thing by default. > > But if you do that you can't use your printer through ulpt(4)?
Yes I was going to mention this. And I never use ulpt but ugen :) > > Currently this only adds a quirk for my printer. If this diff goes > > in I'll later add more printers listed at > > http://www.openprinting.org/driver/foo2zjs/ > > once I've obtained their device IDs. > > > > Is this fine? > > What about modifying ulpt(4) to upload the correct firmware like > uvideo(4) does? Something like this would be much better. -- Antoine
