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

Bug#989073: marked as done (cups: Samsung ML-1640 USB printer not working, needs longer USB timeout)



Your message dated Thu, 27 May 2021 07:48:26 +0000
with message-id <E1lmAkk-0002vZ-NM@fasolo.debian.org>
and subject line Bug#989073: fixed in cups 2.3.3op2-5
has caused the Debian Bug report #989073,
regarding cups: Samsung ML-1640 USB printer not working, needs longer USB timeout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
989073: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989073
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 2.3.3op2-3
Severity: important

Dear Maintainer,

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/d2f41769f208729438414c76983385f0f13ef9b7

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.

Cheers,

-Mikko

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups depends on:
ii  cups-client            2.3.3op2-3
ii  cups-common            2.3.3op2-3
ii  cups-core-drivers      2.3.3op2-3
ii  cups-daemon            2.3.3op2-3
ii  cups-filters           1.28.7-1
ii  cups-ppdc              2.3.3op2-3
ii  cups-server-common     2.3.3op2-3
ii  debconf [debconf-2.0]  1.5.74
ii  ghostscript            9.53.3~dfsg-7
ii  libavahi-client3       0.8-5
ii  libavahi-common3       0.8-5
ii  libc6                  2.31-9
ii  libcups2               2.3.3op2-3
ii  libgcc-s1              10.2.1-6
ii  libstdc++6             10.2.1-6
ii  libusb-1.0-0           2:1.0.24-3
ii  poppler-utils          20.09.0-3.1
ii  procps                 2:3.3.17-3

Versions of packages cups recommends:
ii  avahi-daemon  0.8-5
ii  colord        1.4.5-3

Versions of packages cups suggests:
ii  cups-bsd                                   2.3.3op2-3
pn  cups-pdf                                   <none>
pn  foomatic-db-compressed-ppds | foomatic-db  <none>
pn  smbclient                                  <none>
ii  udev                                       247.3-1

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: lpd, socket, usb, snmp, dnssd

--- End Message ---
--- Begin Message ---
Source: cups
Source-Version: 2.3.3op2-5
Done: Didier Raboud <odyx@debian.org>

We believe that the bug you reported is fixed in the latest version of
cups, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 989073@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 27 May 2021 09:07:26 +0200
Source: cups
Architecture: source
Version: 2.3.3op2-5
Distribution: experimental
Urgency: low
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 989073
Changes:
 cups (2.3.3op2-5) experimental; urgency=low
 .
   * Backport 2 upstream USB backend fixes:
     - Revert enforcing read limits (caused a regression with Lexmark filters)
     - Use 60s timeout (instead of 250ms) for reading at backchannel, as some
       older models malfunction if timeout is too short (Closes: #989073)
Checksums-Sha1:
 d9fb7024d6c87a3376ca248cbe67d7995bc50830 3333 cups_2.3.3op2-5.dsc
 1e2d7766ab1a0e0b0c5b44db22cffabedab4eefe 349432 cups_2.3.3op2-5.debian.tar.xz
Checksums-Sha256:
 99dceaffb2b9c613c931087845284214387fd2d46549b50da1f6de7cb2d4af9c 3333 cups_2.3.3op2-5.dsc
 ebe469699cc02ebd5e5187c93c7bd95b299ed75f51be4ed27b16b3bf1debb39a 349432 cups_2.3.3op2-5.debian.tar.xz
Files:
 a16f69b626b2abfa91270406275637b4 3333 net optional cups_2.3.3op2-5.dsc
 ec68cc7fecbad2d5c21d9e0847be5626 349432 net optional cups_2.3.3op2-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAmCvSHgACgkQqcb6xg1j
AWljqw/8DTnmGr7AIYIR8N/Vl5O0UUIqQb2QkfXBUxLJqkAErIOWBwLtr6qcIBLx
65rjr+0YnTZEq88DHIovoefbzFgU59j4OF4PAMT2xdW7meyeCHS2Bk4cgtDL7IT+
ZHs7hvwDRb5to5jI8zkjNDt3aktJ9jsIQQW6LBsVFUMgnC4KsI4LuXX6oU6uU/7q
i1QVOCggm+LGICydeduw1XHDpyjsatC2PY+QitNKvYqOlpNZ/DVtsiYFd59w8Cyy
N+7QMxjtmpVpYp/Kg62YuCA0T9sAayEqto1cAUKskCgpQtG//9lkw+3au+oNBBoP
NjRmpgnxNHY+4tLaO4bwBNcs9U6oekzGszifpY+L9zYIWwe1f9SPQckXQ66nrfd8
amRaylg9eFh6k+j8W6ZzSQJJJ7JwCYUwwNAd2Y6f38ACQGl36Bkqxi9UImoN2+v3
T+6SnJCPP5Q1bGmb0jAlz0HJjOX4kbY2bOHe5PA+twZhchzNzr+8rsvObvHSye7x
5h641m0e0gd3YnfuK5Smkz0YTRgHKG5l5Y9c9dyyafjBcpR9XMU8DlwwPKAXZQeA
J145pr8E+Ze5zmj856zQ4Dr2lnOmeGWLXDNpeR/wgp67uIWsEQpcZuhkuLPfn4kB
kaGLrBxfgLY7IZHUODenCh8zYsfWUdGnNxCJ8YkZb3vSqPJApzw=
=pEWs
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: