Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 04:05:32 -0200
From:      m0f0x <el.mofo@uol.com.br>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB printer problem (/dev/lpt0: Device busy.)
Message-ID:  <20061019040532.8def778c.el.mofo@uol.com.br>
In-Reply-To: <20061018.234621.-490996632.imp@bsdimp.com>
References:  <20061019032602.77037ed2.el.mofo@uol.com.br> <20061018.234621.-490996632.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@bsdimp.com> wrote:

> In message: <20061019032602.77037ed2.el.mofo@uol.com.br>
>             m0f0x <el.mofo@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061019040532.8def778c.el.mofo>