Re: ulpt problem (USB_ERR_IOERROR)

From: Patrick Lamaiziere <patfbsd_at_davenulle.org>
Date: Sat, 4 Jul 2009 09:07:03 +0200
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!
Received on Sat Jul 04 2009 - 05:07:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC