Numéro pour vérifier la présélection téléphonique (opérateurs en Suisse)
Composer le 0868 868 868.
# USB scanners
ENV{libsane_matched}=="yes", ENV{ACL_MANAGE}="1"
<snip>
# apply ACL for all locally logged in users
LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"
~# lsusb
Bus 001 Device 005: ID 04b8:011c Seiko Epson Corp. Perfection 3200
~# ls -l /dev/bus/usb/001/005
crw-rw-r--+ 1 root root 189, 4 2009-12-28 00:11 /dev/bus/usb/001/005
~# getfacl /dev/bus/usb/001/005
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/005
# owner: root
# group: root
user::rw-
user:crox:rw-
group::rw-
mask::rw-
other::r--
~#
# change group to scanner for sane devices
ENV{libsane_matched}=="yes", GROUP="scanner"
sudo udevadm triggerand the group of the device magically changes to scanner.
ATTRS{idVendor}=="1d6b", ATTRS{idProduct}=="0002", GROUP="scanner"
sudo su -s /bin/bash -c 'scanimage -L' saned
sudo apt-get install i8kutils
sudo sh -c 'echo i8k >> /etc/modules'
# /etc/default/i8kmon
# Change to one enable i8kmon
ENABLED=1
I8KMON_ARGS="--daemon --nouserconfig --auto"