[sane-devel] Need help with Canon scanner

Alan McConnell alan at his.com
Wed Aug 19 20:13:03 UTC 2015

First of all, thanks for your post, with the helpful hints.  I
can narrow my questions; see below.

On Thu, Aug 20, 2015 at 01:38:37AM +0900, Gernot Hassenpflug wrote:
	.  .  .  .

> >    found USB scanner (vendor=0x04a9, product=0x2774) at libusb:001:004
         I can't find where the above line tells _exactly_ what
	 Canon backend is the appropriate one.  I think the above
	 tells me what the Canon backend should be, and also tells
	 me the USB port.

> What version of SANE do you have installed? You can look at the package
> libsane, e.g.
> aptitude show libsane
> (on my Debian unstable installation it is 1.0.24-13, although I also
> install the latest development version in /usr/local)
  	  The above call to aptitude tells me that I have
	      Version: 1.0.22-7.4

> The MF4700 series has been in SANE since before December 2013, so unless
> you are using an ancient version of SANE, it is most likely that you have
> the backend you need in SANE.
          I believe I do.  I remember seeing, back in April, that MF4770n
	  was supported.

> The documentation in README.linux that comes with the SANE code should help
> you check the installation and do some debugging, or at least specify to
> the list which steps you managed to succeed in, and where things failed.
         Thank you very much for this tip.  From README.linux, I learned:
	 "The device files used by libusb are located in /proc/bus/usb/
	   . . .or in /dev/bus/usb/".  For me, they are in
	 /dev/bus/usb/, which means, I guess, that I am running udev.
	 I also put the line   USB_DEVFS_PATH=/dev/bus/usb   into
	 my .bashrc.  But the call to    scanimage >image.pnm  still
	 fails.  My USB socket lights blink furiously, eventually
	 the call returns with    no SANE devices found    and
	 I am left with an empty file, image.pnm, which I then delete.

> /usr/share/doc/libsane/README.Debian.gz (a Debian-specific file with a
> trouble-shooting section)
  	 This didn't help me.

	 I think I must be close<g>.  But even though I know that
	 the scanner is seen, and I know the ports in /dev/bus/usb,
	 I can't get scanimage to work.  I hope for further suggestions.


Alan McConnell :  http://globaltap.com/~alan/
          If you don't know your rights, you don't have any.
          If it can't be abused, it's not freedom.

More information about the sane-devel mailing list