USB printer problem (/dev/lpt0: Device busy.)

m0f0x el.mofo at uol.com.br
Thu Oct 19 06:05:41 UTC 2006


No success:
	lptest > /dev/ulpt0
	/dev/ulpt0: Device busy.

No related messages on dmesg were displayed. If you want I can send my
verbose dmesg.

Warner, can you send me the updated patch (maybe I'm using a wrong
version)? I can't compile de ulpt module...

/usr/src/sys/modules/ulpt/../../dev/usb/ulpt.c: In function `ulptopen':
/usr/src/sys/modules/ulpt/../../dev/usb/ulpt.c:512: warning: unused
variable `spin' *** Error code 1

Stop in /usr/src/sys/modules/ulpt.

Many thanks,
Thiago.

On Wed, 18 Oct 2006 23:46:21 -0600 (MDT)
"M. Warner Losh" <imp at bsdimp.com> wrote:

> In message: <20061019032602.77037ed2.el.mofo at uol.com.br>
>             m0f0x <el.mofo at uol.com.br> writes:
> : Well, I even tried to use a proposed patch to ulpt.c
> 
> I'm unsure how you can still get device busy with this patch...
> 
> Is there any thing in dmesg when you run the lptest program?
> 
> Finally, maybe you can try /dev/ulpt0 rather than /dev/lpt0?  The ulpt
> device creates this instead of /dev/lpt0...
> 
> Warner


More information about the freebsd-usb mailing list