[sane-devel] Canon MP250 detected by sane-find-scanner but not by scanimage

Noe Nieto nnieto at noenieto.com
Fri Jul 22 18:55:39 UTC 2011


2011/7/22 Gernot Hassenpflug <aikishugyo at gmail.com>

> On Fri, Jul 22, 2011 at 11:00 PM, Noe Nieto <nnieto at noenieto.com> wrote:
> > I have a Canon MP250 device. The manpage of the pixma backend states that
> > this device is supported, but when trying to use scanimage, there's no
> > scanner detected.
> >
> > Test case:
> >
> > Plug the scanner, and check lsusb and /var/log/messages:
> >
> > # dmesg
>
> - sane-find-scanner only checks libusb can detect the scanner, not if
> SANE's backends are working or not. So all is well on that front at
> least.
>
>
Ok


> - check if pixma_mp150.c has this scanner listed in it. At the tip f
> the file the USB ID, at the bottom of the file the properties.
>

Yes, it has. It's listed as  "Generation 4"
Even, the first macro definition for MP250 corresponds with the secod part
of the usb id:

Macro:
#define MP250_PID 0x173a
usb id:
Bus 001 Device 009: ID 04a9:173a Canon, Inc.

The MP250 is also registered as a device at the bottom of the file:

 DEVICE ("Canon PIXMA MP250", "MP250", MP250_PID, 600, 638, 877,
PIXMA_CAP_CIS),



>
> - check if you compiled correctly (local compiles by default go into
> /usr local so your scanimage should be running from there)
>
>
$ whereis scanimage
scanimage: /usr/bin/scanimage /usr/share/man/man1/scanimage.1.gz


$ ls -l /usr/lib/sane/libsane-pixma.so*
lrwxrwxrwx. 1 root root     23 jul 22 08:30 /usr/lib/sane/libsane-pixma.so
-> libsane-pixma.so.1.0.23
lrwxrwxrwx. 1 root root     23 jul 22 08:30 /usr/lib/sane/libsane-pixma.so.1
-> libsane-pixma.so.1.0.23
-rwxr-xr-x. 1 root root 133052 jul 19 22:13
/usr/lib/sane/libsane-pixma.so.1.0.23


- run scanimage as root to see if it might be a permissions issue
>
>
I already did, and the same result.


> HTH as a start,
> Gernot Hassenpflug
>



-- 
---
Noe Nieto
NNieto Consulting Services
M: nnieto at noenieto.com
W: http://noenieto.com
T:  @tzicatl <https://twitter.com/#%21/tzicatl>
Li: Perfil en LinkedIn <http://www.linkedin.com/profile/view?id=84300665>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110722/eab78489/attachment-0001.html>


More information about the sane-devel mailing list