Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 09:38:49 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: problem with usb printer
Message-ID:  <200903150938.49921.hselasky@c2i.net>
In-Reply-To: <permail-200903150155041e86ffa8000021b1-a_best01@message-id.uni-muenster.de>
References:  <permail-200903150155041e86ffa8000021b1-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 15 March 2009, Alexander Best wrote:
> i recompiled my kernel with the p4-files, but still nothing get's printed.
>
> this is what i get when attaching the device:
>
> ugen0.3: <Samsung Electronics Co., Ltd.> at usbus0
> ulpt_probe:472:
> ulpt_attach:498: sc=0xc5a4c900
> ulpt0: <Samsung Electronics Co., Ltd. Samsung ML-1510_700, class 0/0, rev
> 1.10/1.00, addr 3> on usbus0
> ulpt_attach:538: setting alternate config number: 0
> ulpt0: using bi-directional mode
>
> and this when i try to print something:
>
> ulpt_reset:164:
> ulpt_write_callback:203: state=0x0
> ulpt_write_callback:203: state=0x1
> ulpt_write_callback:203: state=0x1

Looks good.

Try also:

sysctl hw.usb2.dev.debug=15

While printing and see if there is a drain in the end!

>
> i also enabled debugging output in the cups config file, but that didn't
> reveal any errors.
>
> right now i'm trying to build a kernel with the old usb stack to see if the
> problem get's solved. if the problem then still exists cups must be causing
> the problems. unfortunately building the kernel with the old usb stack
> fails:

Did it work before?

The only thing I can imagine is that the flushing/drain mechanism is not 
working, after that the last byte has been written.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903150938.49921.hselasky>