Ubuntu – Ubuntu 18.04: scanner program does not detect scanner

scanner

I recently installed ubuntu 18.04. I installed the Seiko scanner program per their instructions. I checked it using terminal and the Bash command "lsusb" and the hardware detects the scanner. I use "Classic menu indicator" and it sees the scanner program; however, when I click on the program name, "image scan!for Linux" I get a message "could not send command to scanner. Check the scanners status". Does anyone have a solution for this problem?

Best Answer

Add a link & a file

The problem stems from missing symbolic links in the /usr/lib/x86_64-linux-gnu/sane (or, more generically, /usr/lib/$(uname -m)-linux-gnu/sane) to the Epson driver directory.

$ sudo ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane

Furthermore, a 55-epson-libsane.rules file needs to be added to the /etc/udev/rules.d/ directory with the following contents:

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE=="0666"
    SUBSYSTEM=="usb_device", MODE=="0666"

    ATTRS{manufacturer}=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="*", MODE="0666"

    ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0137", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"

After power cycling the scanner, the following command should now properly list the connected scanner:

$ scanimage -L

device `epkowa:interpreter:003:002' is a Epson GT-S50 flatbed scanner

Use xsane or the proprietary Epson iscan to operate the scanner.

Related Question