Allora, per ora ho provato con il pacchetto *1_ord.tgz. Apparentemente sembra tutto ok, nel senso che non compaiono messaggi di errore espliciti, però poi c'è qualcosa che si blocca con sane.
Codice: Seleziona tutto
gian@giand:~$ SANE_DEBUG_DLL=11 scanimage -A
[20:15:32.838308] [sanei_debug] Setting debug level of dll to 11.
[20:15:32.838506] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.29
[20:15:32.838548] [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[20:15:32.838587] [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[20:15:32.838616] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[20:15:32.838655] [dll] sane_init/read_dlld: done.
[20:15:32.838686] [dll] sane_init/read_config: reading dll.conf
[20:15:32.838730] [dll] add_backend: adding backend `canon_pixma'
Output format is not set, using pnm as a default.
[20:15:32.838811] [dll] sane_get_devices
[20:15:32.838829] [dll] load: searching backend `canon_pixma' in `/usr/lib64/sane'
[20:15:32.838859] [dll] load: trying to load `/usr/lib64/sane/libsane-canon_pixma.so.1'
[20:15:32.838887] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-canon_pixma.so.1'
[20:15:32.841281] [dll] init: initializing backend `canon_pixma'
[20:15:33.848809] [dll] init: backend `canon_pixma' is version 1.0.0
[20:15:33.848869] [dll] sane_get_devices: found 1 devices
[20:15:33.848886] [dll] sane_open: trying to open `canon_pixma:libusb:011:002'
[20:15:33.850589] [dll] sane_open: open successful
[20:15:33.850631] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=0)
[20:15:33.850645] [dll] sane_control_option(handle=0x10e71e0,option=0,action=0,value=0x7ffe28d24d3c,info=(nil))
[20:15:33.850659] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=0)
[20:15:33.850669] [dll] sane_control_option(handle=0x10e71e0,option=0,action=0,value=0x7ffe28d24c58,info=(nil))
[20:15:33.850687] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=1)
[20:15:33.850718] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=2)
[20:15:33.850727] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=3)
[20:15:33.850745] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=4)
[20:15:33.850762] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=5)
[20:15:33.850780] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=6)
[20:15:33.850804] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=7)
[20:15:33.850826] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=8)
[20:15:33.850848] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=9)
[20:15:33.850869] [dll] sane_control_option(handle=0x10e71e0,option=8,action=0,value=0x40d5e0,info=(nil))
[20:15:33.850890] [dll] sane_control_option(handle=0x10e71e0,option=6,action=0,value=0x7ffe28d24c5c,info=(nil))
[20:15:33.850912] [dll] sane_control_option(handle=0x10e71e0,option=9,action=0,value=0x40d5e4,info=(nil))
[20:15:33.850933] [dll] sane_control_option(handle=0x10e71e0,option=7,action=0,value=0x7ffe28d24c5c,info=(nil))
[20:15:33.850959] [dll] sane_control_option(handle=0x10e71e0,option=6,action=0,value=0x7ffe28d25070,info=(nil))
[20:15:33.850977] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=8)
[20:15:33.850997] [dll] sane_control_option(handle=0x10e71e0,option=8,action=1,value=0x7ffe28d26070,info=0x7ffe28d24c6c)
[20:15:33.851016] [dll] sane_control_option(handle=0x10e71e0,option=7,action=0,value=0x7ffe28d25070,info=(nil))
[20:15:33.851034] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=9)
[20:15:33.851054] [dll] sane_control_option(handle=0x10e71e0,option=9,action=1,value=0x7ffe28d26070,info=0x7ffe28d24c6c)
All options specific to device `canon_pixma:libusb:011:002':
[20:15:33.851090] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=1)
Scan Mode:
[20:15:33.851114] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=2)
[20:15:33.851149] [dll] sane_control_option(handle=0x10e71e0,option=2,action=0,value=0x7ffe28d24c00,info=(nil))
--mode Color|Gray [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
[20:15:33.851190] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=3)
[20:15:33.851213] [dll] sane_control_option(handle=0x10e71e0,option=3,action=0,value=0x7ffe28d24c00,info=(nil))
--resolution 75|100|150|200|300dpi [300]
Sets the resolution of the scanned image.
[20:15:33.851248] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=4)
[20:15:33.851268] [dll] sane_control_option(handle=0x10e71e0,option=4,action=0,value=0x7ffe28d24c00,info=(nil))
--preview[=(yes|no)] [no]
Request a preview-quality scan.
[20:15:33.851305] [dll] sane_get_option_descriptor(handle=0x10e71e0,option=5)
Geometry:
[20:15:33.851341] [dll] sane_control_option(handle=0x10e71e0,option=6,action=0,value=0x7ffe28d24c00,info=(nil))
-l 0..0.00457764pel (in steps of 1.52588e-05) [0]
Top-left x position of scan area.
[20:15:33.851383] [dll] sane_control_option(handle=0x10e71e0,option=7,action=0,value=0x7ffe28d24c00,info=(nil))
-t 0..0.00457764pel (in steps of 1.52588e-05) [0]
Top-left y position of scan area.
[20:15:33.851432] [dll] sane_control_option(handle=0x10e71e0,option=8,action=0,value=0x7ffe28d24c00,info=(nil))
-x 0..0.00457764pel (in steps of 1.52588e-05) [0.0378418]
Width of scan-area.
[20:15:33.851472] [dll] sane_control_option(handle=0x10e71e0,option=9,action=0,value=0x7ffe28d24c00,info=(nil))
-y 0..0.00457764pel (in steps of 1.52588e-05) [0.0535126]
Height of scan-area.
[20:15:33.851513] [dll] sane_close(handle=0x10e71e0)
[20:15:33.851565] [dll] sane_exit: exiting
[20:15:33.851584] [dll] sane_exit: calling backend `canon_pixma's exit function
[20:15:33.851900] [dll] sane_exit: finished
da quel poco che ho capito, ad un certo punto dell'elaborazione viene chiamata una funzione sane_close() che arresta tutto