1141cc406Sopenharmony_ci# This file was generated from description files (*.desc) 2141cc406Sopenharmony_ci# by sane-desc 3.6 from sane-backends 1.0.29-241-g1f9590ab 3141cc406Sopenharmony_ci# 4141cc406Sopenharmony_ci# udev rules file for supported USB and SCSI devices 5141cc406Sopenharmony_ci# 6141cc406Sopenharmony_ci# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb 7141cc406Sopenharmony_ci# 8141cc406Sopenharmony_ci# The SCSI device support is very basic and includes only 9141cc406Sopenharmony_ci# scanners that mark themselves as type "scanner" or 10141cc406Sopenharmony_ci# SCSI-scanners from HP and other vendors that are entitled "processor" 11141cc406Sopenharmony_ci# but are treated accordingly. 12141cc406Sopenharmony_ci# 13141cc406Sopenharmony_ci# If your SCSI scanner isn't listed below, you can add it to a new rules 14141cc406Sopenharmony_ci# file under /etc/udev/rules.d/. 15141cc406Sopenharmony_ci# 16141cc406Sopenharmony_ci# If your scanner is supported by some external backend (brother, epkowa, 17141cc406Sopenharmony_ci# hpaio, etc) please ask the author of the backend to provide proper 18141cc406Sopenharmony_ci# device detection support for your OS 19141cc406Sopenharmony_ci# 20141cc406Sopenharmony_ci# If the scanner is supported by sane-backends, please mail the entry to 21141cc406Sopenharmony_ci# the sane-devel mailing list (sane-devel@alioth-lists.debian.net). 22141cc406Sopenharmony_ci# 23141cc406Sopenharmony_ciACTION=="remove", GOTO="libsane_rules_end" 24141cc406Sopenharmony_ci 25141cc406Sopenharmony_ci# The following rule will disable USB autosuspend for the device 26141cc406Sopenharmony_ciENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on" 27141cc406Sopenharmony_ci 28141cc406Sopenharmony_ciSUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin" 29141cc406Sopenharmony_ciGOTO="libsane_rules_end" 30141cc406Sopenharmony_ci 31141cc406Sopenharmony_ciLABEL="libsane_scsi_rules_begin" 32141cc406Sopenharmony_ciKERNEL!="sg[0-9]*", GOTO="libsane_rules_end" 33141cc406Sopenharmony_ci 34141cc406Sopenharmony_ci# Generic: SCSI device type 6 indicates a scanner 35141cc406Sopenharmony_ciATTRS{type}=="6", ENV{libsane_matched}="yes" 36141cc406Sopenharmony_ci 37141cc406Sopenharmony_ci# Some scanners advertise themselves as SCSI device type 3 38141cc406Sopenharmony_ci 39141cc406Sopenharmony_ci# Wildcard: for some Epson SCSI scanners 40141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes" 41141cc406Sopenharmony_ci 42141cc406Sopenharmony_ci# Epson Perfection 2450 | Epson Perfection 2450 PHOTO 43141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes" 44141cc406Sopenharmony_ci 45141cc406Sopenharmony_ci# Epson Perfection 3200 | Epson Perfection 3200 PHOTO 46141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes" 47141cc406Sopenharmony_ci 48141cc406Sopenharmony_ci# Epson Perfection 636S | Epson Perfection 1200S 49141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes" 50141cc406Sopenharmony_ci 51141cc406Sopenharmony_ci# Epson Perfection 636 52141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes" 53141cc406Sopenharmony_ci 54141cc406Sopenharmony_ci# Hewlett-Packard ScanJet 4p 55141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes" 56141cc406Sopenharmony_ci 57141cc406Sopenharmony_ci# Hewlett-Packard ScanJet IIc 58141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes" 59141cc406Sopenharmony_ci 60141cc406Sopenharmony_ci# Hewlett-Packard ScanJet IIp 61141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes" 62141cc406Sopenharmony_ci 63141cc406Sopenharmony_ci# Hewlett-Packard ScanJet IIcx 64141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes" 65141cc406Sopenharmony_ci 66141cc406Sopenharmony_ci# Hewlett-Packard ScanJet 4c 67141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes" 68141cc406Sopenharmony_ci 69141cc406Sopenharmony_ci# Hewlett-Packard ScanJet 5p 70141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes" 71141cc406Sopenharmony_ci 72141cc406Sopenharmony_ci# Hewlett-Packard ScanJet 6200C 73141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes" 74141cc406Sopenharmony_ci 75141cc406Sopenharmony_ci# Hewlett-Packard ScanJet 6300C 76141cc406Sopenharmony_ciATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes" 77141cc406Sopenharmony_ci 78141cc406Sopenharmony_ci 79141cc406Sopenharmony_ciLABEL="libsane_rules_end" 80