Re: [PATCH] usblp.c: add USBLP_QUIRK_BIDIR to Brother HL-1440

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11:04 Mon 05 Jan 2009, Pete Zaitcev wrote:
> On Mon, 5 Jan 2009 08:30:39 -0800, Brandon Philips <brandon@xxxxxxxx> wrote:
> 
> > My Brother HL-1440 would print one document before CUPS would stop
> > printing with the error "Printer not connected; will retry in 30
> > seconds...". I traced this down to the CUPS usb backend getting an EIO
> > out of usblp on the IOCNR_GET_DEVICE_ID IOCTL. Adding the
> > USBLP_QUIRK_BIDIR fixes the problem but is it the right solution?
> 
> Adding a quirk is the last resort. We do it when we know that
> nothing else works. Although Oliver mentioned in the thread that
> Brother HL-1440 has questionable firmware, I would like to give
> the investigation another try. Would you be willing to send me
> a usbmon trace?

I am attaching two traces made by printing a small text file from gedit.

 philips-usblp-bidir-quirk-patch.usbmon # Printed the document twice successfully
 philips-usblp-mainline-driver.usbmon	# Tried printing twice, only one came out

Is that sufficient information?

Cheers,

	Brandon
ffff88003a5b61c0 1788706516 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003a5b61c0 1788706529 C Ci:4:001:0 0 4 = 01010100
ffff88003a5b61c0 1788706531 S Co:4:001:0 s 23 01 0010 0001 0000 0
ffff88003a5b61c0 1788706534 C Co:4:001:0 0 0
ffff88003a5b61c0 1788706535 S Ci:4:001:0 s a3 00 0000 0002 0004 4 <
ffff88003a5b61c0 1788706539 C Ci:4:001:0 0 4 = 00010000
ffff8800379b48c0 1788810521 S Ii:4:001:1 -115:128 2 <
ffff88003a5b61c0 1788810530 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003a5b61c0 1788810534 C Ci:4:001:0 0 4 = 01010000
ffff88003a5b61c0 1788810545 S Co:4:001:0 s 23 03 0004 0001 0000 0
ffff88003a5b61c0 1788810549 C Co:4:001:0 0 0
ffff88003a5b61c0 1788866524 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003a5b61c0 1788866545 C Ci:4:001:0 0 4 = 03010000
ffff88003a5b61c0 1788922518 S Co:4:001:0 s 23 01 0014 0001 0000 0
ffff88003a5b61c0 1788922521 C Co:4:001:0 0 0
ffff88003a5b61c0 1788929776 S Ci:4:000:0 s 80 06 0100 0000 0040 64 <
ffff88003a5b61c0 1788934535 C Ci:4:000:0 0 8 = 12010001 00000008
ffff88003a5b61c0 1788934551 S Co:4:001:0 s 23 03 0004 0001 0000 0
ffff88003a5b61c0 1788934555 C Co:4:001:0 0 0
ffff88003a5b61c0 1788990531 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003a5b61c0 1788990554 C Ci:4:001:0 0 4 = 03010000
ffff88003a5b61c0 1789046518 S Co:4:001:0 s 23 01 0014 0001 0000 0
ffff88003a5b61c0 1789046521 C Co:4:001:0 0 0
ffff88003a5b61c0 1789046529 S Co:4:000:0 s 00 05 0018 0000 0000 0
ffff88003a5b61c0 1789049533 C Co:4:000:0 0 0
ffff88003a5b61c0 1789066521 S Ci:4:024:0 s 80 06 0100 0000 0012 18 <
ffff88003a5b61c0 1789074533 C Ci:4:024:0 0 18 = 12010001 00000008 f9040d00 00010000 0001
ffff88003a5b61c0 1789074562 S Ci:4:024:0 s 80 06 0200 0000 0009 9 <
ffff88003a5b61c0 1789081532 C Ci:4:024:0 0 9 = 09022000 01010040 00
ffff88003a5b61c0 1789081556 S Ci:4:024:0 s 80 06 0200 0000 0020 32 <
ffff88003a5b61c0 1789092533 C Ci:4:024:0 0 32 = 09022000 01010040 00090400 00020701 02000705 01024000 00070582 02400000
ffff88003a5b61c0 1789098349 S Co:4:024:0 s 00 09 0001 0000 0000 0
ffff88003a5b61c0 1789100537 C Co:4:024:0 0 0
ffff88003a5b61c0 1789107729 S Co:4:024:0 s 01 0b 0000 0000 0000 0
ffff88003a5b61c0 1789109534 C Co:4:024:0 0 0
ffff88003a5b61c0 1789109685 S Ci:4:024:0 s a1 00 0000 0000 03ff 1023 <
ffff88003a5b61c0 1789111531 C Ci:4:024:0 0 58 = 003a4d46 473a4272 6f746865 723b434d 443a5043 4c342c50 4a4c3b4d 444c3a48
ffff88003e194bc0 1804549356 S Ci:4:024:0 s a1 00 0000 0000 03ff 1023 <
ffff88003e194bc0 1804551502 C Ci:4:024:0 0 58 = 003a4d46 473a4272 6f746865 723b434d 443a5043 4c342c50 4a4c3b4d 444c3a48
ffff88003e194bc0 1804551667 S Bo:4:024:1 -115 2805 = 1b252d31 32333435 5840504a 4c200d0a 40504a4c 204a4f42 204e414d 453d2247
ffff88003e194bc0 1804554505 C Bo:4:024:1 0 2805 >
ffff88003d11a780 1841869576 S Ci:4:024:0 s a1 00 0000 0000 03ff 1023 <
ffff88003d11a780 1841872432 C Ci:4:024:0 0 58 = 003a4d46 473a4272 6f746865 723b434d 443a5043 4c342c50 4a4c3b4d 444c3a48
ffff88003d11a780 1841872599 S Bo:4:024:1 -115 2805 = 1b252d31 32333435 5840504a 4c200d0a 40504a4c 204a4f42 204e414d 453d2247
ffff88003d11a780 1841875434 C Bo:4:024:1 0 2805 >
ffff88003e0dd880 1427989245 S Bi:4:023:2 -115 1024 <
ffff88003e0dd680 1427989270 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003e0dd680 1428004809 C Ci:4:023:0 0 58 = 003a4d46 473a4272 6f746865 723b434d 443a5043 4c342c50 4a4c3b4d 444c3a48
ffff88003e0dd880 1428004823 C Bi:4:023:2 0 0
ffff88003e0dd680 1428004961 S Bi:4:023:2 -115 1024 <
ffff88003e0dd280 1428004992 S Bo:4:023:1 -115 2805 = 1b252d31 32333435 5840504a 4c200d0a 40504a4c 204a4f42 204e414d 453d2247
ffff88003e0dd280 1428052819 C Bo:4:023:1 0 2805 >
ffff88003e0dd680 1428053812 C Bi:4:023:2 -2 0
ffff88003a5b68c0 1434470637 S Bi:4:023:2 -115 1024 <
ffff88003a5b6dc0 1434470654 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003a5b6dc0 1434471835 C Ci:4:023:0 -32 0
ffff88003a5b68c0 1434471847 C Bi:4:023:2 0 0
ffff88003d440c80 1464472206 S Bi:4:023:2 -115 1024 <
ffff88003e1bca80 1464472230 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003e1bca80 1464473770 C Ci:4:023:0 -71 0
ffff88003d440c80 1464473784 C Bi:4:023:2 0 1 = 03
ffff88003c9466c0 1494474066 S Bi:4:023:2 -115 1024 <
ffff88003c9467c0 1494474094 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003c9467c0 1494475702 C Ci:4:023:0 -71 0
ffff88003c9466c0 1494475711 C Bi:4:023:2 0 1 = 03
ffff88003e1bc380 1524475983 S Bi:4:023:2 -115 1024 <
ffff88003e1bcd80 1524476009 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003e1bcd80 1524477656 C Ci:4:023:0 -71 0
ffff88003e1bc380 1524477670 C Bi:4:023:2 0 1 = 03
ffff88003d0c1180 1554477965 S Bi:4:023:2 -115 1024 <
ffff88003c8ef880 1554477988 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003c8ef880 1554479597 C Ci:4:023:0 -71 0
ffff88003d0c1180 1554479611 C Bi:4:023:2 0 1 = 03
ffff88003c9463c0 1584479919 S Bi:4:023:2 -115 1024 <
ffff88003c946ec0 1584479944 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003c946ec0 1584481540 C Ci:4:023:0 -71 0
ffff88003c9463c0 1584481555 C Bi:4:023:2 0 1 = 03
ffff88003dcb66c0 1614481861 S Bi:4:023:2 -115 1024 <
ffff88003c8ef880 1614481885 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003c8ef880 1614483482 C Ci:4:023:0 -71 0
ffff88003dcb66c0 1614483496 C Bi:4:023:2 0 1 = 03
ffff88003c8ef880 1644483802 S Bi:4:023:2 -115 1024 <
ffff88003e194bc0 1644483827 S Ci:4:023:0 s a1 00 0000 0000 03ff 1023 <
ffff88003e194bc0 1644485426 C Ci:4:023:0 -71 0
ffff88003c8ef880 1644485440 C Bi:4:023:2 0 1 = 03
ffff8800379b48c0 1668770513 C Ii:4:001:1 0:128 1 = 02
ffff8800379b48c0 1668770527 S Ii:4:001:1 -115:128 2 <
ffff88003e0dd380 1668770589 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003e0dd380 1668770596 C Ci:4:001:0 0 4 = 00010300
ffff88003e0dd380 1668770600 S Co:4:001:0 s 23 01 0010 0001 0000 0
ffff88003e0dd380 1668770603 C Co:4:001:0 0 0
ffff88003e0dd380 1668770605 S Co:4:001:0 s 23 01 0011 0001 0000 0
ffff88003e0dd380 1668770609 C Co:4:001:0 0 0
ffff88003e0dd380 1668778650 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003e0dd380 1668778664 C Ci:4:001:0 0 4 = 00010000
ffff88003e0dd380 1668810526 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003e0dd380 1668810535 C Ci:4:001:0 0 4 = 00010000
ffff88003e0dd380 1668842522 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003e0dd380 1668842528 C Ci:4:001:0 0 4 = 00010000
ffff88003e0dd380 1668874521 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003e0dd380 1668874526 C Ci:4:001:0 0 4 = 00010000
ffff88003e0dd380 1668906520 S Ci:4:001:0 s a3 00 0000 0001 0004 4 <
ffff88003e0dd380 1668906525 C Ci:4:001:0 0 4 = 00010000

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux