[sane-devel] [scanbd] CanoScan 210 buttons "off by one"
Wilhelm
wilhelm.meier at fh-kl.de
Tue Jan 29 18:54:47 UTC 2013
Am 29.01.2013 18:13, schrieb Hans Schou:
> Hi
>
> I have successful installed scanbd 1.3 and it works fine with my Canon
> CanoScan LiDE 210.
>
> I only have one small problem: The scanner has 5 buttons and only 3 of
> them is working.
>
> Press -> SCANBD_ACTION
> -----------------------------------
> Email -> [does not work]
> Copy -> email
> Auto scan -> copy
> PDF-end -> scan
> PDF-start -> [does not work]
You installed scripts for options
"scan2, "email", "copy", "preview"
you missed: "file"
The naming and function of the buttons are in total control of the
backend not scanbd. So, I think that "preview" isn't a button. Try to
use the option "file" instead.
>
> It seems like there is a mapping problem which is "off by one" or
> something like that.
>
> The syslog is rather large so here is some of the lines which might give
> a clue about what is wrong:
>
> Jan 29 10:28:09 h scanbd: scanbd: found 41 options for device
> genesys:libusb:001:005
> Jan 29 10:28:09 h scanbd: scanbd: found 5 actions in section (null)
> Jan 29 10:28:09 h scanbd: scanbd: option[29] sensors for device
> genesys:libusb:001:005 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping
> Jan 29 10:28:09 h scanbd: scanbd: found active option[30] scan (type: 0)
> for device genesys:libusb:001:005
> Jan 29 10:28:09 h scanbd: scanbd: installing action scan (0) for
> genesys:libusb:001:005, option[30]: scan as: test.script
> Jan 29 10:28:09 h scanbd: scanbd: multiple actions allowed
> Jan 29 10:28:09 h scanbd: scanbd: Initial value of option scan is 358649033
> Jan 29 10:28:09 h scanbd: scanbd: found active option[31] file (type: 0)
> for device genesys:libusb:001:005
> Jan 29 10:28:09 h scanbd: scanbd: found active option[32] email (type:
> 0) for device genesys:libusb:001:005
> Jan 29 10:28:09 h scanbd: scanbd: found active option[33] copy (type: 0)
> for device genesys:libusb:001:005
> Jan 29 12:43:54 h scanbd: scanbd: installing action copy (2) for
> genesys:libusb:001:005, option[33]: copy as: test.script
> Jan 29 14:38:25 h scanbd: scanbd: trigger action for email for device
> genesys:libusb:001:005 with script test.script
> Jan 29 14:38:25 h scanbd: scanbd: Value of mode as string (len 4, hash
> 2089152600): Gray
> Jan 29 14:38:26 h scanbd: scanbd: waiting for child:
> /usr/local/etc/scanbd/test.script
>
> Full syslog can be found here http://sslug.dk/~chlor/canon/#scanbd
>
> Any help appreciated.
>
> best regards
> Hans
>
>
--
Wilhelm
More information about the sane-devel
mailing list