Your message dated Thu, 29 Jul 2021 20:19:21 +0000
with message-id <[email protected]>
and subject line unblock sane-backends
has caused the Debian Bug report #991599,
regarding unblock: sane-backends/1.0.31-4.1
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 [email protected]
immediately.)


-- 
991599: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991599
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package sane-backends

  * Backport fixes from 1.0.32:
    - plustek-usbhw: Work around discovery problem for CanoScan N650U
      with 1ms sleep, thanks to Kai von Krbek. (Closes: #982243)
    - hp4200: Fix crashes caused by incorrectly sized memset,
      thanks to Hauke Mehrtens. (Closes: #988343)

unblock sane-backends/1.0.31-4.1
diff -Nru sane-backends-1.0.31/debian/changelog 
sane-backends-1.0.31/debian/changelog
--- sane-backends-1.0.31/debian/changelog       2020-12-04 18:08:57.000000000 
+0200
+++ sane-backends-1.0.31/debian/changelog       2021-07-25 20:15:13.000000000 
+0300
@@ -1,3 +1,14 @@
+sane-backends (1.0.31-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport fixes from 1.0.32:
+    - plustek-usbhw: Work around discovery problem for CanoScan N650U
+      with 1ms sleep, thanks to Kai von Krbek. (Closes: #982243)
+    - hp4200: Fix crashes caused by incorrectly sized memset,
+      thanks to Hauke Mehrtens. (Closes: #988343)
+
+ -- Adrian Bunk <[email protected]>  Sun, 25 Jul 2021 20:15:13 +0300
+
 sane-backends (1.0.31-4) unstable; urgency=medium
 
   * debian/rules: 
diff -Nru 
sane-backends-1.0.31/debian/patches/0001-hp4200-memset-incorrectly-sized.-registro-0-is-point.patch
 
sane-backends-1.0.31/debian/patches/0001-hp4200-memset-incorrectly-sized.-registro-0-is-point.patch
--- 
sane-backends-1.0.31/debian/patches/0001-hp4200-memset-incorrectly-sized.-registro-0-is-point.patch
 1970-01-01 02:00:00.000000000 +0200
+++ 
sane-backends-1.0.31/debian/patches/0001-hp4200-memset-incorrectly-sized.-registro-0-is-point.patch
 2021-07-25 20:14:16.000000000 +0300
@@ -0,0 +1,25 @@
+From acc5ca499f67ed1c8c42242fcf87358e7968e71d Mon Sep 17 00:00:00 2001
+From: Ralph Little <[email protected]>
+Date: Sat, 13 Mar 2021 17:05:13 -0800
+Subject: hp4200: memset incorrectly sized. registro[0] is pointer not int.
+
+---
+ backend/hp4200.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/backend/hp4200.c b/backend/hp4200.c
+index c080fcbcc..3d8e6a88b 100644
+--- a/backend/hp4200.c
++++ b/backend/hp4200.c
+@@ -1497,7 +1497,7 @@ do_fine_calibration (HP4200_Scanner * s, struct coarse_t 
*coarse)
+     int i;
+     for (i = 0; i < 12; i++)
+       {
+-        memset (registro[i], 0, 5460 * 3 * sizeof(registro[0]));
++        memset (registro[i], 0, 5460 * 3 * sizeof(int));
+       }
+   }
+ 
+-- 
+2.20.1
+
diff -Nru 
sane-backends-1.0.31/debian/patches/0001-plustek-usbhw.c-Add-1ms-sleep-before-writing-to-regi.patch
 
sane-backends-1.0.31/debian/patches/0001-plustek-usbhw.c-Add-1ms-sleep-before-writing-to-regi.patch
--- 
sane-backends-1.0.31/debian/patches/0001-plustek-usbhw.c-Add-1ms-sleep-before-writing-to-regi.patch
 1970-01-01 02:00:00.000000000 +0200
+++ 
sane-backends-1.0.31/debian/patches/0001-plustek-usbhw.c-Add-1ms-sleep-before-writing-to-regi.patch
 2021-07-25 20:15:03.000000000 +0300
@@ -0,0 +1,32 @@
+From 6af85ec669f7a201360f3dcc48f6b47a06812914 Mon Sep 17 00:00:00 2001
+From: Zdenek Dohnal <[email protected]>
+Date: Fri, 9 Oct 2020 08:55:41 +0200
+Subject: plustek-usbhw.c: Add 1ms sleep before writing to register 0x59
+
+Works around discovery problem for CanoScan N650U, fixes #137.
+---
+ backend/plustek-usbhw.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/backend/plustek-usbhw.c b/backend/plustek-usbhw.c
+index 05d3cc75c..28cbd52a4 100644
+--- a/backend/plustek-usbhw.c
++++ b/backend/plustek-usbhw.c
+@@ -1451,6 +1451,14 @@ usb_ResetRegisters( Plustek_Device *dev )
+                        * CanoScan devices to work properly after power-up
+                        */
+                       sanei_lm983x_write_byte( dev->fd, 0x5b, regs[0x5b] );
++
++                      /* At least CanoScan N650U can have a problem with 
writing
++                       * to register 0x59 due XHCI USB controller is too
++                       * fast for him. Simulate EHCI USB controller's
++                       * behavior here - wait 1ms.
++                       */
++                      usleep(1000);
++
+                       sanei_lm983x_write_byte( dev->fd, 0x59, regs[0x59] );
+                       sanei_lm983x_write_byte( dev->fd, 0x5a, regs[0x5a] );
+               } else {
+-- 
+2.20.1
+
diff -Nru sane-backends-1.0.31/debian/patches/series 
sane-backends-1.0.31/debian/patches/series
--- sane-backends-1.0.31/debian/patches/series  2020-10-08 11:13:18.000000000 
+0300
+++ sane-backends-1.0.31/debian/patches/series  2021-07-25 20:15:13.000000000 
+0300
@@ -15,3 +15,5 @@
 0060-cross.patch
 0165-respect_local_only_parameter.patch
 0170-return_empty_list_when_local_devices_requested.patch
+0001-plustek-usbhw.c-Add-1ms-sleep-before-writing-to-regi.patch
+0001-hp4200-memset-incorrectly-sized.-registro-0-is-point.patch

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply via email to