0

This problem has been around since Trusty. I'm still getting nowhere using Ubuntu 16.04 64 bit on 2 computers: one upgraded from Trusty and one with a fresh install. lsusb sees scanner: Bus 001 Device 002: ID 04a9:2220 Canon, Inc. CanoScan LIDE 25 "sudo sane-find-scanner" sees scanner: found USB scanner (vendor=0x04a9, product=0x2220) at libusb:001:002 "sudo scanimage -L" sometimes sees scanner: deviceplustek:libusb:001:006' is a Canon CanoScan LiDE25 flatbed scanner`. I have tried amending plustek.conf in /etc/sane.d by adding the 2 lines:

[usb] 0x04a9 0x2220 
device /dev/usbscanner
waltinator
  • 36,399
John Rose
  • 1,001
  • I see you have tried configuring like this older post, while my answer here only suggests the scanner works out of box in 16.04 64-bit. So yours may be related to host machine; Have you tried disabling USB 3.0 in BIOS/EFI? –  Oct 20 '16 at 14:36
  • @clearkimura As I said before, I'm using 16.04 64-bit. So your comment says that it should work out of the box. I have looked at the InsydeH20 BIOS: though the PC has a USB 3.0 as well as a USB 2.0 port, there is no reference to USB in the BIOS parameters. I have tried connecting the scanner to both USB ports with equal lack of success. – John Rose Oct 20 '16 at 16:31
  • Okay, so you also had commented under this bug report; You have tried many things, but didn't note those in the question, so perhaps other users including me failed to notice your efforts. –  Oct 20 '16 at 17:03
  • This dated blog post noted that InsydeH20 BIOS has hidden "Advanced" tab by default (Simple way to access: Press F10, then A key). Else, I have posted an answer to guide you to troubleshoot on own. –  Oct 21 '16 at 08:40

2 Answers2

0

In Ubuntu 20.04.2 LTS: after adding user to the group "scanner" and restarting the laptop, it works very well. (sudo adduser username scanner)

A warning: be careful with the cable. For me, a simple USB cable did not work. (Not even in Windows: PC recognized the scanner but was not able to start it) Unfortunately, I could not tell what cable should you buy. Mine was for programming microchips. Probably a more expensive one will be good.

PeterB
  • 101
0

This answer is intended to guide OP for troubleshooting on own, since other relevant information provided by OP were found scattered on Ask Ubuntu, Ubuntu forums and Launchpad (For some reasons, OP didn't bother to note these in the question).

Troubleshooting

Most users failed to note the most important information: the changing point.

In this case, the changing point is the answer to the only question: "What are the changes made to the computer or scanner, since last time the scanner was working well on Ubuntu?"

If one fails to provide any answer for above, then one has to follow the tedious way to troubleshoot by considering each and every possible factors that may have caused the scanner to fail.

From most obvious to most tricky factors to consider:

  • Is the scanner broken? (Test on other operating system i.e. Windows or other Linux distro, with different architecture i.e. 32-bit, 64-bit)

  • Does the USB cable work? (Test with other USB cable, try with shorter cable i.e. 1m or less)

  • Is the scanner connected directly? (Using USB hub could prevent the scanner from being detected)

  • Is the scanner connected to a functional USB port? (Some options in BIOS/EFI menu could accidentally disable USB port from functioning normally; This is hardware dependant)

  • Is the host machine having sufficient voltage supply to USB ports? (Check capacity of power supply unit, nominal voltage in BIOS/EFI, etc.)

  • Has the host machine installed/upgraded any hardware parts? (Some hardware i.e. USB controller interface has higher priority for front/back ports)

  • Has the host machine installed/upgraded any hardware drivers? (Possible conflicts between multiple printer/scanner drivers)

  • ...and other factors that I might have missed.

Misleading sense

To this date, Canon CanoScan LiDE 25 still works well. When the scanner is plugged into the USB port, it is detected automatically and user will just have to run GUI scanning program to use it. No further configuration is needed. It works out of box.

For me, the scanner has been working well since Ubuntu 8.04 32-bit (XSane), followed by 10.04, 12.04, 14.04 32-bit and 16.04 32/64-bit (Simple Scan). I have used interchangeably between five different computers. The oldest machine I am running now is 8 years old.

My point is, just because the scanner had stopped working, that doesn't necessarily mean the problem lies in the scanner or host system.

The reason could be something else, albeit trivial, which had caused the scanner to fail. If one had to edit configuration file and run some commands to make an 11-year old scanner to work on Linux, in year 2016... Something is not right. That doesn't make any sense to me.

I can only suggest to recall the changing point, or start troubleshooting one by one by asking above questions to yourself. I hope you will find the solution, since existing answers are not useful to you.

  • 1
    Checked all the above. I think that the fault lies with libsane/sane-utils version 1.0.25+git20150528-1 (as used by Xenial). This is recorded in Launchpad Ubuntu bug 1384303 which refers to Debian bug 774333. – John Rose Oct 22 '16 at 11:46