Miguel - one maybe stupid question. How can I leave the nano interface once I inserted the line above?
Ctrl+X
down there you will see the shortcuts
Ahh - thanks - did not know that you have to use ctrl.
Done.
Please update with:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04a9", MODE="0660", GROUP="plugdev", ENV{libsane_matched}="yes"
Here it will be used for any Cannon device.
forgot to say: restart the udev rules with:
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
After I inserted the text and entered ctrl x - there is another window. Maybe entering ctrl c to cancel there is not a good idea - am I right? Not sure what to choose there - sorry
it said if you want to writhe the file
or use your favorite editor, usually I use vim.
I made it - I used backup file meaning ctrl m-b
Looks good
So - text is inserted in myscanner.rules
Also did run:
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
No result so far, respectively my scanner is not recognized till now
Can you plug and unplug and post the output from:
$ ls -l /dev/bus/usb/003/003
ls -l /dev/bus/usb/003/003
crw-rw---- 1 root plugdev 189, 258 20. Jun 22:41 /dev/bus/usb/003/003
By the way - I really appreciate your help!
Where are you guys working? I am living in Zurich Switzerland
It should work as the rules are applied.
what is the ouput of
$ scanimage -L
and the output from
id
scanimage -L
device v4l:/dev/video2' is a Noname Integrated_Webcam_HD: Integrate virtual device device
v4l:/dev/video0’ is a Noname Integrated_Webcam_HD: Integrate virtual device
id
uid=1000(heiko) gid=1000(heiko) Gruppen=1000(heiko),10(wheel),201(kvm)
We’ve identified the issue and are working to fix it now. We’ll start shipping the udev rules file from sane-backends, and create the system group scanner
.
Once the udev rules are added, you should get automatic access to the scanner when you login, without actually having to add yourself to either the plugdev
or scanner
groups. You can check that part like this, substituting the correct numbers from sudo scanimage -L
:
getfacl /dev/bus/usb/003/003
Your username should be listed, with rw
permissions, e.g.:
# file: dev/bus/usb/003/003
# owner: root
# group: scanner
user::rw-
user:{YOURUSERNAME}:rw-
group::rw-
mask::rw-
other::---
Sounds good! Thanks for your help!
Also try renaming this to /etc/udev/rules.d/60-myscanner.rules
(and reload via the udevadm commands above) to make sure this rule executes before /usr/lib/udev/rules.d/70-uaccess.rules
, which automatically makes the device accessible to the current logged-in user.
Sorry - how do I rename /etc/udev/rules.d/60-myscanner.rules
?
My group is not listed as scanner till now
getfacl /dev/bus/usb/003/003
getfacl: Removing leading ‘/’ from absolute path names
file: dev/bus/usb/003/003
owner: root
group: plugdev
user::rw-
group::rw-
other::—
sudo mv /etc/udev/rules.d/myscanner.rules /etc/udev/rules.d/60-myscanner.rules
Be sure to re-run all the udevadm commands afterward.