How to configure scanner in Canon Pixma MP250? (SOLVED)

Using applications, configuring, problems
Message
Author
User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#16 Post by Rattlehead »

Sit Heel Speak,

After installing your new front-end I get this Xsane message:

Error - Failed to open device `v4l:/dev/video`: Invalid argument.

And the only option available is "close" :roll:

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#17 Post by Rattlehead »

Npierce,

after updating libraries (thank you for the neat explanation, why isn't that kind of things in the wiki?), I get:

-From pixmapscan -LL: the same error of ever (list of models and "device not found").

-From scangearmp:
error while loading shared libraries: libcncpmsui.so: cannot open shared object file: No such file or directory
More libraries missing? :shock:

Thanks all you guys this forum is great.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#18 Post by Sit Heel Speak »

Rattlehead wrote:Error - Failed to open device `v4l:/dev/video`: Invalid argument...and the only option available is "close" :roll:
Heh...the v4l drivers were the only ones in that whole set which I was unsure of, whether they should be included or not. I included them only because "v4l" brought to mind "video for linux" and, though I have no idea how v4l might interface with a scanner, I guessed that it might be useful.

The Puppy I am running has a node "video" inside /dev, it is actually a symlink to video0. Open /dev and see if you have the video symlink to video0. If not, create it in an rxvt terminal window:

Code: Select all

ln -s /dev/video0 /dev/video
and see if my frontend still gives the error message. If success, then if you are running a frugal install you *might* have to append the ln -s line to the end of /etc/rc.d/rc.local to recreate it upon every boot (--note: I'm not sure how Puppy's layering system in a frugal install handles nodes in /dev, i.e. are they created fresh from scratch at every boot, or are they persistent across boots?).

Anyway, make the symlink if it isn't there and try again.

Also,
error while loading shared libraries: libcncpmsui.so: cannot open shared object file: No such file or directory
Oops. My package contains libcncpmsui.so.1.4.0 but I neglected to create the usual symlinks.

Install my .pet again and then issue

Code: Select all

ln -s /usr/lib/libcncpmsui.so.1.4.0 /usr/lib/libcncpmsui.so.1
ln -s /usr/lib/libcncpmsui.so.1.4.0 /usr/lib/libcncpmsui.so
and try scangearmp again.

Also, what output does it give you from pixmascan -LL?

Are you running any sort of video for linux software/hardware?

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#19 Post by Rattlehead »

Open /dev and see if you have the video symlink to video0.
Yes, I have that link. No need to create it. (My installation is Puppy 4.3.1. frugal indeed, btw)

Install my .pet again and then issue
Code:
ln -s /usr/lib/libcncpmsui.so.1.4.0 /usr/lib/libcncpmsui.so.1
ln -s /usr/lib/libcncpmsui.so.1.4.0 /usr/lib/libcncpmsui.so
and try scangearmp again.
The second link already exists (not the first one). The front end repeats the "Failed to open device `v41:/dev/video0': Invalid argument" message

scangearmp output:
scangearmp: error while loading shared libraries: libgimpconfig-2.0.so.0: cannot open shared object file: No such file or directory
(but I have installed gimp, as explained above)

pixmascan -LL output:
Supported scanner(s):
Name VID:PID IF DPI
Canon PIXMA MP150 04a9:1709 0 1200x2400
Canon PIXMA MP170 04a9:170a 0 1200x2400
Canon PIXMA MP450 04a9:170b 0 1200x2400
Canon PIXMA MP500 04a9:170c 0 1200x2400
Canon PIXMA MP530 04a9:1712 0 1200x2400
Canon PIXMA MP800 04a9:170d 0 2400x4800
Canon PIXMA MP800R 04a9:170e 0 2400x4800
Canon PIXMA MP830 04a9:1713 0 2400x4800
Canon PIXMA MP160 04a9:1714 0 600x1200
Canon PIXMA MP180 04a9:1715 0 1200x2400
Canon PIXMA MP460 04a9:1716 0 1200x2400
Canon PIXMA MP510 04a9:1717 0 1200x2400
Canon PIXMA MP600 04a9:1718 0 2400x4800
Canon PIXMA MP600R 04a9:1719 0 2400x4800
Canon PIXMA MP140 04a9:172b 0 600x1200
Canon PIXMA MP810 04a9:171a 0 4800x9600
Canon PIXMA MP960 04a9:171b 0 4800x9600
Canon PIXMA MP210 04a9:1721 0 600x1200
Canon PIXMA MP220 04a9:1722 0 1200x2400
Canon PIXMA MP470 04a9:1723 0 2400x4800
Canon PIXMA MP520 04a9:1724 0 2400x4800
Canon PIXMA MP610 04a9:1725 0 4800x9600
Canon PIXMA MX700 04a9:1729 0 2400x4800
Canon PIXMA MX300 04a9:1727 0 600x1200
Canon PIXMA MX310 04a9:1728 0 1200x2400
Canon PIXMA MX700 04a9:1729 0 2400x4800
Canon PIXMA MP970 04a9:1726 0 4800x9600 experimental
Canon PIXMA MP750 04a9:1706 0 2400x4800
Canon PIXMA MP760 04a9:1708 0 2400x4800
Canon PIXMA MP780 04a9:1707 0 2400x4800
Canon SmartBase MP360 04a9:263c 1 1200x1200
Canon SmartBase MP370 04a9:263d 1 1200x1200
Canon SmartBase MP390 04a9:263e 1 1200x1200
Canon MultiPASS MP700 04a9:2630 1 1200x1200
Canon MultiPASS MP710 04a9:264d 1 1200x1200
Canon MultiPASS MP730 04a9:262f 1 1200x1200
Canon MultiPASS MP740 04a9:264c 1 1200x1200

No supported scanner found!
#
:(

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#20 Post by Sit Heel Speak »

I'm transferring everything over to another machine, so it will be a few days before I can look at this again...

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#21 Post by npierce »

Rattlehead wrote:scangearmp output:
scangearmp: error while loading shared libraries: libgimpconfig-2.0.so.0: cannot open shared object file: No such file or directory
(but I have installed gimp, as explained above)
Okay, so it should be there, unless something has overwritten the link since you installed Gimp, or something else went wrong. Last week when it couldn't find libgimp-2.0.so.0, you found it with pfind. It might now be worth trying that for libgimpconfig-2.0.so.0 to see if both the link and the file it points to really exist.

(Assuming that you installed the 2.6.3 version (gimp-2.6.3-i486.pet), I would expect it to be in /usr/local/lib along with libgimp-2.0.so.0 and, since you ran ldconfig, I would think it could find it. But since it can't, a little hunting might give us a clue.)

I wonder what else it can't find. If you execute the following command, do you get a long list?

Code: Select all

ldd /usr/local/bin/scangearmp | grep "not found"

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#22 Post by Rattlehead »

Er... I ran ldconfig again and the error disappeared :oops: At some point, after installing so many different programs, I got back to a previous, clean pupsave, and then, in further experiments, I maybe skipped that step.

Now scangear opens, the computer communicates with the scanner, victory is close but not yet:

I press "preview" or "scan" (not exact names because my Scangear is in Spanish), and both show the same result:

-Message telling "wait, the scanner is warming up"

-Progress bar with a % that never starts and

-The scanner makes some noises that look quite ugly to me, and then the program freezes.

I remember that some documentation (but I don't remember if it was in this particular program or other) warned that there was a risk of damaging the scanner because the program did not calculate the limit to stop the scanner or something like that. Maybe those noises are normal (I don't have a reference because I just bought the scanner, never used it before), but they sound quite ugly to me and, obviously, I want to ask before making more tests... :roll:

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#23 Post by npierce »

Okay, sounds like some progress.

Unfortunately, I know next to nothing about SANE (except that whoever came up with the name, "Scanner Access Now Easy", must have had a strange sense of humor). So perhaps you might want to wait for Sit Heel Speak, or someone else who is familiar with this stuff before proceeding. I couldn't tell you if the sounds your scanner was making are worrisome or not.

That said, I am wondering if the old pupsave that you are using was from before the time that you installed the scangearmp-mp250series package from Canon. That package has a bunch of stuff like /usr/lib/bjlib/CNC250.DAT, /usr/lib/bjlib/CNC250P.DAT, and updated libraries which I am guessing might be needed by scangearmp to support your model. I'm not sure if that is a good guess or not, but it seems like a possibility.

But, of course, you should get an answer about the noise from someone who knows about such things before proceeding.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#24 Post by muggins »

Rattlehead,

I should have read the docs first! See here, where it says:
---------------------------------------------------------------------------------
Only GIMP can start ScanGear. No other application can start ScanGear.
----------------------------------------------------------------------------------

1. Place the document face-down on the platen glass.

2. Select [Create] -> [ScanGear MP...] from the [File] menu in GIMP.
So, as the File>Create function doesn't exist in gimp-2.4, then you do need to install gimp-2.6.

Also, mentioned by SHS, I neglected to add the scangearmp common libs, so I've re-uploaded a .pet with them.
Attachments
gimp01.png
(15.71 KiB) Downloaded 2085 times

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#25 Post by Rattlehead »

Pretty strange...
I do have Gimp 2.6. (2.6.3. to be precise).
I do have scangearmp-mp250 (without the "series" at the end of the name after the updating of the .pet-is it relevant?)

BUT my Gimp does not have that create -> scangearmp option.

I've tried uninstalling scangear and gimp and then reinstalling. No luck, the option does not appear... how can it be?

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#26 Post by npierce »

Rattlehead wrote:I do have scangearmp-mp250 (without the "series" at the end of the name after the updating of the .pet-is it relevant?)
I was thinking of the scangearmp-mp250series package that you got from Canon in item 2 of the list of things you tried from your original post. But since you've installed the latest scangearmp-mp250-1.40-1.pet from muggins, which presumably has all of the stuff from the canon package, you should have the files I was wondering about.

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#27 Post by Rattlehead »

Any more suggestions, anybody? I'm starting to see a dual boot with XP in the horizon and God knows I don't want that!!! :evil:

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#28 Post by npierce »

Hi Rattlehead,

Three items:

1.

Have you found an answer to your concern about the ugly noises the scanner made when it tried to scan? Naturally you are reluctant to try scangear again if you think there is a possibility that it might damage your hardware. Perhaps if you could describe the noise in more detail, someone who has a recent Canon scanner/printer combo will read this and jump in to say if it does or does not make similar noises.

My scanner is a flatbed, not a combo, an HP, not a Canon, and designed in the twentieth century, not the twenty-first. So it is likely a much different animal, and probably doesn't moo, bark, or screech the same as yours. (That said, "screech" is what mine does -- fairly high-pitched but not overly loud.)

Being a brand new machine, have you double-checked to see if you might have missed any packing material that might be interfering with the scan head and causing the "ugly" noises?
Rattlehead wrote:I remember that some documentation (but I don't remember if it was in this particular program or other) warned that there was a risk of damaging the scanner because the program did not calculate the limit to stop the scanner or something like that. Maybe those noises are normal . . .
If this continues to be a concern, it would be good if you could find that documentation again to see what software this referred to. I wouldn't think that scangear would do this, since it is distributed by Canon themselves. But it would be nice to know for sure.

2.

When it tried to scan, could you tell if the light came on? Was there any paper movement? Did it do anything interesting other than make noises?

3.
---------------------------------------------------------------------------------
Only GIMP can start ScanGear. No other application can start ScanGear.
----------------------------------------------------------------------------------
Just to be clear, that was from the page titled, "Scanning from an Application".
When Canon says "No other application", I don't think they were talking about bash. In fact, you will notice that the very next page in the manual is titled "Scanning from a Terminal Software".

I'm not familiar with the GIMP-scangear interface, or why it doesn't show up in the GIMP menu. Perhaps GIMP doesn't list it unless it detects the scanner when GIMP is started. Perhaps not. To minimize the number of things that can go wrong, I would suggest leaving GIMP out of the picture for now, and just try scangear from the command line. (Later, when you get the scanner going, you can troubleshoot the GIMP issue, if it still is a problem.)

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#29 Post by Rattlehead »

Thanx, Npierce, great points all of them. I was so focused on the missing Gimp option that I did not even remember any more that Scangearmp can be started on its own.

I'm leaving the town for a few days, and thus I'll be far from the scanner; I'll post here when I'm back and after trying all your suggestions. Thanx again. :)

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#30 Post by muggins »

To have scangearmp appear in the Gimp menu, I just needed to symlink the scangearmp executable to the gimp plugins directory:

Code: Select all

ln -s /usr/bin/scangearmp /usr/local/lib/gimp/2.0/plug-ins

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#31 Post by Rattlehead »

Thanks Muggins. As I mentioned above, I am traveling and cannot try the link by the moment, but it looks good! :D

Btw, somewhere along the way, my Seamonkey got screwed up: I've lost the progress bar screen for downloads, and recently I have discovered that I cannot save web pages into my HD. Anybody has an idea of which library of the new ones installed could have caused such a mess?

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#32 Post by Rattlehead »

Hi everybody, I'm back. I've inserted Muggins' link and now Gimp has access to scangear.

However, the results when previewing or scanning are still the same: weird noises in the scanner, progress bar frozen in 0%, and finally I have to kill the application.

Any idea?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#33 Post by rcrsn51 »

@Rattlehead: If you are still around, I believe that the solution to your Canon MP250 scanner problem is here.

User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

#34 Post by Rattlehead »

:D :D :D :D :D :D
YES!!!
YES!!!
YES!!!

After installing pixma-backend-431-1.0.21.pet, the scanner works both in Xsane and via Gimp

VICTORY!!!

Thanks all you guys, and sorry for the delay in replying... I've been quite ill and I'm still just so-so

Thanks!!!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#35 Post by rcrsn51 »

Glad to help.

Post Reply