ulpt problem (USB_ERR_IOERROR)
Patrick Lamaiziere
patfbsd at davenulle.org
Sat Jul 4 07:07:13 UTC 2009
Le Fri, 3 Jul 2009 19:29:15 +0200,
Hans Petter Selasky <hselasky at c2i.net> a écrit :
...
> > It looks like there are some problems even with the first job (I
> > missed this point before).
> >
> > ulpt0: using bi-directional
> > ulpt_write_callback:220: state=0x0 actlen=0
> > ulpt_write_callback:220: state=0x1 actlen=2889
> > ulpt_write_callback:220: state=0x1 actlen=3023
> > ...
> > ulpt_status_callback:352: error=USB_ERR_STALLED
> > ulpt_write_callback:220: state=0x1 actlen=16384
> > ulpt_write_callback:220: state=0x1 actlen=16384
>
> At this point it looks like the firmware crashes, when the error code
> changes from STALLED to IOERROR.
>
> Are you sure the .ps/.pcl file is not corrupt?
Yes I print the cups' test page, I've reinstalled all cupds, foomatic
and hpijs just to be sure.
> > If it can help, I can compare with FreeBSD 7.2.
>
> Yes, that might give some more clues.
On 7.2 (but not on the same hardware):
ulptopen: flags=0x40
ulpt_open: open input pipe
ulpt_open: start read callout
ulptopen: done, error=0
ulpt_tick: start sc=0xc6fae000
ulpt_tick: err=1
ulpt_read_cb: start sc=0xc6fae000, err=0 n=0
ulpt_tick: start sc=0xc6fae000
ulpt_tick: err=1
ulpt_read_cb: start sc=0xc6fae000, err=0 n=0
ulptwrite
ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes
ulptwrite
ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes
ulptwrite
ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes
ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes
ulptwrite
ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes
ulpt_tick: start sc=0xc6fae000
ulpt_tick: err=1
ulpt_read_cb: start sc=0xc6fae000, err=0 n=0
ulpt_status: status=0x18 err=0
ulptwrite: transfer 4096 bytes
...
ulptclose: closed
I've tried to change ULPT_BSIZE to 4096 (ulpt.c) on Current but there
are still some "USB_ERR_IOERROR". No luck.
Thanks!
More information about the freebsd-current
mailing list