Canon MP540 and libusb

Hello,

i bought a Canon MP540 USB Printer/Scanner. I download the driver from the canon homepage. The printer driver runs fine and there are no problems ;), but there are 2 scanner driver (common and mp540). When i start to install the common driver there comes the failure: …the common driver needs libusb …) I installed all libusb…driver (all of them) :, but there ist still the failure. Where can i find the missing libusb or what can i do?

I am experiencing the same issue, although with a canon MP210. Again, the printer works fine, but the scangearMP won’t install because of some mysterious requirement.

Help would be appreciated.

are you running 32bit or 64bit suse?

Same problem with the CanonMP520,I installed the drivers from canon and the printer works but installation of the scanner needs that libusb dependency.Where can we find that.
I am running also Ubuntu,linuxmint,Mandriva,slackware and a few others with no scan problems after installing the drivers.Either they have that libusb or don’t need it.
Running a 32bit

can you copy and paste the error message that you are getting?

I guess we also ask you to log in as root; and type in the command

scanimage -L

also can you go into YaST; then software management; you can click on stop refresh to open the final screen more quickly; then click on the installed button; and then type libusb into the filter screen; and tell us what comes up;

OK,since I am having the same problem,here are my answers to your questions:
1.Error
linux-f6nz:/home/zeger # rpm -ivh /home/zeger/Download/scangearmp-common-1.10-1.i386.rpm
error: Failed dependencies:
libusb is needed by scangearmp-common-1.10-1.i386

2.Output of scanimage _L

**linux-f6nz:/home/zeger # scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).**

3.In yast I get as installed (installed them myself)

libusb-0_1-4
libusb-0_1-5
libusb-1_0-0
libusb-1_0-devel
libusb-compat-devel
libusbpp-0_1-4
libusbprog0

Not installed (conflicting with one of the above)
libusb-devel
For me it looks like I am missing the plain old usblib!I am running quite a lot of linux distros and they all installed the canonMP520 printer AND scanner when I provided the canon supplied drivers.Never asked me about usblib.
Any suggestions?
Thanks

so when you installed your system, you installed Suse 11.1 from a DVD install?

we are running 11.0 and when I open YaST and software management I find that we have libusb 0.1.12-110.1 installed; and libusb-devel 0.1.12-110.1 installed;both from the main repository;

some might suggest you only have one version installed; instead of several,but I will not make any suggestions on libusb;

however another way to drive a scanner, is to go to:

SANE: Supported Devices

curiously, the MP500 and MP510 and MP530 are listed; (but not the 520 and 540) as having basic-good support;

using the sane drivers may well get your scanner working; but a suse glitch is that root will own the scanner and may be reluctant for a user to have access privileges

I installed Suse 11.1 from DVD,no problems

I also tried to install other libusb 0.1.12-110.1(yours)and 0.12-112.1(I think)from a suse repository(rpm) but they wouldn’t install because of conflict with the one(s) that is there.I was kind of wary to remove the installed one.

I had a look at the SANE site. The download comes in .tar,I remember having a hard time to get those installed and as you said models 520 and 540 are not listed but close.I don’t know yet.

It’s really strange.So far as I know Suse is the only one with that libusb problem with that type of scanner.It worked on most distro’s I played with(14).

I wonder if you have 64bit Suse installed; and I wonder if that is where the issue lies;

you can search using GUI or CLI (terminal);

but if you opened an icon on your desktop; (we use Gnome and it is called pdc’s home: I guess KDE is in Konqueror??) and rather than user files selected file system;am I making myself clear?

if you look in the directory

usr

we use 32bit Suse; and inside usr have a directory called

lib

and inside that are all our libusb files; of various assortments;

when you open

usr
, I wonder if you will see both lib and lib64;

I hope you will tell us that below the list of directories in /usr/lib that there are a list of files, and amongst those should be various libusb files …

and I wonder if you system is looking into lib64 and not finding the libusb; (as I am assuming that they may only be in /usr/lib)

if this could be the answer, you would need a symbolic link; or just copy any libusb files from /usr/lib to /usr/lib64

let us know how this all looks to you

Looking in /usr/lib I find these:

libusb-0.1.so.4 (link to shared library application/x-sharedlib)
libusb-0.1.so.4.4.4
libusb-1.0.so.0 (link to shared library application/x-sharedlib)
libusb-1.0.so.0.0.0
I have no idea if they are 32 or 64bit
Is this what you want?

great;

I wonder if you using 32bit or 64bit Suse;

… I think the command is

uname -r

when you look in usr, do you see a directory called lib64 as well as the lib directory that you have found?

In usr there is only one directory lib.
In it are the 4 items I gave.

When I do uname -r:

zeger@linux-71q9:~> uname -r
2.6.27.7-9-pae

For me libusb is there,maybe when I do rpm -ivh to install the canon scanner drivers he can not find it or it is the wrong libusb
It’s a mystery to me.

what do you get with the command

getconf -a | grep KERN

(I think it more directly tries to work out 32bit or not …

Nothing comes out when i do that

linux-71q9:/home/zeger # getconf -a | grep KERN
linux-71q9:/home/zeger # 

sorry

try

uname -a

Here it is:

linux-71q9:/home/zeger # uname -a
Linux linux-71q9 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

I don’t see any 32 or 64bit reference

just a add-on
I have a Suse 10.2 installed on a laptop so I tried to install the canon MP520 scanner drivers there just to see if I could. And yes no problem at all and no questions about libusb.
So the problem is suse 11.1 specific.
I don’t know what changed between 10.2 and 11.1. I checked the /usr/lib files on suse 10.2 and they look the same as those in 11.1

well maybe when you want to scan, you can connect the MP to your laptop? We still run a Canoscan on a 10.2 Suse on one computer;

maybe you report this problem to the folks at Suse; as a bug report? you seem to have defined it very well as someone in 11.1

I don’t think we can take it much further now;

all best wishes

I am having the same problem with a Canon MP520 on a 32-bit PC.

My previous openSUSE 11.0 worked perfectly with the Canon scangearmp drivers.

Now that I have installed openSUSE 11.1 I also have the “cannot find libusb” message although all libusbxxx rpms are installed.

I suspect the libsub package has been renamed or is located in another directory with openSUSE 11.1.

Perhaps one of the following knows the answer:

Johannes Erdfelt <johannes@erdfelt.com>
Thomas Sailer <sailer@ife.ee.ethz.ch>
Brad Hards <bradh@frogmouth.net>
Daniel Drake <dsd@gentoo.org>
Artem Egorkine
David Engraf
Rob Walker
Vasily Khoruzhick

Yes,well…my commiserations.I filed a bug report with suse over this and their answer:

— Comment #1 from Johannes Meixner <jsmeix@novell.com> 2009-02-11 05:01:06 MST —
The Canon Pixma MP520 scanner unit is currently not
supported by a SANE scanner driver which we provide
for openSUSE 11.1.

Therefore you wrote
“Canon provides linux drivers for this device”.

I.e. you use a third-party scanner driver software.

It is a well known drawback of third-party drivers
that they may no longer work for a new openSUSE version
because of whatever special assumptions in the driver.

We cannot adapt their drivers for a new openSUSE version.

Therefore you must go to Canon and ask them,
if anything goes wrong with their driver
for openSUSE 11.1

My answer to that(but it doesn’t really matter)

Well,I really find this unacceptable.If the scanner worked with suse 10.2 and
10.3 it should work with 11.1.Later suse versions (and any other distro for
that matter)are supposed to build and expand on what they have and provide
support for even more devices than in the earlier versions.
The problem is with opensuse 11.1 not with Canon. They provided driversthat
worked with your earlier versions.It is quite normal one should expect they
work with later versions of the OS.This is really bad policy.Bye bye Suse.

So end of story I suppose unless somebody comes up with a solution. I still find their answer amazing and not at all linux-like.