Sure, I used `dpkg-buildpackage -b``` to build it.

The change was just to remove the offending condition as was suggested:

diff -ur sane-backends-1.0.29.orig/backend/genesys/low.cpp 
sane-backends-1.0.29/backend/genesys/low.cpp
--- sane-backends-1.0.29.orig/backend/genesys/low.cpp   2021-02-16 
17:18:42.000000000 -0500
+++ sane-backends-1.0.29/backend/genesys/low.cpp        2021-02-16 
11:10:24.655216925 -0500
@@ -650,12 +650,6 @@
     if ((session.params.flags & ScanFlag::DISABLE_GAMMA) != ScanFlag::NONE) {
         return false;
     }
-    if (sensor.gamma[0] == 1.0f || sensor.gamma[1] == 1.0f || sensor.gamma[2] 
== 1.0f) {
-        return false;
-    }
-    if (session.params.depth == 16)
-        return false;
-
     return true;
 }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327801

Title:
  Bightness and contrast settings have no effect

To manage notifications about this bug go to:
https://bugs.launchpad.net/sane-backends/+bug/1327801/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to