not recognizing Canon 9000F Mark II

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

not recognizing Canon 9000F Mark II

Post by weslowsk »

Hi,

I'm trying to get my scanner (Canon 9000F Mark II) to work on Linux Mint 17 Cinnamon 64bit.

After it didn't initially detect when using xsane or simple scan, I started searching...found that it is fully supported by sane:

http://www.sane-project.org/sane-mfgs.html#Z-CANON

and it needs the sane-pixma backend...which it appears is installed:

/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1

I also made sure that it's being recognized by usb, and it appears it is:

$ lsusb
...
Bus 003 Device 005: ID 04a9:190d Canon, Inc.
...


What am I missing or what extra troubleshooting steps should I do to get this scanner being recognized?
Thanks...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: not recognizing Canon 9000F Mark II

Post by pdc_2 »

some commands to try are:
sane-find-scanner
and
scanimage -L
______________________

and then repeat with sudo in front of each command .......

_______-

here is an ubuntu help page https://help.ubuntu.com/community/ScanningHowTo
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

yeah, I tried those commands before...no luck...here's the output:

Code: Select all

$ 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 sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not open USB device 0x192f/0x0416 at 002:004: Access denied (insufficient permissions)
could not open USB device 0x04f2/0x0841 at 002:003: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 008:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 007:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x174c/0x3074 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x04a9/0x190d at 003:003: Access denied (insufficient permissions)
could not open USB device 0x174c/0x2074 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
kevin@mint17 ~ $ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
kevin@mint17 ~ $ sudo sane-find-scanner
[sudo] password for kevin: 

  # 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.

found SCSI processor "Marvell Console 1.01" at /dev/sg1
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
kevin@mint17 ~ $ sudo scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
kevin@mint17 ~ $ 


I'll take a look at that ubuntu sane link you provided...
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

From the link you sent:

https://help.ubuntu.com/community/Scann ... t_to_do.3F

I tried running xsane as root and installing libsane-extras and neither made a difference.

Any other suggestions?
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: not recognizing Canon 9000F Mark II

Post by pdc_2 »

Access denied (insufficient permissions)
seems like a permissions issue; if you type
groups
..........are you a member of the scanner group?

If not, you need to add yourself ...............my understanding is the correct command is
sudo adduser kevin scanner
but please check https://help.ubuntu.com/community/AddUsersHowto

____________________________

.......if the above is not the answer, one could look at the solution in post #2 here http://ubuntuforums.org/showthread.php?t=2180205

.........add a rule telling your system to spot the scanner ..........let's hold that in reserve for now
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

I added myself as a group...no help.

I decided to pursue your link about udev. Turns out there was already a canon rules file in there:

-rw-r--r-- 1 root root 628 Jul 29 16:07 70-persistent-net.rules
-rw-r--r-- 1 root root 21801 Aug 2 07:03 81-canonij_prn.rules


so, I edited the canon rules file (instead of creating my own local file, like the post you sent suggests I should)...I'm guessing it doesn't matter. I put the same content at the end of the file, making sure to change my user (from nick to kevin).
I didn't reboot, but I tried to rerun udev without rebooting:

sudo udevadm control --reload-rules
sudo udevadm trigger

that didn't help either. Would a reboot help? Any other ideas?
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

FYI, reboot didn't help...I just tried it...
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

I found this when running dmesg:

[21925.347394] usb 5-1: new high-speed USB device number 3 using xhci_hcd
[21925.433257] usb 5-1: New USB device found, idVendor=04a9, idProduct=190d
[21925.433263] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[21925.433267] usb 5-1: Product: CanoScan
[21925.433270] usb 5-1: Manufacturer: Canon
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: not recognizing Canon 9000F Mark II

Post by pdc_2 »

what happens if you re-run the sane-find-scanner and scanimage -L commands? What does scanimage -V give ?
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

same thing:

Code: Select all


$ 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.

found SCSI processor "Marvell Console 1.01" at /dev/sg1
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
kevin@mint17 ~ $ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
kevin@mint17 ~ $ scanimage -V
scanimage (sane-backends) 1.0.23; backend version 1.0.23
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

I've gone as far as installing VirtualBox and getting Windows XP running and installing Canon drivers/software. The software gets the scanner to "scan" but there's an error when it tries writing the file...I'm still troubleshooting that...

But, I'd way rather have the scanner working natively in Mint.

Thanks for all suggestions so far...keep 'em coming :)
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

I got it working in my virtualized XP...it needed .net 3.5 installed.

Using XP is going to be my plan B if I can't get it working natively in Mint.
bustard

Re: not recognizing Canon 9000F Mark II

Post by bustard »

Thanks for asking about this scanner. I have the same one and have gone through the same steps as you with the same results. I'm running mint mate 17.

I was able to get it to work with the trial version of Vuescan, but buying that is out of the question given how much they want for it.

At the moment it is running on another computer running Windows. It's fine there but it would be very nice to have it running under linux.
Dauntless

Re: not recognizing Canon 9000F Mark II

Post by Dauntless »

The good news is the CanoScan 9000F MKII does work with Linux Mint Cinnamon 17.1 (64bit).
Unfortunately it doesn't work "out of the box" like older scanners. But with a little setup it will work and you won't need to keep Windows on the side to use this wonderful scanner.
I had to compile and install a newer version of the sane backend. Mint 17.1 came with sane-backends v1.0.23 and after upgrading I was running v1.0.25.
I followed the ubuntu instructions from this site http://meshfields.de/install-canoscan-9 ... -profiles/

Basically this is what I did...
(you can copy and paste most of the code)

Prerequisites (you may need to install more dependencies depending on how lite your setup is).

Code: Select all

sudo apt-get update
sudo apt-get install gcc
sudo apt-get install build-essential
sudo apt-get install libusb-dev
sudo apt-get install git
Compile Sane

Code: Select all

mkdir ~/src
cd src/
git clone git://git.debian.org/sane/sane-backends.git cd ~/src/sane-backends
BACKENDS="canon pixma" ./configure
cd ~/src/sane-backends
make && sudo make install
sudo ldconfig -v | grep libsane
cd /usr/share/locale/de/LC_MESSAGES
sudo ln -sf /usr/local/share/locale/de/LC_MESSAGES/sane-backends.mo .
sudo cp ~/src/sane-backends/tools/udev/libsane.rules /etc/udev/rules.d
Permissions and testing

Add your self and verify that your username and saned are in the group scanner:

Code: Select all

usermod -aG scanner USERNAME #(replace with your username)
grep -e scanner /etc/group
Make sure the term CanoScan is mentioned when issuing

Code: Select all

sudo sane-find-scanner
Fire up saned and test it

Code: Select all

sudo service saned start
sudo scanimage -V #(should be newer than 1.0.23)
sudo scanimage -L
Try a real scan

Reboot the computer first.

from the command line

Code: Select all

scanimage > ~/Pictures/test.pnm
or from the GUI you could use Simple Scan or something else.

There is more information on setting up this scanner at the web site mentioned above. I only went over the minimum required.
I hope this helps or at the very least points you in the right direction.
andyf

Re: not recognizing Canon 9000F Mark II

Post by andyf »

Nice one, Dauntless!

I'm using Mint 17.2 (64bit) Cinnamon and I used your instructions exactly except:

1) I split "git clone git://git.debian.org/sane/sane-backends.git cd ~/src/sane-backends" into two lines as follows:

Code: Select all

git clone git://git.debian.org/sane/sane-backends.git
cd ~/src/sane-backends
2) I wasn't able to start the saned service until I had changed 'no' to 'yes' in /etc/default/saned. The changed line should look like:

Code: Select all

RUN=yes
3) I had to reboot before

Code: Select all

sudo scanimage -V
sudo scanimage -L
would work.

Other than that I just ignored all warnings/errors and it worked a treat!
weslowsk
Level 2
Level 2
Posts: 88
Joined: Wed Jun 23, 2010 1:06 am

Re: not recognizing Canon 9000F Mark II

Post by weslowsk »

I finally got around to trying this on my Cinnamon 64bit Mint 17.1 and it worked great! This will save me a lot of trips to Windows to get my scans! Thanks!

Everything worked before the reboot except for permissions...before the reboot, root was needed to run any scanning frontend...after the reboot, my user was able to run the scanning frontends.

I'm not familiar with doing manual builds/compiles; I always use the package manager to handle all software installs. What should I watch out for when using the package manager when running updates in the future? i.e. not allow the package manager to overwrite the version of sane-backends that I just compiled?
Etoja
Level 1
Level 1
Posts: 31
Joined: Sun Jun 15, 2008 6:41 am
Location: East Anglia

Re: not recognizing Canon 9000F Mark II

Post by Etoja »

it is 2016 and Canoscan 9000f Mark II still doesn't run on Linux Mint 17.3 Rose natively. :( What a pity.
Dauntless

Re: not recognizing Canon 9000F Mark II

Post by Dauntless »

Etoja wrote:it is 2016 and Canoscan 9000f Mark II still doesn't run on Linux Mint 17.3 Rose natively. :( What a pity.
The Mint 17 series is based on Ubuntu 14.04 and thus is frozen on backend version 1.0.23. If you plan on staying with the 17 series for the next few years then upgrading the backend your self is the only option unfortunately.

The better news is that Ubuntu 16.04 comes with version 1.0.25 by default. Linux Mint 18 will be based on 16.04 and thus should work "out of the box" with this scanner for those who will be upgrading and don't want to have to manually update Mint 17.
Etoja
Level 1
Level 1
Posts: 31
Joined: Sun Jun 15, 2008 6:41 am
Location: East Anglia

Re: not recognizing Canon 9000F Mark II

Post by Etoja »

@Dauntless Oh, thank you for the good news, I have to move to Mint 18 when it is released then. :) Thanks, I've just noticed your ms.
Dauntless

Re: not recognizing Canon 9000F Mark II

Post by Dauntless »

Just an update on the Mint 18 Status. Mint 18 does come with backend version 1.0.25 and the scanner works out of the box. Just plug and play. Unfortunately the Simple Scan application has the new gnome 3 look that lacks the traditional menu bar. Maybe the Mint team can add a scanner program to their collection of X-Apps.
Locked

Return to “Printers & Scanners”