Re: HPLIP ugen
Lars Eighner wrote: On Sat, 1 Sep 2007, Brian Wagener wrote: When using HPLIP your usb printer has to use the ugen driver in order for all printing/scanning/status functionality to be present. The problem is, my printer loads as a umass device so it doesn't get detected by hplip. Does anyone know of a workaround for this? Is there anyway to force my printer to use ugen instead of umass? I can't just remove umass because other devices require it. The only way is to use a kernel built without umass (and without ulpt). If you can boot without umass, you can load umass from the command line (using kldload) after the printer is attached. Although I have not actually tried Hmmm, there might be two methods to implement a more user- friendly behaviour: 1) Make umass ignore the device 2) Make ugen accept it with higher priority than umass For 1) the umass driver should get a DONOTATTACH quirk, which then lets ugen gain control. But if anybody wanted to use the umass driver with that printer (e.g. if he is only interested in reading from the built-in card reader and does not want to print anything), this would not be possible (without installation of HPLIP, that is). If the device was grabbed by ulpt (if umass does not want it, then it must be black-listed in both, but I do not expect this to be the case). Variant 2) would need a device table and support for scanning it to be added to ugen. Devices that are best served by ugen could be entered to that list, to prevent other drivers from taking precedence. This does not seem such an uncommon situation and might also be useful for device protocol tests, for example. Device hints could be used to control this feature for specific devices. Either variant is workable (but 1) is easier to implement). It may be counter-intuitive for a device to be added to a driver that is *not* meant to be used to control it ... Regards, STefan ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
HPLIP ugen
When using HPLIP your usb printer has to use the ugen driver in order for all printing/scanning/status functionality to be present. The problem is, my printer loads as a umass device so it doesn't get detected by hplip. Does anyone know of a workaround for this? Is there anyway to force my printer to use ugen instead of umass? I can't just remove umass because other devices require it. Thanks. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HPLIP ugen
On Sat, 1 Sep 2007, Brian Wagener wrote: When using HPLIP your usb printer has to use the ugen driver in order for all printing/scanning/status functionality to be present. The problem is, my printer loads as a umass device so it doesn't get detected by hplip. Does anyone know of a workaround for this? Is there anyway to force my printer to use ugen instead of umass? I can't just remove umass because other devices require it. The only way is to use a kernel built without umass (and without ulpt). If you can boot without umass, you can load umass from the command line (using kldload) after the printer is attached. Although I have not actually tried it, I believe you have to unload umass if for some reason you printer is detached and you want to reattach it. If your printer has a card device, it will work with HPLIP, so you don't need umass for your camera, if it uses a supported type of card. If you must have a umass device to boot, you're screwed, but you probably can get your printer to print with HPIJS. I have personally tested using a kernel without umass (and of course without ulpt) to boot in order to successfully attach a psc 1350 (which registers electronically as a 1300), then loading umass to use with an Olympus camera. The result was everything was fully functional (but FAX was not tested). Of course it was pointless to attach the Olympus as the psc 1350 will read Olympus cards, but it seems to demonstrate that (some? many? most?) umass devices will work this way. Of course most people will not mind the loss of ulpt if their printer works with ugen, but the loss of umass is more serious. There seems to be some awareness among the port maintainers that this is a serious problem There is a certain logic to having the more specific ports grab a device if they can before the general port gets a shot --- except it doesn't work out so well in this case, so I have no idea whether a fix is on the horizen. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]