Date: Sat, 4 Jul 2009 09:07:03 +0200 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: freebsd-current@freebsd.org Cc: Hans Petter Selasky <hselasky@c2i.net> Subject: Re: ulpt problem (USB_ERR_IOERROR) Message-ID: <20090704090703.1b26dce1@baby-jane.lamaiziere.net> In-Reply-To: <200907031929.17327.hselasky@c2i.net> References: <20090703172600.1971111e@baby-jane.lamaiziere.net> <200907031756.55253.hselasky@c2i.net> <20090703185233.4f7e4a65@baby-jane.lamaiziere.net> <200907031929.17327.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Fri, 3 Jul 2009 19:29:15 +0200, Hans Petter Selasky <hselasky@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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090704090703.1b26dce1>
