* backend/fujitsu.[ch]: backend v72,

- use mode_sense to determine background color support
- remove fi-5900 background color override
merge-requests/1/head
m. allan noah 2008-07-14 00:59:26 +00:00
rodzic dfee7abb75
commit 4f4ce809ba
4 zmienionych plików z 32 dodań i 31 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2008-07-13 m. allan noah <kitno455 a t gmail d o t com>
* backend/fujitsu.[ch]: backend v72,
- use mode_sense to determine background color support
- remove fi-5900 background color override
2008-07-13 m. allan noah <kitno455 a t gmail d o t com>
* backend/fujitsu.[ch]: backend v71,
- disable overscan option if vpd does not tell overscan size

Wyświetl plik

@ -358,6 +358,9 @@
- fi-5110EOX crops scan area based on absolute maximum, not paper
- fi-5330C and fi-5650C can't handle 10 bit LUT via USB
- fi-5900 has background color, though it reports otherwise
v72 2008-07-13, MAN
- use mode_sense to determine background color support
- remove fi-5900 background color override
SANE FLOW DIAGRAM
@ -418,7 +421,7 @@
#include "fujitsu.h"
#define DEBUG 1
#define BUILD 71
#define BUILD 72
/* values for SANE_DEBUG_FUJITSU env var:
- errors 5
@ -1822,9 +1825,6 @@ init_model (struct fujitsu *s)
else if (strstr (s->model_name, "Fi-5900")
|| strstr (s->model_name, "fi-5900") ) {
/* lies */
s->has_bg_front=s->has_bg_back=1;
/* weirdness */
s->even_scan_line = 1;
}
@ -3106,7 +3106,7 @@ sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
opt->constraint_type = SANE_CONSTRAINT_STRING_LIST;
opt->constraint.string_list = s->bg_color_list;
opt->size = maxStringSize (opt->constraint.string_list);
if (s->has_bg_front || s->has_bg_back)
if (s->has_MS_bg)
opt->cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT | SANE_CAP_ADVANCED;
else
opt->cap = SANE_CAP_INACTIVE;

Wyświetl plik

@ -11,7 +11,7 @@
:backend "fujitsu" ; name of backend
:url "http://www.thebility.com/fujitsu/"
:version "68" ; version of backend
:version "72" ; version of backend
:manpage "sane-fujitsu" ; name of manpage (if it exists)
:comment "Backend updated for SANE release 1.1.0, see sane-fujitsu manpage"
:devicetype :scanner ; start of a list of devices....
@ -39,13 +39,13 @@
:model "fi-4120C"
:interface "SCSI USB"
:usbid "0x04c5" "0x1041"
:status :good
:status :complete
:comment "small, recent, discontinued, usb 1.1"
:model "fi-4120C2"
:interface "SCSI USB"
:usbid "0x04c5" "0x10ae"
:status :good
:status :complete
:comment "small, recent, discontinued, usb 2.0"
:model "fi-4220C"
@ -62,36 +62,36 @@
:model "fi-5110EOX"
:interface "USB"
:status :good
:status :complete
:usbid "0x04c5" "0x1096"
:comment "small, recent, discontinued, no TWAIN driver"
:model "fi-5110EOX2"
:interface "USB"
:status :good
:status :complete
:comment "small, recent, discontinued, no TWAIN driver"
:model "fi-5110EOXM"
:interface "USB"
:usbid "0x04c5" "0x10f2"
:status :good
:status :complete
:comment "small, recent, discontinued, Mac only"
:model "ScanSnap S500"
:interface "USB"
:status :good
:status :complete
:usbid "0x04c5" "0x10fe"
:comment "small, recent, discontinued, no TWAIN driver"
:model "ScanSnap S500M"
:interface "USB"
:status :good
:status :complete
:usbid "0x04c5" "0x1135"
:comment "small, recent, discontinued, no TWAIN driver, Mac only"
:model "fi-5120C"
:interface "SCSI USB"
:status :good
:status :complete
:usbid "0x04c5" "0x10e0"
:comment "small, recent, discontinued"
@ -105,23 +105,18 @@
; CURRENT MODELS, SMALL
:model "ScanSnap S510"
:interface "USB"
:status :good
:status :complete
:usbid "0x04c5" "0x1155"
:comment "small, current, no TWAIN driver"
:model "ScanSnap S510M"
:interface "USB"
:status :untested
:status :complete
:comment "small, current, no TWAIN driver, Mac only"
:model "fi-5015C"
:interface "USB"
:status :untested
:comment "small, current, unknown chipset, maybe Avision OEM?"
:model "fi-5110C"
:interface "USB"
:status :good
:status :complete
:usbid "0x04c5" "0x1097"
:comment "small, current"
@ -223,19 +218,19 @@
:model "fi-5530C"
:interface "SCSI USB"
:status :good
:status :complete
:usbid "0x04c5" "0x10e2"
:comment "medium, current"
:model "fi-5530C2"
:interface "SCSI USB"
:status :good
:status :complete
:usbid "0x04c5" "0x114a"
:comment "medium, current"
:model "fi-6140"
:interface "SCSI USB"
:status :good
:status :complete
:usbid "0x04c5" "0x114d"
:comment "medium, current"
@ -295,7 +290,7 @@
:model "fi-4990C"
:interface "SCSI"
:status :good
:status :complete
:comment "big, recent, discontinued"
:model "fi-4860C"
@ -313,7 +308,7 @@
:model "fi-5650C"
:interface "SCSI USB"
:usbid "0x04c5" "0x10ad"
:status :good
:status :complete
:comment "big, current"
:model "fi-5750C"

Wyświetl plik

@ -10,14 +10,15 @@ The
library implements a SANE (Scanner Access Now Easy) backend which
provides access to most Fujitsu flatbed and ADF scanners.
This document describes backend version 68, which shipped with SANE 1.1.0.
This document describes backend version 72, which shipped with SANE 1.1.0.
.SH SUPPORTED HARDWARE
This version has at least basic support for every model which speaks the
Fujitsu SCSI and SCSI-over-USB protocols, with many scanners having nearly
Fujitsu SCSI and SCSI-over-USB protocols, with many scanners having
complete support. Specifically, the SCSI M309x and M409x series, the SCSI
fi-series, most of the USB fi-series, and the USB ScanSnap S5xx scanners
are supported. Please see the list at www.sane-project.org for details.
are supported. Please see the list at
http://www.sane-project.org/sane-supported-devices.html for details.
This backend may support other Fujitsu scanners. The best
way to determine level of support is to test the scanner directly,
@ -181,7 +182,7 @@ m3092: Mario Goppold <mgoppold a t tbzpariv d o t tcc-chemnitz dot de>
.br
fi-4220C and basic USB support: Ron Cemer <ron a t roncemer d o t com>
.br
fi-4120, fi-series color support, backend re-write, current maintainer:
fi-4120, fi-series color, backend re-write, jpeg, current maintainer:
m. allan noah: <kitno455 a t gmail d o t com>
JPEG output support funded by: