Re: ulpt problem (USB_ERR_IOERROR)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <freebsd-current@...>
Cc: Hans Petter Selasky <hselasky@...>
Date: Saturday, July 4, 2009 - 10:43 am

Le Sat, 4 Jul 2009 09:45:40 +0200,
Hans Petter Selasky a écrit :

> > ulpt_write_callback:220: state=0x1 actlen=2889

Yes.

> If the actlen is not a factor of 64 in your case, the printer will

Sometime cups writes only a litle amount of datas:

[Job 40] Read 161 bytes of print data...
[Job 40] Wrote 161 bytes of print data...
[Job 40] Read 251 bytes of print data...
[Job 40] Wrote 251 bytes of print data...
[Job 40] Read 162 bytes of print data...
[Job 40] Wrote 162 bytes of print data...
[Job 40] Read 86 bytes of print data...
[Job 40] Wrote 86 bytes of print data...
[Job 40] Read 3292 bytes of print data...
[Job 40] Wrote 3292 bytes of print data...
[Job 40] Read 43 bytes of print data...
[Job 40] Wrote 43 bytes of print data...
[Job 40] Read 4096 bytes of print data...
[Job 40] Wrote 4096 bytes of print data...

Cups uses a select() on the input file to print, reads the datas and
writes them to the usb port until the input file is empty.

There is no warranty that the amount of datas will be a factor of 64
bytes.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Fri Jul 3, 11:26 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sat Jul 4, 3:45 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 4, 10:43 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sun Jul 5, 4:39 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Mon Jul 6, 10:11 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Mon Jul 6, 11:50 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Tue Jul 7, 2:39 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 11, 5:26 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sun Jul 12, 3:52 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sun Jul 12, 9:41 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Mon Jul 13, 2:46 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Thu Jul 16, 3:55 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Thu Jul 16, 4:22 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Thu Jul 16, 6:50 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 17, 2:54 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Mon Jul 6, 2:39 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sun Jul 5, 3:29 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 3, 11:58 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Fri Jul 3, 1:34 pm)
Re: ulpt problem (USB_ERR_IOERROR), Sam Leffler, (Fri Jul 3, 2:25 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 4, 3:14 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 3, 11:56 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Fri Jul 3, 12:52 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 3, 1:29 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 4, 3:07 am)