Arties Das freut mich 😉 Zeige du einmal
/usr/lib/iscan-data/make-policy-file -v
Anmeldungsdatum: Beiträge: 19527 |
Arties Das freut mich 😉 Zeige du einmal /usr/lib/iscan-data/make-policy-file -v |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 49 |
peter@T3500: ~> dpkg -l "iscan*" Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/ Halb installiert/Trigger erWartet/Trigger anhängig |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht) ||/ Name Version Architektur Beschreibung +++-===========================-==================-==================-============================================================ ii iscan 2.30.2-2 amd64 simple, easy to use scanner utility for EPSON scanners ii iscan-data 1.36.0-1 all Image Scan! for Linux data files un iscan-network-nt <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-cx4400 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-7200 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-7300 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-9400 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-f500 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-f520 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-f600 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-f670 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-f700 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-s600 <keine> <keine> (keine Beschreibung vorhanden) un iscan-plugin-gt-x750 <keine> <keine> (keine Beschreibung vorhanden) |
||
Anmeldungsdatum: Beiträge: 19527 |
Ich möchte das jetzt genau wissen 😀 sudo find / -name "*iscan.rules*" Bitte mit Terminal Ausgabe von Promt bis Promt. |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 49 |
peter@T3500: ~> sudo find / -name "*iscan.rules*" find: ‘/media/peter/697dab13-1f0f-4cac-b143-708efd90520b/Backup_Fujitsu_NAS’: Die Struktur muss bereinigt werden peter@T3500: ~> |
||
Anmeldungsdatum: Beiträge: 19527 |
Gut,ich kann es nicht erklären warum das bei 17.10 wohl so ist.Da sind wohl mehr Änderungen bei 17.10 erfolgt. Habe dann nur noch eines für dich sudo adduser lp scanner sudo adduser saned lp sudo adduser saned plugdev sudo adduser saned scanner Neustart.Wenn nicht Funktioniert nehmen wir es wieder raus. |
||
Anmeldungsdatum: Beiträge: 19527 |
Ich werde hier mal etwas klären 😈 stephan@stephan-Desktop:~$ grep 014b /lib/udev/rules.d/* /lib/udev/rules.d/60-iscan.rules:ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="014b", ENV{libsane_matched}="yes" /lib/udev/rules.d/60-libsane.rules:ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="014b", ENV{libsane_matched}="yes" in der Hardware Datenbank von Epson enthalten. stephan@stephan-Desktop:~$ grep 0142 /lib/udev/rules.d/* /lib/udev/rules.d/60-iscan.rules:ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0142", ENV{libsane_matched}="yes" /lib/udev/rules.d/60-libsane.rules:ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="0142", ENV{libsane_matched}="yes" stephan@stephan-Desktop:~$ in der Hardware Datenbank von Epson nicht enthalten. Zu finden ist die Datenbank /lib/udev/hwdb.d/iscan-data.hwdb |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 49 |
Die User-Zuordnnungen haben auch nichts gebracht. Habe sie wieder entfernt bis auf saned in der Gruppe scanner, da der schon vorher drin stand. Merkwürdig finde ich, dass beide Scanneranwendungen, xsane und iscan mit Abspeichern der Daten funktionieren und nur mit Druckerausgabe nicht. |
||
Anmeldungsdatum: Beiträge: 86 |
Anbei die gewünschte Ausgabe:
|
||
Anmeldungsdatum: Beiträge: 19527 |
Danke,hab es mir gedacht das wenigstens die Policy da ist. peerwal Habe jetzt keine Idee / Lösung mehr,du kannst noch mal eine Live Sitzung starten,fix den Epson Installieren und Testen. |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 49 |
OK, danke. Sollte ich noch eine Lösung finden, schreibe ich sie hier rein. |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 49 |
Ich habe jetzt noch mal imagescan eingegeben, wobei in xsane der Modus Fotokopie eingestellt ist, und erhalte die Ausgabe peter@T3500: ~> scanimage scanimage: output is not a file, exiting ich nehme an, dass mit sane1 momentan nur die Ausgabe in eine Datei funktioniert und das auch der Grund dafür ist, dass ich in Image Scan! for Linux keinen Drucker auswählen kann?! |
||
Anmeldungsdatum: Beiträge: 19527 |
Dein Befehl ist verkehrt 😉 So sollte er sein scanimage >test |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 49 |
Ah ja! Danke. Habe jetzt mal die Konfigurationsdateien ~/.sane/xsane gelöscht und neu konfiguriert. Jetzt kommt die Fehlermeldung mit ...broken pipe... nur wenn ich in den Optionen zu Fotokopie die Funktion Erzeuge zlib-komprimiertes Postscript-Bild... aktiviere. Deaktiviere ich die Option, passiert nach dem Scannen gar nichts mehr. Kann es mit ghostscript ein Problem geben? Die Fehlermeldung kommt in dem Augenblick, wo laut Fortschrittsanzeige die Konvertierung beginnt. |
||
Anmeldungsdatum: Beiträge: 19 |
Ich bin bei diesem Scanner auch verzweifelt. Konnte aber eine Lösung finden! /lib/udev/rules.d/40-iscan.rules → Die hab ich erzeugt .. natürlich den Treiber von Epson vorher installiert. Seither läuft er .. vielleicht hilfts. Gruß # This file is generated as part of the installation of "Image # Scan! for Linux". Any changes will be overwritten with each # upgrade of the package. ACTION!="add", GOTO="iscan_rules_end" ENV{DEVTYPE}=="usb_device", GOTO="iscan_create_usb_dev" SUBSYSTEMS=="scsi", GOTO="iscan_scsi_rules_begin" SUBSYSTEM=="usb_device", GOTO="iscan_usb_rules_begin" SUBSYSTEM!="usb_device", GOTO="iscan_usb_rules_end" # Kernel >= 2.6.22 jumps here LABEL="iscan_create_usb_dev" # For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y # If the following rule does not exist on your system yet, uncomment it # ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root", GROUP="root" # Kernel < 2.6.22 jumps here LABEL="iscan_usb_rules_begin" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0101", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0102", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0103", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0104", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0105", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0106", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0107", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0108", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0109", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010b", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0110", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0112", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0114", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0116", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0118", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0119", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011b", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0120", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0121", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0122", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0126", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0128", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0129", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012b", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0130", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0131", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0133", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0135", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0136", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0137", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0138", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="013a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0142", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0143", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0144", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0801", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0802", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0805", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0806", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0807", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0808", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0810", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0811", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0813", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0814", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0815", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0817", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0818", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0819", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0820", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0821", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0827", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0828", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0829", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082b", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0830", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0831", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0833", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0834", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0835", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0836", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0837", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0838", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0839", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0841", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0843", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0844", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0846", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0847", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0848", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0849", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0850", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0851", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0852", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0853", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0854", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0855", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0856", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="085c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="085d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="085e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="085f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0860", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0861", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0862", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0863", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0864", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0865", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0866", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0869", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="086a", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0870", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0871", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0872", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0873", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0878", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0879", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="087b", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="087c", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="087d", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="087e", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="087f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0880", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0881", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0883", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0884", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0885", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="088f", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0890", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0891", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0892", ENV{libsane_matched}="yes" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0893", ENV{libsane_matched}="yes" # The following rule will disable USB autosuspend for the device ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'" LABEL="iscan_usb_rules_end" SUBSYSTEMS!="scsi", GOTO="iscan_scsi_rules_end" LABEL="iscan_scsi_rules_begin" # Generic: SCSI device type 6 indicates a scanner KERNEL=="sg[0-9]*", ATTRS{type}=="6", ENV{libsane_matched}="yes" # Some scanners advertise themselves as SCSI device type 3 # Epson Perfection 2450 | Epson Perfection 2450 PHOTO KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes" # Epson Perfection 3200 | Epson Perfection 3200 PHOTO KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes" # Epson Perfection 636S | Epson Perfection 1200S KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes" # Epson Perfection 636 KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes" # Epson GT-7000 KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER GT-7000", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet 4p KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet IIc KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet IIp KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet IIcx KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet 4c KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet 5p KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet 6200C KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes" # Hewlett-Packard ScanJet 6300C KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes" LABEL="iscan_scsi_rules_end" ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" LABEL="iscan_rules_end" |