Re: disabling ulpt for a single device

2008-10-18 Thread Mike Meyer
On Sat, 18 Oct 2008 07:33:18 -0500
Zane C.B. [EMAIL PROTECTED] wrote:

 Is there any way to disable ulpt for a single device? I have one
 device that needs to be recognized as a ugen device by hplip, but
 unfortunately I also desire to keep the ulpt module in place.

No. Further, that's not good enough in general - I only have one USB
printer, but it's got card readers, and hence gets recognized as a da
device, which means no ugen even if I take ulpt out of the kernel,
which means hplip won't work with it.

The usb2 stack should solve all of this by providing a ugen anyway,
but I haven't had time to try it out (the scanner is way down my
project list).


  mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disabling ulpt for a single device

2008-10-18 Thread Zane C.B.
On Sat, 18 Oct 2008 12:31:10 -0400
Mike Meyer [EMAIL PROTECTED] wrote:

 On Sat, 18 Oct 2008 07:33:18 -0500
 Zane C.B. [EMAIL PROTECTED] wrote:
 
  Is there any way to disable ulpt for a single device? I have one
  device that needs to be recognized as a ugen device by hplip, but
  unfortunately I also desire to keep the ulpt module in place.
 
 No. Further, that's not good enough in general - I only have one USB
 printer, but it's got card readers, and hence gets recognized as a
 da device, which means no ugen even if I take ulpt out of the
 kernel, which means hplip won't work with it.
 
 The usb2 stack should solve all of this by providing a ugen anyway,
 but I haven't had time to try it out (the scanner is way down my
 project list).

On another note, I came across '/boot/device.hints' and it turns out
it is not respected by 'ulpt'. I could not disable it by setting
'hint.ulpt.0.disabled=1'.


signature.asc
Description: PGP signature


Re: disabling ulpt for a single device

2008-10-18 Thread Torfinn Ingolfsen
On Sat, 18 Oct 2008 12:31:10 -0400
Mike Meyer [EMAIL PROTECTED] wrote:

 No. Further, that's not good enough in general - I only have one USB
 printer, but it's got card readers, and hence gets recognized as a da
 device, which means no ugen even if I take ulpt out of the kernel,
 which means hplip won't work with it.

But it will get recognized if you compile umass as a module and don't
load it at boot.
Granted, it is a small hassle to do 'kldload umass' before using any
usb storage devices.
-- 
Torfinn

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]