Hi all, how can I force my system (6.1-STABLE) to create a ugen device for my printer? My printer, a HP PSC 1610 is recognized as a ulpt device and the cardreader on it as umass. Printing on the ultp device works fine, but I cannot use the scanner function with sane. I tried the hplip driver (/usr/ports/printing/hplip) to solve the scanning problem, but it only works on ugen devices. When I kldunload the ulpt and umass modules from my kernel before connecting the printer, it creates a ugen device and everything works fine. My problem is, that I need at least the umass module for USB sticks and my external harddisk. So my question is, can I configure devd or something else to not create a ulpt and umass device for my printer but create a ugen device (maybe by matching the vendor ID of the printer)? Thanks, Christian Schade -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060629/6458821a/signature.pgp
On Thursday 29 June 2006 16:01, Christian Schade wrote:> Hi all, > > how can I force my system (6.1-STABLE) to create a ugen device for > my printer? > > My printer, a HP PSC 1610 is recognized as a ulpt device and the > cardreader on it as umass. Printing on the ultp device works fine, > but I cannot use the scanner function with sane. I tried the hplip > driver (/usr/ports/printing/hplip) to solve the scanning problem, > but it only works on ugen devices. When I kldunload the ulpt and > umass modules from my kernel before connecting the printer, it > creates a ugen device and everything works fine.I'm working on enhancing the relability of the hpiod interaction, but I am running low on time right now.> > My problem is, that I need at least the umass module for USB sticks > and my external harddisk. So my question is, can I configure devd > or something else to not create a ulpt and umass device for my > printer but create a ugen device (maybe by matching the vendor ID > of the printer)?So if you don't kldload ulpt, but kldload umass you don't get some ugen endpoints and a umass device? Would you provide a the output of "usbdevs -vvv". Thanks, -- Anish Mistry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060630/72889d64/attachment.pgp
Anish Mistry wrote:> Have you tried to boot without ulpt loaded? ie. remove > ulpt_load="YES" from your /boot/loader.confYes, but then the system creates only the umass devices for the cardreader and still no ugen for "the rest" of the printer. Sincerly, Christian Schade -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060630/8917860a/signature.pgp