[sane-devel] Canon MX370 / MX430 / MX510 / MX925 - Button Support
Rolf Bensch
rolf at bensch-online.de
Tue Mar 18 22:13:08 UTC 2014
Hi,
If you like, please test button support for your scanner.
If button support is working, you can use scanbd to control scanning via
your scanner's buttons. You can find more infos about this in the
mailing lists archive, e.g. here:
http://sane.10972.n7.nabble.com/template/NamlServlet.jtp?macro=search_page&node=3&query=scanbd&days=0&sort=date
To enable button support, add one single line with your scanner-pid in
file pixma_mp150.c in function handle_interrupt() between lines 927 and
928, e.g.
|| s->cfg->pid == MX370_PID
Test procedure:
(1) 'export SANE_DEBUG_PIXMA=11'
(2) press any button
(3) check output from 'scanimage -A'
You should see something like this:
Buttons:
--button-update
Update button state
[pixma] INTR T=1.670 len=32
[pixma] 00000000:00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[pixma] 00000010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[pixma]
--button-1 <int> [1] [read-only]
Button 1
--button-2 <int> [0] [read-only]
Button 2
--original <int> [0] [read-only]
Type of original to scan
--target <int> [4] [read-only]
Target operation type
--scan-resolution <int> [0] [read-only]
Scan resolution
Please report your results.
Cheers,
Rolf
More information about the sane-devel
mailing list