Hi there, I’m trying to get my Canon Pixma MP510 scanner to work under openSUSE 11.3. Canon Linux Support doesn’t seem to have anything for 11.3, but sane claims to provide basic functionality. The printer is working fine, but I don’t manage to configure the scanner.
I tried to configure via YaST, but the following happens: The scanner is found, but (correctly) labbelled as “not configured”. Clicking “Edit”, the PIXMA MP510 is listed and a driver suggested:
“Canon PIXMA MP510: (Package sane-backends) Driver pixma should provide basic functionality (USB-ID 0x04a9:0x1717)”
If I select this option an click on “Next”, the window crashes and I get the following error in the KDialog window, but I have no clue what it means:
“YaST got signal 11 at YCP file Wizard.ycp:849
/sbin/yast2: line 399: 5663 Segmentation fault $ybindir/y2base $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS”
Is this a YaST problem? Or driver related? I thought about configuring the scanner without YaST, but don’t know how to do it. I tried to google a HowTo, but couldn’t find anything useful.
The command “sane-find-scanner” successfully detects the scanner,
“found USB scanner (vendor=0x04a9 [Canon], product=0x1717 [MP510]) at libusb:001:004”,
but the command “scanimage -L” yields
“No scanners were identified.”
Can somebody please help me? Any suggestions how to make YaST configure my scanner? Or how to configure it without YaST? If possible, explained in a simple, step-by-step way?
it is traditional to say that Canon does not offer support, but here on this page are rpm packages that would be good for opensuse, and deb packages for debian derivatives;
one option would be to install the ScanGear; that would hopefully drive your scanner;
I have had issues with “permissions” for scanners on OpenSuse in the past; “root” owns the scanner and I had to issue “chmod” commands to change the ownership to user; I am not clear if that is happening here to you
one option would be to install the ScanGear; that would hopefully drive your scanner;
Thanks, I had tries this before, but I was running into library problems I couldn’t solve: The scangear was designed for opensuse 10.2. When I try to install the rpm, the dependencies require some libs. Then I tried to find them, but at some point I found the information that at least some of the required libs are not available for 11.3, because some larger piece of software has been superseded and is not available for 11.3. Sorry for being so imprecise, it’s already a couple of weeks ago that I tried it, and I didn’t document my attempt well enough…
I have had issues with “permissions” for scanners on OpenSuse in the past; “root” owns the scanner and I had to issue “chmod” commands to change the ownership to user; I am not clear if that is happening here to you
[/QUOTE]
I don’t understand this comment. When YaST crashes when I try to configure the scanner, I am doing this as root. For what files should I run into ownership problems? Not clear to me how this might be related to my problem?
@deano-ferrari: the output for “scanimage -L” I posted was obtained as root. The other comment, apparently related to pdc_2’s one, unfortunately I don’t understand. What would I need add to what group? Is that a problem that could prevent me already from configuring the scanner with YaST?
Thanks to both of you for your comments, maybe you have some further hints for me!?
If ‘scanimage -L’ does not work as root, then its not a simple permissions (group issue). You will probably need to take pdc_2’s advive and install the scangear packages
FWIW, I downloaded the scangearmp rpm’s then installed with
zypper in /home/dean/Downloads/scangearmp-common-1.00-2.i386.rpm
zypper in /home/dean/Downloads/scangearmp-mp510-1.00-1.i386.rpm
The first package warned that libpng.so.3 was missing, but I chose to ignore this and install anyway. Then I created a soft link with
ln -s /usr/lib/libpng12.so.0 /usr/lib/libpng.so.3
I then tried running scangearmp (from a terminal as regular user), and got some Gtk warnings, but that’s as far as I can go without having the actual scanner present.
Tried the same, got an error message
“(scangearmp:5158): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated”,
but scangear started. When I tried to scan a testpage, the scanner started, but got stuck immediately. No error message, though. Any suggestions what else I could try? Otherwise I might try contact the Canon support, but I was warned that for Linux I shouldn’t expect anything useful from them…
Thanks for your help, deano_ferrari, very much appreciated!
No, xsane complains that no scanner is configured. As you can see from my first post, what I tried first is actually to configure the scanner with sane, but I didn’t manage to.
Maybe someone has a suggestion for me on how to configure the scanner with sane-pixma?
I must admit its difficult to see where things are not right here. Normally, the automatically-detected scanner is available to xsane (though libusb) when plugged in. I’ve never needed to ‘configure’ a usb-connected scanner. Network-attached scanners are a differnt story.
You could try configuring via ncurses (text) YaST interface with
sudo /sbin/yast
See if that works better for you.
FWIW, I’ll share this blog with you (as your model is mentioned):
whereby the usblp driver is claiming the usb device, and preventing scanimage -L from detecting the scanner (even as root). Try the suggestions in #1 (re removing the usb drivers, then plugging in the hardware…)
After researching this a little more, and testing with an epson CX5500 I had at hand, I experienced the same problem as you’ve described. This may point to broken backends with 1.0.21
I was able to download Epson drivers from Avasys, and this brings in the epkowa backend, which fixed the detection for me.
@deano ferrari: your earlier suggestion to try /sbin/yast (the text interface of YaST) was a success: I was able to configure the printer with the sane-pixma driver, and now I can scan with scanimage! Yesssss!
Success is not 100%, though: xsane doesn’t work. Although I could live without, I will give it a try. Need to do some more testing first, but won’t have the time probably during the next two days. Will post as soon I have done it.
A big THANKS to you, deano_ferrari!
Well done Der-Michel! I would be interested in knowing which files in /etc/sane.d/ that the yast scanner config utility modified. I suspect saned.conf, canon.conf (or pixma.conf), and maybe dll.conf could be involved.
It would be interesting to see if any entries got added to the end of one (or more) of these files, as it might assist others with detection problems:
cat /etc/sane.d/saned.conf
cat /etc/sane.d/canon.conf
cat /etc/sane.d/pixma.conf
cat /etc/sane.d/dll.conf
It might be that ‘usb 0x04a9 0x1717’ got explicitly to pixma.conf for example (so that the backend is explicitly associated with the pixma backend). If/when you have time, please post the output so that I can examine these files for any changes. Thanks.
dll.conf is the only file that has been modified, the other conf-files are unchanged since installation. The output of cat /etc/sane.d/dll.conf is
# enable the next line if you want to allow access through the network:
#net
#abaton
#agfafocus
#apple
#avision
#artec
#artec_eplus48u
#as6e
#bh
#canon
#canon630u
canon_dr
#canon_pp
#cardscan
#coolscan
#coolscan2
#coolscan3
#dc25
#dc210
#dc240
#dell1600n_net
#dmc
#epjitsu
#epson
#epson2
#fujitsu
#gphoto2
#genesys
#gt68xx
#hp
#hp3900
#hpsj5s
#hp3500
#hp4200
#hp5400
#hp5590
#hpljm1005
#hs2p
#ibm
#kodak
#kvs1025
#leo
#lexmark
#ma1509
#matsushita
#microtek
#microtek2
#mustek
#mustek_pp
#mustek_usb
#mustek_usb2
#nec
#niash
#p5
#pie
#pint
pixma
#plustek
#plustek_pp
#pnm
#qcam
#ricoh
#rts8891
#s9036
#sceptre
#sharp
#sm3600
#sm3840
#snapscan
#sp15c
#st400
#stv680
#tamarack
#teco1
#teco2
#teco3
#test
#u12
#umax
#umax_pp
#umax1220u
#v4l
#xerox_mfp
# The hpaio backend is provided by the hplip package:
#hpaio
so only canon_dr and pixma are uncommented.
The weird thing now is: I can scan from the command line with scanimage, but neither xsane nor skanlite works: skanlite starts scanning and stops after 17%. xsane can even do full previews, but when I press “scan” it says “operation was cancelled”. Any idea what that could be?