[sane-devel] sane - access problem with debian squeeze

postbote2009-debian at yahoo.com postbote2009-debian at yahoo.com
Thu Apr 7 18:57:51 UTC 2011


Hello everybody,

I can´t access my Canon pixma MP610 scanner after upgrading to Debian sqeeze.


sane-find-scanner detects the scanner correctly:

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9, product=0x1725) at libusb:001:002
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.


scanimage shows the scanner:

scanimage -L
device `pixma:04A91725' is a CANON Canon PIXMA MP610 multi-function peripheral
device `net:localhost:pixma:04A91725' is a CANON Canon PIXMA MP610 
multi-function peripheral



I´m member of the group scanner,
the pixma MP610 is listed in /lib/udev/rules.d/60-libsane.rules, I even copied 
60-libsane.rules to /etc/udev/rules.d/

# Canon PIXMA MP610
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1725", MODE="0664", GROUP="scanner", 
ENV{libsane_matched}="yes"


syslog shows that I´ve been granted access from saned

localhost saned[5119]: saned (AF-indep+IPv6) from sane-backends 1.0.21 starting 
up
localhost saned[5119]: check_host: access by remote host: 127.0.0.1
localhost saned[5119]: init: access granted to michael at 127.0.0.1
localhost saned[5119]: saned exiting

nevertheless scanimage -T (as not-root-user) fails:

scanimage: open of device pixma:04A91725 failed: Access to resource has been 
denied

Debug-output:


[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.21
[dll] sane_init/read_dlld: processing /etc/sane.d/dll.d ...
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] add_backend: adding backend `ls5000'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'

.. snip ... 

[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `pixma'
[dll] add_backend: adding backend `plustek'

.. snip ...

[dll] add_backend: adding backend `v4l'
[dll] add_backend: adding backend `xerox_mfp'
[dll] sane_open: trying to open `pixma'
[dll] load: searching backend `pixma' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-pixma.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-pixma.so.1'
[dll] init: initializing backend `pixma'
[dll] init: backend `pixma' is version 1.0.16
scanimage: open of device pixma failed: Access to resource has been denied
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `pixma's exit function
[dll] sane_exit: finished


With Debian Lenny everything went fine, worked out of the box, I only had to 
configure the net access.


If this is the wrong forum for my question I do apologize - please tell me the 
right forum. 


I suspect that it might be an access-rights problem at some level, but I have no 
idea what it might be. I´ve already told my problem in a general debian forum - 
but nobody could help me.

Thank you very much!

Michael
ched}="yes"




More information about the sane-devel mailing list