LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-23-2020, 04:48 PM   #1
carcamal
LQ Newbie
 
Registered: Sep 2015
Posts: 13

Rep: Reputation: Disabled
Canon Network scanner. Scanimage works, SimpleScan does not.


Hi!
I wonder if I should put this in a "newbie" subforum or in this "hardware" forum. I left linux ten years ago, when ubuntu started dominating the scene.

And here I am, returning to linux.

I have a Canon Pixma Mx350 network All-in-one printer and scanner. It is plugged to the network and to a windows computer.

I tried to print and scan with it. It prints ok, but scanning from simplescan or xcam returns an "invalid argument" error.

Also, when it is left some time, it keeps "turned on" (light is on) but indiscoverable by scanimage -L


But the main issue is that (assuming the scanner is not idle), scanimage from the console works (using the administrative user WITHOUT administrative rights, i.e. without 'sudo'), but simplescan and xcam do not work.

Code:
madrid@max10:/$ scanimage -L
device `pixma:MX340_192.168.1.39' is a CANON Canon PIXMA MX340 multi-function peripheral
madrid@max10:~$ scanimage -v > file.png
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 39/255
scanimage: read 1678578 bytes in total
administrative user is part of the "scanner" group.
Code:
madrid@max10:/$ groups
madrid adm dialout cdrom floppy sudo audio dip video plugdev lpadmin scanner sambashare vboxusers
EDIT: Suddenly, GUI frontends started working. But they stop in the middle of a scan.

I'm using a DVD-ROM live distro, Max 10. That could cause file writing problems. But my /var and /tmp folders have space.
Code:
madrid@max10:/$ df
S.ficheros     bloques de 1K  Usados Disponibles Uso% Montado en
udev                 1940764       0     1940764   0% /dev
tmpfs                 394600    2824      391776   1% /run
/dev/sr0             4594968 4594968           0 100% /cdrom
/dev/loop0           3668096 3668096           0 100% /rofs
/cow                 1972984  162568     1810416   9% /
tmpfs                1972984   52288     1920696   3% /dev/shm
tmpfs                   5120       4        5116   1% /run/lock
tmpfs                1972984       0     1972984   0% /sys/fs/cgroup
tmpfs                1972984     932     1972052   1% /tmp
tmpfs                 394596      56      394540   1% /run/user/999

I want help about what permissions should I touch and, also, about how to change the timeout threshold for the scanner, since I get some timeouts when I scan with scanimage.

Last edited by carcamal; 12-23-2020 at 04:58 PM. Reason: Suddenly, xcam and xscanimage and SimpleScan work.
 
Old 12-23-2020, 08:08 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
A simple search for that printer model and linux returned this as the first link. http://canon.supportprinters.net/201...o-get-install/

Most printers any more have proprietary drivers for their scanners.

BTW, using a live image instead of an installed system will always lose anything you have downloaded or installed every time you reboot since you are running from a ramdisk.

Last edited by computersavvy; 12-23-2020 at 08:11 PM.
 
Old 12-24-2020, 01:00 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,994

Rep: Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170
For network scanners, there is generally no need to belong to any particular group. With respect to the "invalid argument" error, that might be due to a configuration issue in the ~/.sane/xsane/ directory, so worth a shot to try...
Code:
rm -rf ~/.sane/xsane
and then try using 'simple-scan' or 'xsane' again.
 
Old 12-24-2020, 01:04 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,994

Rep: Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170
Quote:
Originally Posted by computersavvy View Post
A simple search for that printer model and linux returned this as the first link. http://canon.supportprinters.net/201...o-get-install/

Most printers any more have proprietary drivers for their scanners.
Since the OP reports success using the open-source SANE driver (at least with scanimage), best to stay with that. Although Canon do provide proprietary scanner drivers for some multi-function models, they're not compatible with SANE, and only work with the included scangearmp/scangearmp2 (GUI) front-ends.
 
Old 12-24-2020, 11:58 AM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by ferrari View Post
Since the OP reports success using the open-source SANE driver (at least with scanimage), best to stay with that. Although Canon do provide proprietary scanner drivers for some multi-function models, they're not compatible with SANE, and only work with the included scangearmp/scangearmp2 (GUI) front-ends.
I don't have a canon printer, but I seriously doubt that the driver provided by canon for use with linux would have problems with sane. Canon provides drivers for both windows and linux. The OP explicitly said "but simplescan and xcam do not work" in his initial post. Installing the canon drivers certainly would be worth a try in any case.

He also said that he was running on a live CDROM and that is confirmed by reading the information he posted. No matter what he does while it is still powered up the changes will disappear as soon as he reboots

Last edited by computersavvy; 12-24-2020 at 12:07 PM.
 
Old 12-24-2020, 01:45 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,994

Rep: Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170
Quote:
Originally Posted by computersavvy View Post
I don't have a canon printer, but I seriously doubt that the driver provided by canon for use with linux would have problems with sane. Canon provides drivers for both windows and linux.
I've been assisting users with installing Canon printer and scanner drivers for years, so very familiar with configuring these. I can assure you that their proprietary scanner drivers (for Linux) are not SANE drivers. They only work with their own proprietary graphical frontend.

Quote:
The OP explicitly said "but simplescan and xcam do not work" in his initial post.
Agreed, but the OP also mentioned that scanimage is working as expected. This indicates that the
SANE 'pixma' backend is working. The other frontends (xsane and simple-scan) are having some kind of issue that will possibly be default-settings related.

Quote:
Installing the canon drivers certainly would be worth a try in any case.
Of course they may be tried, but that will preclude the use of xsane and simple-scan as already explained.

Quote:
He also said that he was running on a live CDROM and that is confirmed by reading the information he posted.
Yep, and that may well be impacting here perhaps.

Quote:
No matter what he does while it is still powered up the changes will disappear as soon as he reboots
Yes, of course.

Last edited by ferrari; 12-24-2020 at 02:43 PM.
 
Old 12-24-2020, 02:36 PM   #7
carcamal
LQ Newbie
 
Registered: Sep 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
It seems the reply I posted was not posted.
The canon info page is Ok, but it seems to send you to a clickbait page that talks about a link for a tutorial that is not there.
Since all seemed to work, I did not search for specific Canon drivers. Most "manufacturer related" issues I saw told about hp and brother appliances. I have hp in my blacklist since 2005.
 
Old 12-24-2020, 02:42 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,994

Rep: Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170Reputation: 1170
Yes, that link is not an official Canon site anyway. As the MX350 is an old model, supported proprietary drivers may no longer exist.
 
  


Reply

Tags
canon, network, sane, scanner


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scanner seen by sane-find-scanner but not by scanimage doublehp Linux - Hardware 7 03-06-2019 11:24 AM
USB Brother MFC 420CN Scanner - sane/scanimage/error i/o issues NosLycn Linux - Hardware 11 11-14-2009 10:58 PM
Scanimage not finding Epson USB scanner lstamm Slackware 1 12-15-2007 12:39 AM
scanimage sane xsane inetd gimp scanner situation davearnt Linux - Hardware 2 04-15-2006 08:31 PM
scanimage hangs talking to usb scanner TSloth Linux - Hardware 1 04-07-2004 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration