forked from pool/sane-backends
20 lines
847 B
Diff
20 lines
847 B
Diff
--- backend/fujitsu.c.orig 2006-06-26 19:08:38.000000000 +0200
|
|
+++ backend/fujitsu.c 2006-09-04 11:19:25.000000000 +0200
|
|
@@ -2682,7 +2682,15 @@ get_hardware_status (struct fujitsu *s)
|
|
|
|
s->hw_skew_angle = get_HW_skew_angle(buffer);
|
|
|
|
- s->hw_ink_remain = get_HW_ink_remain(buffer);
|
|
+ /* This would read the 11-th byte from buffer because
|
|
+ * get_HW_ink_remain(buffer) expands to buffer[10].
|
|
+ * Asking the scanner for 11 bytes will cause some older
|
|
+ * models to choke, as they only provide 10 bytes.
|
|
+ * Therefore hw_ink_remain is disabled, as the ink level
|
|
+ * is of no use currently, since the endorser is disabled.
|
|
+ * (See Suse Bugzilla bug 202243).
|
|
+ s->hw_ink_remain = get_HW_ink_remain(buffer);
|
|
+ */
|
|
|
|
}
|
|
}
|