Install Canon LiDE 300 / 400 on Ubuntu 18.04

23,834

Solution 1

For Ubuntu 20.04, this scanner does not work straight forward. The ippusbxd driver tries to get the USB device, and it locks it. In dmesg -w there is a line:

usb 1-11: usbfs: process 5756 (ippusbxd) did not claim interface 0 before use

To resolve the problem:

sudo apt remove ippusbxd

and replug the scanner ! (tested on live USB unmodified Focal).

Solution 2

Download the scanner's linux driver from the Canon website. It's the same driver for related models: scangearmp2-3.70-1-deb

Unpack and install the driver from the download directory:

./install.sh

Canon's own driver is not enough though, to get the Canon scanner working. It only half works. Assuming you have installed Sane. Sane will recognise the scanner.

$ sane-find-scanner

found USB scanner (vendor=0x04a9 [Canon], product=0x1912 [LiDE 400]) at libusb:003:008

But it won't work.

$ scanimage -L

No scanners were identified

$ scanimage --format=png > test.png

scanimage: no SANE devices found

Likewise, SimpleScan won't yet detect the scanner.

It will scan at this stage by running Canon's own scanning software, supplied with the scanner download: scangearmp2. But this software is as rudimentary as toddler's tea set. It won't even let you change the resolution, filetype or scan area.

But thanks to the good work being done by @pekhterev and Rolf Bensch, the scanner will run if you install some more home-grown software.

sudo add-apt-repository ppa:rolfbensch/sane-git
sudo apt-get update

(source here)

sudo apt install libsane-common
sudo apt install sane-utils
sudo apt install xsane

(source)

The scanner worked from Xsane, after doing this. And from Gimp, by calling Xsane (it sees it as a pixma:04A91912 scanner). But the image was dull.

Thankfully, it now also works from SimpleScan.

.

Canon, btw, when I contacted them for help because their scanner didn't work, said. 'we don't support linux'. I said - but you've taken the time to supply a driver - surely you would want to make sure it actually worked when people installed it. They said, 'we don't support linux'.

Solution 3

Finally found a USA Linux driver from Canon: USA driver link Linux 64 bit

Share:
23,834

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    Unable to install Canon LiDE 300 on Ubuntu 18.04. How to solve it?

  • Kagetsuki
    Kagetsuki almost 4 years
    This absolutely worked for me. Thanks!
  • Sebastian Cruz
    Sebastian Cruz almost 4 years
    What you describe is what I experienced, but I couldn't fix it by just removing ippusbxd, I had to also add saned to lp group by doing sudo adduser saned lp. I figured this since the device was under the lp group in /dev/bus/usb... Thanks!
  • 67hz
    67hz over 3 years
    Just noting I did NOT need to add saned to the lp group. YMMV?
  • Juan Antonio
    Juan Antonio over 3 years
    I can say that this also works with LiDE 400 on Ubuntu 20.04. Moreover, I no longer need to use the precarious scangearmp2 software that Canon provides as the scanning software.
  • UlfR
    UlfR over 3 years
    I had the same issue with a Lexmark printer on Ubuntu 20.04 and solved it by removing ippusbxd. Super!
  • CyberFly
    CyberFly about 3 years
    The ppa address changed to: sudo add-apt-repository ppa:sane-project/sane-git . With this info I got the CanoScan Lide 400 working on Ubuntu 18.04 with sane.
  • Kyrstellaine
    Kyrstellaine about 3 years
    If you want release instead of nightly snapshots, you can use sudo add-apt-repository ppa:sane-project/sane-release
  • Admin
    Admin about 2 years
    My hero! sudo apt remove ippusbxd worked for me with Canon LiDE 400 on Kubuntu 20.04.