I’m running Leap with all the latest updates. My printer is configured and prints but I can’t get xsane or simple scan to recognize the scanner part of the printer. It keeps saying no scanners installed.
This is the Canon MP495 series, and it worked with other linux flavors. I don’t want to leave openSUSE though, there has to be a way to get this thing configured.
you most likely need to open some ports in the firewall at least thats what worked for me.
https://support.usa.canon.com/kb/index?page=content&id=ART109227
http://search-asia.canon-asia.com/canon__asia_en__asia_p_en/search.x?q=&ie=utf8&cat=0&ct=Support&pagemax=10&imgsize=1&pdf=ok&zoom=1&hf=category zubaken&cf=model_sm%3APIXMA+MP496&modelName=PIXMA+MP496&ref=support-asia.canon-asia.com&pid=ROekNWII_hqHmZoHjg-JhQ…&qid=3Oqj5ERak1VuqBZQKoGeHRC7j2s5IqGL&d=DOWNLOADS%09Linux
http://www.sane-project.org/sane-mfgs.html#Z-CANON
Did you try it with USB first?
You have two possible choices here:
- Use the proprietary drivers from Canon
The scanner driver package includes the driver, supporting libraries, and a scanning utility called ‘scangearmp’. The normal scanning utilities can’t be used when using Canon’s proprietary scanner drivers.
- The SANE page that Sauerland linked to indicates possible support using the open-source ‘sane-pixma’ backend. However, the MP495 model is listed as ‘untested’. So this may involve a bit of experimentation. Refer to the man page for sane-pixma
man sane-pixma
I’m assuming you’re connecting via your LAN/wireless LAN rather than via USB connection? If so, the man page mentions the following
NETWORKING SUPPORT
The pixma backend supports network scanners using the so called Canon BJNP protocol. Both IPv4 and IPv6 are supported.
Configuration is normally not required. The pixma backend will auto-detect your scanner if it is within the same sub- net as your computer if your OS does support this.
If your scanner can not be auto-detected, you can add it to the pixma configuration file (see above).
FIREWALLING FOR NETWORKED SCANNERS
The sane pixma backend communicates with port 8612 on the scanner. So you will have to allow outgoing traffic TO port
8612 on the common subnet for scanning.
Scanner detection is slightly more complicated. The pixma backend sends a broadcast on all direct connected subnets it can find (provided your OS allows for enumeration of all netowrk interfaces). The broadcast is sent FROM port 8612 TO port 8612 on the broadcast address of each interface. The outgoing packets will be allowed by the rule described above.
Responses from the scanner are sent back to the computer TO port 8612. Connection tracking however does not see a match as the response does not come from the broadcast address but from the scanners own address. For automatic detection of your scanner, you will therefore have to allow incoming packets TO port 8612 on your computer.
So in short: open the firewall for all traffic from your computer to port 8612 AND to port 8612 to your computer.
With the firewall rules above there is no need to add the scanner to the pixma.conf file, unless the scanner is on a network that is not directly connected to your computer.
So, you need to open port 8612 for detection/communication (using Canon’s BJNP protocol). You could disable the firewall temporarily for testing purposes.
It may also be necessary to uncomment the ‘pixma’ entry in /etc/sane.d/dll.conf as well.
I probably left out valuable info for help here: I have my Pixma MP495 hooked up to USB, and have used ti that way for quite a few years in linux. I recently switched to openSUSE 42.1. Yesterday when needing to scan some docs, no scanning app could find it or so it claimed. Here is a prtint out from the command
‘sane-find-scanner’
sane-find-scanner
sane-find-scanner will now attempt to detect your scanner. If the
result is different from what you expected, first make sure your
scanner is powered up and properly connected to your computer.
No SCSI scanners found. If you expected something different, make su
re that
you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x1d6b/0x0002 at 008:001: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0001 at 007:001: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0001 at 006:001: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insuf
ficient permissions)
found USB scanner (vendor=0x04a9 [Canon], product=0x1747 [MP495 series])
at libusb:004:003
could not open USB device 0x046d/0x0825 at 004:002: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0002 at 004:001: Access denied (insuf
ficient permissions)
could not open USB device 0x046d/0xc52e at 003:002: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insuf
ficient permissions)
could not open USB device 0x1d6b/0x0001 at 001:001: Access denied (insuf
ficient permissions)
Your USB scanner was (probably) detected. It may or may not be suppo
rted by
SANE. Try scanimage -L and read the backend’s manpage.
Not checking for parallel port scanners.
Most Scanners connected to the parallel port or other proprietary po
rts
can’t be detected by this program.
You may want to run this program as root to find all devices. Once y
ou
found the scanner devices, be sure to adjust access permissions as
necessary.
So you can see the printer/scanner is hooked up, and read by the motherboard. The printer features work, I was able to just make a copy of a paper file, by hitting the copy button on my printer so the scanner does work.
Xsane or any other linux scanner tool, is not seeing or letting me access my usb scanner part.
Also I don’t ever remember having to open up any ports for my USB scanner to work…I’m not going to either.
Not even to figure out what the problem might be?
I’m also not buying that my Printer all of a sudden today is not supported in sane. I’ve been running XSane for over 4 years with zero problems.
I’m reaching out here, because I “want” to stay with openSUSE. A little help here would be nice, no other distro ever gave me the problems I’m having trying to get a **** scanner to work.
I’m thinking because I set up a root account and myself as a user, this could be causing me problems? If that’s the case I might as well make myself administrator. I’m trying to be responsible that I don’t cut off my fingers and bork the system, but whats the use if a basic function like scanning is going to give me problems. I built this computer, it is not owned by anyone else but me. Everyone says to make myself just a normal user, and leave a root account for when I need it, that’s that’s the responsible way to run linux so my computer don’t get anything that sends it out into the wild. Every freaking time I turn around it’s asking me for my root password…Very frustrated I thought I found my perfect distro…
kerijan2003,
Not even to figure out what the problem might be?
No because I completely shut down my firewall and still got the same results. I had my firewall set up for all outgoing , no incoming, it’s not like I’m super paranoid, that’s a basic firewall set up.
Let me ask this question is there a config file I have to set up to “allow” me to use my own usb scanner being a normal user? If so can someone Q me into where I can make that adjustment?
When I run the ‘sane-find-scanner’, I notice it’s saying I don’t have the “permissions” to access it, I posted that in the readout…Is this my problem perhaps??
If that’s the case I may as well wipe the slate clean and reinstall the whole ball of wax, and just leave myself as administrator. I have back ups of my files. This is my home computer desktop. What frustrates the hell out of me is if I leave the desktop idle for a few minutes it logs me out and keeps asking for my user password to log back in, anyway…FWIW…This is not security, because I can plug in a USB stick from “Bob’s my uncle”, if I was stupid enough and it would let me mount it, so where is the security in that??
No, that only applies if it was network attached.
Well, I got progress, somewhat…Here’s what I did.
First I read through the man sane pages, which in itself is enough to make anyone insane, in itself…I found the config file, logged in as su, then uncommented out Canon and Pixma, saved the changes.
then tried to open up XSane as me regular user, no joy.
then SU into a terminal, put in my root password, then open up XSane, and it opened up and allowed me to scan, an image. My whole point here is that, my multifunction printer scanner does let me scan through Sane backend, but I have to log in as root…
Please someone give me the secret to where I can include myself as an allowed user to scan without having to log in as root to do it… I read through the man pages of Insane Sane. I find no where for me to give myself the permissions lol needed…
I’m assuming here, that I am following safe practice of using linux,by making myself user with a different password than root, but can’t see how making me log in as root just to scan from my USB scanner is safe linuxing…
Maybe your File-Perrmissions are to restricted in Yast—Safety----Safety-Center and Hardening----various Settings.
I am here on German and LANG does not work so it may be different Spelling…
And you are Member of the Group lp?
As User:
groups
Sauerland](https://forums.opensuse.org/member.php/56271-Sauerland) ,
Thank You so much! That fixed it, I had to configure it in the Yast security & hardening settings. After doing so XSane opened up and worked.
You just saved me from an unnecessary reinstall. I thought the system was borked…
Problem Solved