4

I am having difficulties getting my scanner to operate. I am using Raspbian Buster on a raspberry pi 3b+. My scanner is a USB Canon LIDE 110, which is connected to the pi through a powered USB hub.

The issue I am having is that I can't seem to use the scanner without root. If I try

scanimage -L 

it doesn't detect it, but

sudo scanimage -L 

returns

device `genesys:libusb:001:008' is a Canon LiDE 110 flatbed scanner

Likewise if I run xsane, it doesn't detect the scanner, but running it with sudo brings up the GUI and everything proceeds as normal. However the images I save are only accessible to root.

I have added myself to the scanner group, which doesn't seem to have changed anything, and I'm out of ideas.

Dmitry Grigoryev
  • 28,277
  • 6
  • 54
  • 147
Shaker
  • 41
  • 1

1 Answers1

4

Check your scanner's "idVendor" and "idProduct" values with a lsusb command. Add a udev rule

ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1908", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"

Reload udev with sudo udevadm control --reload-rules.

Add your userid (I'm assuming you're logging in as pi) to the scanner group sudo groupadd scanner and sudo usermod -a -G scanner pi and you should be able to access the scanner without needing sudo.

Plug your scanner in and it should work. Note: I've not tested this.

Dougie
  • 5,381
  • 11
  • 22
  • 30