Control: tags -1 +pending Le mardi, 25 mai 2021, 11.00:59 h CEST Mikko Rapeli a écrit : > Latest cups from unstable doesn't work with old USB printers anymore. > At least Samsung ML-1640 just prints an error like > "INTERNAL ERROR - Incomplete Session by time out". > > Root cause seems to be: > > https://bbs.archlinux.org/viewtopic.php?id=265299 > > https://github.com/OpenPrinting/cups/pull/160/commits/d2f41769f208729438414c > 76983385f0f13ef9b7 > > After applying this patch printing works again: > > src/cups-2.3.3op2# diff -up backend/usb-libusb.c_orig backend/usb-libusb.c > --- backend/usb-libusb.c_orig 2021-05-25 11:41:02.981961321 +0300 > +++ backend/usb-libusb.c 2021-05-25 11:42:39.990717869 +0300 > @@ -1704,7 +1704,7 @@ static void *read_thread(void *reference > readstatus = libusb_bulk_transfer(g.printer->handle, > g.printer->read_endp, > readbuffer, rbytes, > - &rbytes, 250); > + &rbytes, 60000); > if (readstatus == LIBUSB_SUCCESS && rbytes > 0) > { > fprintf(stderr, "DEBUG: Read %d bytes of back-channel data...\n", > (int)rbytes); > > Please consider applying this, thanks.
Hello Mikko, and thanks for your bugreport, This is indeed a USB printing regression, and I just filed an unblock request to get this fixed in Bullseye. I'll upload to experimental now too. Best regards, OdyX
signature.asc
Description: This is a digitally signed message part.