Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 02:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to configure scanner in Canon Pixma MP250? (SOLVED)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [36 Posts]   Goto page: 1, 2, 3 Next
Author Message
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Sat 10 Apr 2010, 09:36    Post subject:  How to configure scanner in Canon Pixma MP250? (SOLVED)  

I downloaded the printer drivers for the Canon Pixma MP250 in my Presario CQ50 from http://www.murga-linux.com/puppy/viewtopic.php?t=47444 and installed them without problem (thanks Patriot). The scanner, nevertheless, seems to be more tricky: xsane keeps not recognizing my model (in fact, it is not included in Sane's "supported devices" list http://www.sane-project.org/sane-mfgs.html#Z-CANON).

Things I tried:

1) This forum entry http://www.murga-linux.com/puppy/viewtopic.php?t=50878
is for a different Pixma model, but through it I discovered that there is a command called "pixmascan" that allows you to scan from console. I have Puppy 4.3.1., so I should have pixmascan, but I don't ("command not found")

2) Via an Ubuntu forum (can't find the link), I read that I had to download and decompress scangear from Canon http://support-au.canon.com.au/contents/AU/EN/0100237401.html
I did it, but no results at all.

3) A new focus that seemed very promising: a whole blog on Canon Pixma models. I followed the best I could the instructions to update Sane as explained here:
http://mp610.blogspot.com/2008/04/give-your-scanner-new-freshly-sane.html

I found this obstacle, though:

Quote:
Check first that the development libusb library is present and installed.

On Mandriva, the rpm is called something like:

libusb0.1_x-devel-...

on Ubuntu, it is called: libusb-dev.

Install the package, if not already installed.

Be warned that if not installed, compilation will success, but the backend will not work, and no error message will be prompted!


searching "libusb" with Pfind did not show any result with a "dev" or "devel" on it. I kept on going, did the compiling (my first one! Cool ), and once it finished I tested the installation as explained in the blog:

Quote:
Test Sane installation

Now, check that the new Sane git is correctly installed.

Current Sane git sane-backends version is 1.0.21, check it:

$ scanimage -V
scanimage (sane-backends) 1.0.21cvs; backend version 1.0.21


But my output is not like that: my backends version continues being 1.0.20., so I guess the installation is wrong. Maybe I am missing that one library? Where could I find it? Is it a different thing? Sorry for the long entry but I thought this information might be valuable for others too.

Last edited by Rattlehead on Tue 29 Jun 2010, 07:03; edited 1 time in total
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 10 Apr 2010, 11:46    Post subject:  

I have an MP210.

All it needed for the scanner was mp150_sane-0.14.4.pet and scangearmp_common-1.10-1.i386.pet, both from rcrsn51, at
http://www.murga-linux.com/puppy/viewtopic.php?t=42703.
Back to top
View user's profile Send private message 
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Sat 10 Apr 2010, 19:53    Post subject:  

Nope. Sad I tried that but no luck. Pixma mp250 is not included among the covered models. I installed both scangears because 20 was said to add support for other models, but xsane continues not detecting my scanner. Typing "Pixmascan -LL" shows a list of models (no mp250, it jumps from mp220 to mp470), and the message "No supported scanner found".

Any other suggestion?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Sun 11 Apr 2010, 19:21    Post subject:  

Edited: See post a bit further along.
Last edited by muggins on Mon 12 Apr 2010, 22:31; edited 1 time in total
Back to top
View user's profile Send private message 
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Sun 11 Apr 2010, 22:02    Post subject:  

Oh goodness!

Quote:
scangearmp: error while loading shared libraries: libsane-canon_mfp.so.1: cannot open shared object file: No such file or directory


The dreaded dependencies, maybe? This is far beyond my knowledge!
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Mon 12 Apr 2010, 01:26    Post subject:  

Try uninstalling, then re-installing the .pet I just re-uploaded, with the missing symlink.

Otherwise, on the commandline, you just need to run:

Code:
ln -s /usr/lib/libsane-canon_mfp.so.1.0.4 /usr/lib/libsane-canon_mfp.so.1
Back to top
View user's profile Send private message 
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Mon 12 Apr 2010, 06:34    Post subject:  

Pet un and reinstalled. Still no luck. Crying or Very sad
Output when creating the link:

Quote:
ln: creating symbolic link `/usr/lib/libsane-canon_mfp.so.1': File exists


Output when running scangearmp:
Quote:
scangearmp: error while loading shared libraries: libgimp-2.0.so.0: cannot open shared object file: No such file or directory


More dependencies missing?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Mon 12 Apr 2010, 07:41    Post subject:  

I'll have to get back to you on this...whilst I do have gimp installed on my setup, I have absolutely no idea why scangearmp would link with those library files? I'll try recompiling without any gimp installed.
Back to top
View user's profile Send private message 
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Mon 12 Apr 2010, 07:56    Post subject:  

Thanks for your efforts muggins. I'll be glad to hear of you.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Mon 12 Apr 2010, 22:30    Post subject:  

Rattlehead,

I looked at the source, and they're deliberately compiling it to be able to use Gimp plugin functionality. So the simplest thing would be to just install Gimp. I'm using version 2.4.6, so just do a search in the additional software section.

Otherwise, on recompiling, it seems a lot of the library files I included in the original .pet were unneeded, so the attached package is a lot smaller.

Let us know how you go if you re-install this, plus gimp.
scangearmp-mp250-1.40-1.pet
Description 
pet

 Download 
Filename  scangearmp-mp250-1.40-1.pet 
Filesize  645.6 KB 
Downloaded  258 Time(s) 

Last edited by muggins on Tue 20 Apr 2010, 17:00; edited 1 time in total
Back to top
View user's profile Send private message 
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Wed 14 Apr 2010, 04:57    Post subject:  

Thanks Muggin, I was looking forward to install Gimp anyway, so this is no problem for me. I'll give it a try this weekend, when I have some more time, and tell you how it goes. Smile
Back to top
View user's profile Send private message 
Rattlehead


Joined: 11 Sep 2008
Posts: 213
Location: Madrid, Spain

PostPosted: Fri 16 Apr 2010, 21:02    Post subject:  

Almost there, I think. I managed to install Gimp from http://dotpups.de/puppy4/dotpups/Graphics/Gimp-2.6.3/

It took me a while because, whenever I installed glib-2.6.6-i486, my computer became stupid -did not obey to icons, and the like. I had a different glib version already installed, I guess, because, simply excluding that file from installation, Gimp works without any error.

OK. First try: xsane still ignores me

Then I created the symbolic link
Quote:
ln -s /usr/lib/libsane-canon_mfp.so.1.0.4 /usr/lib/libsane-canon_mfp.so.1


and run "pixmascan -LL"

Output: the same as previously. List of scanners which does not include mine, and "No supported scanner found!"

Next try: "scangear mp"

Output:
Quote:
error while loading shared libraries: libgimp-2.0.so.0: cannot open shared object file: No such file or directory


I then ran pfind and found that libgimp-2.0.so.0 does exist, in /usr/local/lib, as a symbolic link to libgimp-2.0.so.0.600.3, which is in the same folder. So, I'm pretty sure that scangearmp is looking in the wrong folder and all I need is a symbolic link. What should I link? I'm still not very familiar with the folder structure Confused Or my guess is wrong?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Fri 16 Apr 2010, 21:47    Post subject:  

Try doing:

Code:
ln -s /usr/local/lib/libgimp-2.0.so.0 /usr/lib
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 17 Apr 2010, 04:16    Post subject: sane and scangear-common-1.40 for all Canon scanners  

Try this. It contains the newest sane frontend and backend software for all Canon scanners, plus scangear-common-1.40-1.

It is probably much bigger than you need.

Try Menu --> Graphic --> Graphic Utilities --> XSane

It also has scangearmp and pixmascan but I haven't tried these.

It works on my MP210 and has the definitions for the MP250, so it should work for you.

pixma-sane-and-scangear-1.0.0.pet
(right-click on the "Click here to download" button at bottom of page, and save linked target)
File size: 2.4MB
md5sum:
# md5sum pixma-sane-and-scangear-1.0.0.pet
c488825b6daf5ca30d07849910c53d1e pixma-sane-and-scangear-1.0.0.pet
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Sat 17 Apr 2010, 09:47    Post subject:  

Rattlehead wrote:
I then ran pfind and found that libgimp-2.0.so.0 does exist, in /usr/local/lib, as a symbolic link to libgimp-2.0.so.0.600.3, which is in the same folder. . . .

I don't have a Puppy running at the moment, so cannot verify the following for Puppy, but it is true for other distros.

When the linker/loader looks for a library, it looks in its cache file, /etc/ld.so.cache. If you install a new library it won't be included in the cache file until you update the cache by executing the following command (the -v is optional):
Code:
/sbin/ldconfig -v

If you installed the new library in /lib or /usr/lib the linker/loader may find it anyway because those are the default places that it looks after looking in its cache file. But it doesn't look in /usr/local/lib by default.

(The directories that it looks in when updating the cache are listed in /etc/ld.so.conf or one of the files included by that file. /usr/local/lib is usually (always?) among those directories. So you shouldn't need to change anything there.)

Bottom line: Executing the ldconfig command may be all you need to do to help scangear find the library.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [36 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0923s ][ Queries: 12 (0.0099s) ][ GZIP on ]