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 =E9crit : ... > > 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=3D0x0 actlen=3D0 > > ulpt_write_callback:220: state=3D0x1 actlen=3D2889 > > ulpt_write_callback:220: state=3D0x1 actlen=3D3023 > > ... > > ulpt_status_callback:352: error=3DUSB_ERR_STALLED > > ulpt_write_callback:220: state=3D0x1 actlen=3D16384 > > ulpt_write_callback:220: state=3D0x1 actlen=3D16384 >=20 > At this point it looks like the firmware crashes, when the error code > changes from STALLED to IOERROR. >=20 > 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. >=20 > Yes, that might give some more clues. On 7.2 (but not on the same hardware): ulptopen: flags=3D0x40 ulpt_open: open input pipe ulpt_open: start read callout=20 ulptopen: done, error=3D0=20 ulpt_tick: start sc=3D0xc6fae000=20 ulpt_tick: err=3D1=20 ulpt_read_cb: start sc=3D0xc6fae000, err=3D0 n=3D0=20 ulpt_tick: start sc=3D0xc6fae000 ulpt_tick: err=3D1=20 ulpt_read_cb: start sc=3D0xc6fae000, err=3D0 n=3D0 ulptwrite=20 ulpt_status: status=3D0x18 err=3D0=20 ulptwrite: transfer 4096 bytes ulptwrite ulpt_status: status=3D0x18 err=3D0=20 ulptwrite: transfer 4096 bytes ulpt_status: status=3D0x18 err=3D0 ulptwrite: transfer 4096 bytes ulptwrite=20 ulpt_status: status=3D0x18 err=3D0 ulptwrite: transfer 4096 bytes ulpt_status: status=3D0x18 err=3D0 ulptwrite: transfer 4096 bytes ulptwrite=20 ulpt_status: status=3D0x18 err=3D0 ulptwrite: transfer 4096 bytes ulpt_tick: start sc=3D0xc6fae000=20 ulpt_tick: err=3D1 ulpt_read_cb: start sc=3D0xc6fae000, err=3D0 n=3D0 ulpt_status: status=3D0x18 err=3D0 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>