Codice: Seleziona tutto
giuseppe@giuseppe-X71TL:~$ cat /lib/udev/rules.d/60-libsane1.rules
# This file was automatically created based on description files (*.desc)
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
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
# Wildcard: for some Epson SCSI scanners
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"
# Epson Expression 800 | Epson Expression 800
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"
# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"
# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"
# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"
# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"
# Epson Perfection 636 | Epson Perfection 636S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet IIc
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet IIp
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet IIcx
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4c
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 6200C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 6300C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"
LABEL="libsane_rules_end"
giuseppe@giuseppe-X71TL:~$ ls -l /lib/udev/rules.d/
totale 772
-rw-r--r-- 1 root root 552 apr 21 2017 39-usbmuxd.rules
-rw-r--r-- 1 root root 998 set 15 2017 40-usb-media-players.rules
-rw-r--r-- 1 root root 40871 feb 23 20:56 40-usb_modeswitch.rules
-rw-r--r-- 1 root root 613 apr 20 18:55 40-vm-hotadd.rules
-rw-r--r-- 1 root root 165 nov 20 2017 50-apport.rules
-rw-r--r-- 1 root root 210 apr 20 18:55 50-firmware.rules
-rw-r--r-- 1 root root 3547 apr 20 18:55 50-udev-default.rules
-rw-r--r-- 1 root root 7520 mar 20 21:56 51-android.rules
-rw-r--r-- 1 root root 7274 apr 12 10:35 55-dm.rules
-rw-r--r-- 1 root root 292 gen 17 01:39 55-ippusbxd.rules
-rw-r--r-- 1 root root 921 mar 7 09:18 56-hpmud.rules
-rw-r--r-- 1 root root 620 gen 28 16:58 60-block.rules
-rw-r--r-- 1 root root 1071 gen 28 16:58 60-cdrom_id.rules
-rw-r--r-- 1 root root 69 gen 18 2017 60-crda.rules
-rw-r--r-- 1 root root 413 gen 28 16:58 60-drm.rules
-rw-r--r-- 1 root root 974 gen 28 16:58 60-evdev.rules
-rw-r--r-- 1 root root 583 gen 11 14:22 60-gnupg2.rules
-rw-r--r-- 1 root root 329 gen 8 2016 60-inputattach.rules
-rw-r--r-- 1 root root 282 gen 28 16:58 60-input-id.rules
-rw-r--r-- 1 root root 6626 dic 23 13:19 60-libgphoto2-6.rules
-rw-r--r-- 1 root root 3495 feb 3 22:26 60-libsane1.rules
-rw-r--r-- 1 root root 99 mag 24 21:44 60-libsane.rules
-rw-r--r-- 1 root root 912 apr 21 2017 60-pcmcia.rules
-rw-r--r-- 1 root root 616 gen 28 16:58 60-persistent-alsa.rules
-rw-r--r-- 1 root root 2710 gen 28 16:58 60-persistent-input.rules
-rw-r--r-- 1 root root 1794 apr 12 10:35 60-persistent-storage-dm.rules
-rw-r--r-- 1 root root 6521 gen 28 16:58 60-persistent-storage.rules
-rw-r--r-- 1 root root 1509 gen 28 16:58 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root 769 gen 28 16:58 60-persistent-v4l.rules
-rw-r--r-- 1 root root 727 gen 28 16:58 60-sensor.rules
-rw-r--r-- 1 root root 1190 gen 28 16:58 60-serial.rules
-rw-r--r-- 1 root root 472 ago 29 2017 60-xdiagnose.rules
-rw-r--r-- 1 root root 292 apr 12 19:08 61-gnome-settings-daemon-rfkill.rules
-rw-r--r-- 1 root root 456 apr 20 18:55 61-persistent-storage-android.rules
-rw-r--r-- 1 root root 570 apr 20 18:55 64-btrfs.rules
-rw-r--r-- 1 root root 257 apr 13 17:31 64-xorg-xkb.rules
-rw-r--r-- 1 root root 47180 mar 14 09:05 65-libwacom.rules
-rw-r--r-- 1 root root 157 mag 16 10:20 66-snapd-autoimport.rules
-rw-r--r-- 1 root root 606 mar 7 2017 66-xorg-synaptics-quirks.rules
-rw-r--r-- 1 root root 5104 lug 23 2017 69-cd-sensors.rules
-rw-r--r-- 1 root root 196006 apr 16 2017 69-libmtp.rules
-rw-r--r-- 1 root root 1142 apr 3 09:39 69-wacom.rules
-rw-r--r-- 1 root root 432 gen 28 16:58 70-joystick.rules
-rw-r--r-- 1 root root 734 gen 28 16:58 70-mouse.rules
-rw-r--r-- 1 root root 568 gen 28 16:58 70-power-switch.rules
-rw-r--r-- 1 root root 378 apr 3 16:50 70-printers.rules
-rw-r--r-- 1 root root 140 dic 15 15:21 70-spice-vdagentd.rules
-rw-r--r-- 1 root root 473 gen 28 16:58 70-touchpad.rules
-rw-r--r-- 1 root root 2161 ott 30 2017 70-u2f.rules
-rw-r--r-- 1 root root 2679 apr 20 18:55 70-uaccess.rules
-rw-r--r-- 1 root root 461 apr 20 18:55 71-power-switch-proliant.rules
-rw-r--r-- 1 root root 2750 apr 20 18:55 71-seat.rules
-rw-r--r-- 1 root root 429 mar 21 18:33 71-u-d-c-gpu-detection.rules
-rw-r--r-- 1 root root 636 apr 20 18:55 73-seat-late.rules
-rw-r--r-- 1 root root 961 apr 20 18:55 73-special-net-names.rules
-rw-r--r-- 1 root root 692 apr 20 18:55 73-usb-net-by-mac.rules
-rw-r--r-- 1 root root 452 gen 28 16:58 75-net-description.rules
-rw-r--r-- 1 root root 174 gen 28 16:58 75-probe_mtd.rules
-rw-r--r-- 1 root root 484 apr 24 13:06 77-mm-cinterion-port-types.rules
-rw-r--r-- 1 root root 646 apr 24 13:06 77-mm-dell-port-types.rules
-rw-r--r-- 1 root root 6910 apr 24 13:06 77-mm-ericsson-mbm.rules
-rw-r--r-- 1 root root 577 apr 24 13:06 77-mm-haier-port-types.rules
-rw-r--r-- 1 root root 1918 apr 24 13:06 77-mm-huawei-net-port-types.rules
-rw-r--r-- 1 root root 13187 apr 24 13:06 77-mm-longcheer-port-types.rules
-rw-r--r-- 1 root root 2869 apr 24 13:06 77-mm-mtk-port-types.rules
-rw-r--r-- 1 root root 2024 apr 24 13:06 77-mm-nokia-port-types.rules
-rw-r--r-- 1 root root 383 apr 24 13:06 77-mm-pcmcia-device-blacklist.rules
-rw-r--r-- 1 root root 514 apr 24 13:06 77-mm-platform-serial-whitelist.rules
-rw-r--r-- 1 root root 3155 ott 21 2017 77-mm-qdl-device-blacklist.rules
-rw-r--r-- 1 root root 1840 apr 24 13:06 77-mm-simtech-port-types.rules
-rw-r--r-- 1 root root 3268 apr 24 13:06 77-mm-telit-port-types.rules
-rw-r--r-- 1 root root 8126 apr 24 13:06 77-mm-usb-device-blacklist.rules
-rw-r--r-- 1 root root 2452 apr 24 13:06 77-mm-usb-serial-adapters-greylist.rules
-rw-r--r-- 1 root root 3666 apr 24 13:06 77-mm-x22x-port-types.rules
-rw-r--r-- 1 root root 14350 apr 24 13:06 77-mm-zte-port-types.rules
-rw-r--r-- 1 root root 965 apr 20 18:55 78-graphics-card.rules
-rw-r--r-- 1 root root 4816 gen 28 16:58 78-sound-card.rules
-rw-r--r-- 1 root root 1375 apr 20 18:55 80-debian-compat.rules
-rw-r--r-- 1 root root 615 gen 28 16:58 80-drivers.rules
-rw-r--r-- 1 root root 190 nov 25 2016 80-ifupdown.rules
-rw-r--r-- 1 root root 1183 feb 1 16:09 80-iio-sensor-proxy.rules
-rw-r--r-- 1 root root 277 apr 9 12:16 80-libinput-device-groups.rules
-rw-r--r-- 1 root root 972 apr 24 13:06 80-mm-candidate.rules
-rw-r--r-- 1 root root 292 gen 28 16:58 80-net-setup-link.rules
-rw-r--r-- 1 root root 9126 apr 19 14:48 80-udisks2.rules
-rw-r--r-- 1 root root 523 mar 26 15:21 84-nm-drivers.rules
-rw-r--r-- 1 root root 10669 apr 17 12:46 85-brltty.rules
-rw-r--r-- 1 root root 82 feb 22 14:51 85-hdparm.rules
-rw-r--r-- 1 root root 1872 feb 25 16:41 85-hplj10xx.rules
-rw-r--r-- 1 root root 1682 mar 26 15:21 85-nm-unmanaged.rules
-rw-r--r-- 1 root root 221 feb 5 17:48 85-regulatory.rules
-rw-r--r-- 1 root root 489 feb 15 2017 90-alsa-restore.rules
-rw-r--r-- 1 root root 350 mar 6 04:25 90-bolt.rules
-rw-r--r-- 1 root root 265 feb 15 23:16 90-console-setup.rules
-rw-r--r-- 1 root root 1632 mar 12 11:41 90-fwupd-devices.rules
-rw-r--r-- 1 root root 1850 dic 5 03:50 90-libgpod.rules
-rw-r--r-- 1 root root 1882 apr 9 12:16 90-libinput-model-quirks.rules
-rw-r--r-- 1 root root 6746 mar 15 01:06 90-pulseaudio.rules
-rw-r--r-- 1 root root 847 lug 23 2017 95-cd-devices.rules
-rw-r--r-- 1 root root 479 apr 12 10:35 95-dm-notify.rules
-rw-r--r-- 1 root root 2624 gen 30 15:31 95-upower-csr.rules
-rw-r--r-- 1 root root 8109 gen 30 15:31 95-upower-hid.rules
-rw-r--r-- 1 root root 354 gen 30 15:31 95-upower-wup.rules
-rw-r--r-- 1 root root 1521 feb 21 08:08 97-hid2hci.rules
-rw-r--r-- 1 root root 4363 apr 20 18:55 99-systemd.rules
giuseppe@giuseppe-X71TL:~$ ls -l /etc/sane.d/
totale 352
-rw-r--r-- 1 root root 25 mar 31 2017 abaton.conf
-rw-r--r-- 1 root root 14 mar 31 2017 agfafocus.conf
-rw-r--r-- 1 root root 24 mar 31 2017 apple.conf
-rw-r--r-- 1 root root 26 mar 31 2017 artec.conf
-rw-r--r-- 1 root root 4140 mar 31 2017 artec_eplus48u.conf
-rw-r--r-- 1 root root 548 mar 31 2017 avision.conf
-rw-r--r-- 1 root root 29 mar 31 2017 bh.conf
-rw-r--r-- 1 root root 146 dic 18 17:17 brother.conf
-rw-r--r-- 1 root root 193 mar 31 2017 canon630u.conf
-rw-r--r-- 1 root root 26 mar 31 2017 canon.conf
-rw-r--r-- 1 root root 3961 feb 3 22:26 canon_dr.conf
-rw-r--r-- 1 root root 1160 mar 31 2017 canon_pp.conf
-rw-r--r-- 1 root root 552 feb 3 22:26 cardscan.conf
-rw-r--r-- 1 root root 754 mar 31 2017 coolscan2.conf
-rw-r--r-- 1 root root 754 mar 31 2017 coolscan3.conf
-rw-r--r-- 1 root root 34 mar 31 2017 coolscan.conf
-rw-r--r-- 1 root root 984 mar 31 2017 dc210.conf
-rw-r--r-- 1 root root 984 mar 31 2017 dc240.conf
-rw-r--r-- 1 root root 704 mar 31 2017 dc25.conf
-rw-r--r-- 1 root root 492 mar 31 2017 dell1600n_net.conf
-rw-r--r-- 1 root root 1118 mag 24 18:12 dll.conf
-rw-r--r-- 1 root root 1088 feb 3 22:26 dll.conf.dpkg-dist
-rw-r--r-- 1 root root 1111 dic 18 17:33 dll.conf.save
-rw-r--r-- 1 root root 1122 dic 18 21:23 dll.conf.tmp
drwxr-xr-x 2 root root 4096 mag 20 17:48 dll.d
-rw-r--r-- 1 root root 12 mar 31 2017 dmc.conf
-rw-r--r-- 1 root root 2736 feb 3 22:26 epjitsu.conf
-rw-r--r-- 1 root root 376 feb 3 22:26 epson2.conf
-rw-r--r-- 1 root root 793 mar 31 2017 epson.conf
-rw-r--r-- 1 root root 271 feb 3 22:26 epsonds.conf
-rw-r--r-- 1 root root 3404 feb 3 22:26 fujitsu.conf
-rw-r--r-- 1 root root 2008 mar 31 2017 genesys.conf
-rw-r--r-- 1 root root 877 gen 29 2014 geniusvp2.conf
-rw-r--r-- 1 root root 1149 mar 31 2017 gphoto2.conf
-rw-r--r-- 1 root root 7792 feb 3 22:26 gt68xx.conf
-rw-r--r-- 1 root root 396 mar 31 2017 hp3900.conf
-rw-r--r-- 1 root root 76 mar 31 2017 hp4200.conf
-rw-r--r-- 1 root root 238 mar 31 2017 hp5400.conf
-rw-r--r-- 1 root root 497 mar 31 2017 hp.conf
-rw-r--r-- 1 root root 22 mar 31 2017 hpsj5s.conf
-rw-r--r-- 1 root root 24 mar 31 2017 hs2p.conf
-rw-r--r-- 1 root root 38 mar 31 2017 ibm.conf
-rw-r--r-- 1 root root 2599 mar 31 2017 kodakaio.conf
-rw-r--r-- 1 root root 367 mar 31 2017 kodak.conf
-rw-r--r-- 1 root root 39 feb 3 22:26 kvs1025.conf
-rw-r--r-- 1 root root 113 mar 31 2017 leo.conf
-rw-r--r-- 1 root root 119 mar 31 2017 lexmark.conf
-rw-r--r-- 1 root root 187 mar 31 2017 ma1509.conf
-rw-r--r-- 1 root root 1254 mar 31 2017 magicolor.conf
-rw-r--r-- 1 root root 666 mar 31 2017 matsushita.conf
-rw-r--r-- 1 root root 279 mar 31 2017 microtek2.conf
-rw-r--r-- 1 root root 268 mar 31 2017 microtek.conf
-rw-r--r-- 1 root root 2125 mar 31 2017 mustek.conf
-rw-r--r-- 1 root root 3824 mar 31 2017 mustek_pp.conf
-rw-r--r-- 1 root root 809 mar 31 2017 mustek_usb.conf
-rw-r--r-- 1 root root 13 mar 31 2017 nec.conf
-rw-r--r-- 1 root root 573 mar 31 2017 net.conf
-rw-r--r-- 1 root root 365 mar 31 2017 p5.conf
-rw-r--r-- 1 root root 75 mar 31 2017 pie.conf
-rw-r--r-- 1 root root 554 feb 3 22:26 pieusb.conf
-rw-r--r-- 1 root root 985 feb 3 22:26 pixma.conf
-rw-r--r-- 1 root root 4142 mar 31 2017 plustek.conf
-rw-r--r-- 1 root root 943 mar 31 2017 plustek_pp.conf
-rw-r--r-- 1 root root 391 mar 31 2017 qcam.conf
-rw-r--r-- 1 root root 29 mar 31 2017 ricoh.conf
-rw-r--r-- 1 root root 183 mar 31 2017 rts8891.conf
-rw-r--r-- 1 root root 13 mar 31 2017 s9036.conf
-rw-r--r-- 1 root root 1052 mar 31 2017 saned.conf
-rw-r--r-- 1 root root 48 mar 31 2017 sceptre.conf
-rw-r--r-- 1 root root 1464 mar 31 2017 sharp.conf
-rw-r--r-- 1 root root 115 mar 31 2017 sm3840.conf
-rw-r--r-- 1 root root 2239 mar 31 2017 snapscan.conf
-rw-r--r-- 1 root root 10 mar 31 2017 sp15c.conf
-rw-r--r-- 1 root root 2224 mar 31 2017 st400.conf
-rw-r--r-- 1 root root 178 mar 31 2017 stv680.conf
-rw-r--r-- 1 root root 28 mar 31 2017 tamarack.conf
-rw-r--r-- 1 root root 355 mar 31 2017 teco1.conf
-rw-r--r-- 1 root root 636 mar 31 2017 teco2.conf
-rw-r--r-- 1 root root 217 mar 31 2017 teco3.conf
-rw-r--r-- 1 root root 1807 mar 31 2017 test.conf
-rw-r--r-- 1 root root 1495 mar 31 2017 u12.conf
-rw-r--r-- 1 root root 386 mar 31 2017 umax1220u.conf
-rw-r--r-- 1 root root 3094 mar 31 2017 umax.conf
-rw-r--r-- 1 root root 1684 mar 31 2017 umax_pp.conf
-rw-r--r-- 1 root root 3917 feb 3 22:26 xerox_mfp.conf
giuseppe@giuseppe-X71TL:~$