[sane-devel] Canon MG5150

m. allan noah kitno455 at gmail.com
Fri Dec 28 19:04:25 UTC 2012


install the development headers for libusb.

allan

On Fri, Dec 28, 2012 at 11:39 AM, Remy Keil <remy.keil at gmail.com> wrote:
> Hi Rolf,
>
> thanks a lot for your feedback.
>
> I successfully installed the latest version from git.
>
> $ git clone git://git.debian.org/sane/sane-backends.git
> $ ./configure
> $ make
> $ make install
>
> $ scanimage -V
> scanimage (sane-backends) 1.0.24git; backend version 1.0.24
>
> $ sane-find-scanner -v
> This is sane-find-scanner from sane-backends 1.0.24git
> ...
> searching for USB scanners:
> ...
> checking /dev/usb/scanner15... failed to open (Invalid argument)
> ...
> checking /dev/usbscanner15... failed to open (Invalid argument)
> libusb not available
> << ???
>   # No USB scanners found. If you expected something different, make sure
> that
>   # you have loaded a kernel driver for your USB host controller and have
> setup
>   # the USB system correctly. See man sane-usb for details.
>   # SANE has been built without libusb support. This may be a reason
> << ???
>   # for not detecting USB scanners. Read README for more details.
> << ???
>
> "libusb not available" ...
> so after updating to the new sane version there seems to be a problem
> between sane and libusb.
>
> I read the sane usb manpages, but nothing found for this case. libusb is
> installed and was working with sane 1.0.21.
>
> $ rpm -qa | grep libusb
> libusb1-1.0.9-0.5.rc1.el6.x86_64
> libusb-0.1.12-23.el6.x86_64
>
> $ lsusb | grep Canon
> Bus 001 Device 006: ID 04a9:1748 Canon, Inc. Pixma MG5150
>
> Any suggestions?
>
> Thanks a lot for your help!
>
> Cheers,
> Rémy
>
>
>
> On Thu, Dec 27, 2012 at 1:13 PM, Rolf Bensch <webmaster at bensch-online.de>
> wrote:
>>
>> Hi Remy,
>>
>> You need to install Sane 1.0.24 from git. Please follow the installation
>> description in README.linux.
>>
>> The driver for MG5100 may be buggy.
>>
>> Please report your success and bugs here again.
>>
>> Cheers,
>> Rolf
>>
>>
>>
>> Am 26.12.2012 17:43, schrieb Remy Keil:
>> > Hi All,
>> >
>> > I'm new to the sane-devel mailing list. I hope it's the right place to
>> > get support ;) And maybe I can help you too, by testing this device.
>> > Over my holidays I started to migrate my little atom server from windows
>> > to linux. It's used as a print and fileserver.
>> >
>> > I'm running SANE on centOS 6.3 (x86_64). MFP is attached via usb.
>> >
>> > until now I wasn't able to get the scanner recognized by SANE.
>> >
>> > $ sane-find-scanner -q
>> > found USB scanner (vendor=0x04a9 [Canon], product=0x1748 [MG5100
>> > series]) at libusb:001:004
>> >
>> > $ scanimage
>> > WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> > belong into /etc/modprobe.d/.
>> > WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> > belong into /etc/modprobe.d/.
>> > WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> > belong into /etc/modprobe.d/.
>> > WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> > belong into /etc/modprobe.d/.
>> > WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> > belong into /etc/modprobe.d/.
>> > WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> > belong into /etc/modprobe.d/.
>> > scanimage: no SANE devices found
>> >
>> > $ lsusb
>> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> > Bus 001 Device 002: ID 1058:1010 Western Digital Technologies, Inc.
>> > Elements External HDD
>> > Bus 001 Device 004: ID 04a9:1748 Canon, Inc. Pixma MG5150
>> > Bus 003 Device 002: ID 04e8:3256 Samsung Electronics Co., Ltd ML-1520
>> > Laser Printer
>> >
>> > $ ls -la /dev/usb/lp0
>> > crw-rw----. 1 root lp 180, 0 Dec 26 16:45 /dev/usb/lp0
>> >
>> > steps I've done until now:
>> > - installed canon printer driver
>> > - installed canon scanner driver
>> > - added printer to CUPS > printing is working
>> > - scanning not working so far..
>> > - added entry to /lib/udev/rules.d/65-libsane.rules
>> >     # Canon PIXMA MG5150
>> >     ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1748",
>> > ENV{libsane_matched}="yes"
>> > - still not working...
>> >
>> > installed packuages:
>> > cnijfilter-common-3.40-1.x86_64
>> > cnijfilter-mg5100series-3.40-1.x86_64
>> > scangearmp-common-1.60-1.x86_64
>> > scangearmp-mg5100series-1.60-1.x86_64
>> > sane-frontends-1.0.14-9.2.el6.x86_64
>> > sane-backends-1.0.21-3.el6.x86_64
>> > sane-backends-libs-gphoto2-1.0.21-3.el6.x86_64
>> > sane-backends-libs-1.0.21-3.el6.x86_64
>> >
>> > I hope I can get it working with your help, I don't want to do a
>> > rollback to windows :-))
>> >
>> > Cheers,
>> > Remy
>> >
>> >
>
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list