jl@bureau-JL:~$ cat /lib/udev/rules.d/60-libsane.rules
# je ne colle pas les comments
ACTION!="add", GOTO="libsane_rules_end"
# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"
SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"
LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"
# Generic: SCSI device type 6 indicates a scanner
# ATTRS{type}=="6", ENV{libsane_matched}="yes"
# Some scanners advertise themselves as SCSI device type 3
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="043a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
# je saute toutes les autres marques Wildcard: for some Epson SCSI scanners sauf la ligne de fin de fichier :
# brother MFC-L2750DW
ATTRS{type}=="3", ATTRS{vendor}=="brother", ATTRS{model}=="MFC-L2750DW",ENV{libsane_matched}="yes"
LABEL="libsane_rules_end"