$ getfacl /dev/bus/usb/001/004
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/004
# owner: root
# group: lp
user::rw-
group::rw-
other::r--

That reminds me of an alternative way:

sudo chmod o+w /dev/bus/usb/001/004

The problem with that (if I remember correctly) is that the position of
the scanner may change if other USB devices are added or removed. And
it's still not working out of the box.

I don't seem able to scan using scanimage, whether I'm in the lp group
or not or irrespective of file permissions. (Not sure about the proper
syntax, though.)

$ scanimage -d brother2:bus4 --format=png --verbose >testimage.png
scanimage: open of device brother2:bus4 failed: Invalid argument
$ scanimage -d 'brother2:bus4;dev3' --format=png --verbose >testimage.png
scanimage: open of device brother2:bus4;dev3 failed: Invalid argument
$ scanimage -d brother2:/dev/bus/usb/001/004 --format=png --verbose 
>testimage.png
scanimage: open of device brother2:/dev/bus/usb/001/004 failed: Invalid argument

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890464

Title:
  Can not scan as user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1890464/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to