• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Brother MFC-9460 scannt unter OpenSuse 13.1 nicht

pilus

Hacker
Hallo

ich habe mein suse neu installert. Ich habe einen Brother MFC-9460 und der lief bisher auf dem alten OpenSuse 12.1 hervorragend. Nach der Installation habe ich von Brother den aktuellen Treiber runtergeladen:
Driver Install Tool
The tool will install LPR, CUPSwrapper driver and scanner driver (for scanner models).
...mehr 12.03.2014
(2.0.0-1) 0.02
MB
Der drucker funktioniert einwandfrei. Der Scanner wird nun auch in YAST angezeigt:
und
dev5,Brother,MFC-9460CDN,Brother,MFC9460,an, dev5

Leider reagiert der scanner nicht, wenn ich mit einem Scanprogram wie scanlite scannen möchte. Woran kann das legen?

Gruss

Christoph
 

Sauerland

Ultimate Guru
Nach der Installation habe ich von Brother den aktuellen Treiber runtergeladen:

Welcher?

Bei mir macht das Teil:
Code:
./linux-brprinter-installer-2.0.0-1 
Input model name ->mfc-9460

You are going to install following packages.
   mfc9460cdnlpr-1.1.1-5.i386.deb
   mfc9460cdncupswrapper-1.1.1-5.i386.deb
   brscan4-0.4.2-1.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->
System:
Code:
cat /etc/SuSE-release 
openSUSE 13.1 (x86_64)
VERSION = 13.1
CODENAME = Bottle
 
OP
P

pilus

Hacker
Hallo
bei mir habe ich laut Anleitung folgendes eingegeben:
Code:
bash linux-brprinter-installer-2.0.0-1
und dann hat er wie bei Dir installiert. Drucker läuft. Scanner wir ja offensichtlch auch in YAST erkannt. Aber er reagiert nicht auf scanlite
 
OP
P

pilus

Hacker
Code:
linux-29f9:/home/josef # zypper se -si mfc9460 brscan
Daten des Repositories laden ...
Installierte Pakete lesen ...

S | Name                  | Typ   | Version | Arch   | Repository    
--+-----------------------+-------+---------+--------+---------------
i | brscan-skey           | Paket | 0.2.4-1 | x86_64 | (Systempakete)
i | brscan4               | Paket | 0.4.2-1 | x86_64 | (Systempakete)
i | mfc9460cdncupswrapper | Paket | 1.1.1-5 | i386   | (Systempakete)
i | mfc9460cdnlpr         | Paket | 1.1.1-5 | i386   | (Systempakete)
linux-29f9:/home/josef #
 
OP
P

pilus

Hacker
ich habe den in YAST erst versucht, den Scanner auszuwählen und of ok gegangen. keine Wirkung. Dann wieder gelöscht und das brotherscript erneut durchlaufen lassen. Hier kommt bei der Scannerinstallation folgende Fehlermeldung (have den code bezüglch Druckerinstallation und Lizenzen weggelassen):
Code:
linux-29f9:/home/josef/Downloads # bash linux-brprinter-installer-2.0.0-1
Input model name ->MFC-9460CDN

You are going to install following packages.
   mfc9460cdnlpr-1.1.1-5.i386.rpm
   mfc9460cdncupswrapper-1.1.1-5.i386.rpm
   brscan4-0.4.2-1.x86_64.rpm
   brscan-skey-0.2.4-1.x86_64.rpm
OK? [y/N] ->y


wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.2-1.x86_64.rpm
--2014-07-04 15:38:39--  http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.2-1.x86_64.rpm
Auflösen des Hostnamen »www.brother.com (www.brother.com)«... 62.156.209.49, 62.156.209.19
Verbindungsaufbau zu www.brother.com (www.brother.com)|62.156.209.49|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 78257 (76K) [application/x-rpm]
In »»brscan4-0.4.2-1.x86_64.rpm«« speichern.

100%[=========================================================================================>] 78.257      --.-K/s   in 0,05s   

2014-07-04 15:38:39 (1,44 MB/s) - »»brscan4-0.4.2-1.x86_64.rpm«« gespeichert [78257/78257]

rpm -ihv --nodeps --replacefiles --replacepkgs brscan4-0.4.2-1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:brscan4-0.4.2-1                  ################################# [100%]
This software is based in part on the work of the Independent JPEG Group.
You are going to install following packages.
   brscan-skey-0.2.4-1.x86_64.rpm


Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.x86_64.rpm
--2014-07-04 15:38:44--  http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.x86_64.rpm
Auflösen des Hostnamen »www.brother.com (www.brother.com)«... 62.156.209.49, 62.156.209.19
Verbindungsaufbau zu www.brother.com (www.brother.com)|62.156.209.49|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 53876 (53K) [application/x-rpm]
In »»brscan-skey-0.2.4-1.x86_64.rpm«« speichern.

100%[=========================================================================================>] 53.876      --.-K/s   in 0,05s   

2014-07-04 15:38:44 (957 KB/s) - »»brscan-skey-0.2.4-1.x86_64.rpm«« gespeichert [53876/53876]

rpm -ihv --nodeps --replacefiles --replacepkgs brscan-skey-0.2.4-1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:brscan-skey-0.2.4-1              ################################# [100%]
ln: die symbolische Verknüpfung „/etc/opt/brother/scanner/brscan-skey/brscan_mail.config“ konnte nicht angelegt werden: Die Datei existiert bereits
ln: die symbolische Verknüpfung „/etc/opt/brother/scanner/brscan-skey/brscan_mailmessage.txt“ konnte nicht angelegt werden: Die Datei existiert bereits
ln: die symbolische Verknüpfung „/etc/opt/brother/scanner/brscan-skey/brscan-skey-0.2.4-0.cfg“ konnte nicht angelegt werden: Die Datei existiert bereits
ln: die symbolische Verknüpfung „/usr/bin/brscan-skey“ konnte nicht angelegt werden: Die Datei existiert bereits
warning: %post(brscan-skey-0.2.4-1.x86_64) scriptlet failed, exit status 1
Hit Enter/Return key.
linux-29f9:/home/josef/Downloads #
 

Pfalzwolf

Member
Hast Du die /etc/udev/rules.d/55-libsane.rules ergänzt ?

Vor "# The following rule..." sollte stehen

# Brother
ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

Gruß,
Pfalzwolf
 
OP
P

pilus

Hacker
Hallo
bei mir steht
Code:
# Brother MFC-240C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01ab", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7840W
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01e5", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

Soll ich den Code von Euch so wie er ist da rein koperen? Brauche ich dnn nicht auch eine Product-ID? Das haben zumindest alle Anderen
 
OP
P

pilus

Hacker
Ich habs einfach zum Test reinkopiert und es läuft. Danke. Doku sagte zwar, es sei für Opensuse 11.2 aber egal
 
OP
P

pilus

Hacker
Hallo
habe 13.2 neu installiert und den Code wie beim letzten Mal reinkopiert. Diesmal geht es leider nicht
Was ist denn die ATTR{idProduct} von meinem MFC-9460cdn?
Ich habe die Treiber mit dem Driver Install Tool rpm von Brother installiert. Die Installation ging bis zum Ende durch. Drucker läuft auch einwandfrei. In Yast wird der Scanner auch als Brother 9460cdn an dev1 angezeigt.
Danke
christoph
 
OP
P

pilus

Hacker
gibt keine Ausgabe
Code:
inux-lc2k:/home/josef # /sbin/udevadm info --export-db | grep -iA20 -B40 libsane_matched
linux-lc2k:/home/josef # /sbin/udevadm info --export-db | grep -iA20 -B40 libsane_matched
linux-lc2k:/home/josef #
 

josef-wien

Ultimate Guru
Dann gibt es die Regel nicht. Nachdem es in der Datei einige GOTO-Anweisungen gibt, hast Du sie vielleicht an der falschen Stelle eingefügt.
 
OP
P

pilus

Hacker
Also ich habe es doch richtig eingefügt

Code:
# This file was automatic# This file was automatic# This file was automatically created based on description files (*.desc)
# by sane-desc 3.5 from sane-backends 1.0.24 on Fri Oct 10 16:40:02 2014
#
# udev rules file for supported USB and SCSI devices
#
# 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.
#
# To add a USB device, add a rule to the list below between the
# LABEL="libsane_usb_rules_begin" and LABEL="libsane_usb_rules_end" lines.
#
# To run a script when your device is plugged in, add RUN+="/path/to/script"
# to the appropriate rule.
#
# If your scanner isn't listed below, you can add it as explained above.
#
# 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"
# ENV{DEVTYPE}=="usb_device", GOTO="libsane_create_usb_dev"
SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
SUBSYSTEM=="usb", GOTO="libsane_usb_rules_begin"
SUBSYSTEM!="usb", GOTO="libsane_usb_rules_end"

# Kernel >= 2.6.22 jumps here
LABEL="libsane_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="libsane_usb_rules_begin"

# Hewlett-Packard Any all-in-one device
ATTR{idVendor}=="03f0", ATTR{idProduct}=="0000", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

[b]Schnitt[/b]

# Brother
ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-240C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01ab", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7840W
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01e5", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3100C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="010e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-5100C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="010f", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-4800
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0110", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-6800 | Brother MFC 4600
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0111", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother
 DCP-1000
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0112", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8500
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0113", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9700
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0114", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9800
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0115", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-1400
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0116", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX-2900
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0117", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX-3800
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0118", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9660
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0119", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9860
ATTR{idVendor}=="04f9", ATTR{idProduct}=="011a", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9760
ATTR{idVendor}=="04f9", ATTR{idProduct}=="011c", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9070
ATTR{idVendor}=="04f9", ATTR{idProduct}=="011d", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9180
ATTR{idVendor}=="04f9", ATTR{idProduct}=="011e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9160
ATTR{idVendor}=="04f9", ATTR{idProduct}=="011f", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-580
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0120", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-590
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0121", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-5100J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0122", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX-2850
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0123", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-4800J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0124", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-6800J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0125", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX1800C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0126", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9800J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0127", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8500J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0128", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-9030
ATTR{idVendor}=="04f9", ATTR{idProduct}=="012b", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX-4100
ATTR{idVendor}=="04f9", ATTR{idProduct}=="012e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX-4750e
ATTR{idVendor}=="04f9", ATTR{idProduct}=="012f", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX-5750e
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0130", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-5200C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0132", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-100
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0135", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-150CL
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0136", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3200C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="013a", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-890
ATTR{idVendor}=="04f9", ATTR{idProduct}=="013c", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-5200J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="013d", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-4420C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="013e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-4820C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="013f", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-8020
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0140", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-8025D
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0141", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8420
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0142", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8820D
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0143", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-4020C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0144", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3220C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0146", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX1820C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0147", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3320CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0148", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX1920CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0149", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3420C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="014a", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3820CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="014b", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-3020C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="014c", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother FAX1815C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="014d", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8820J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="014e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-8025J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="014f", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8220
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0150", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8210
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0151", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-1000J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0153", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3420J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0157", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3820J
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0158", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-8040
ATTR{idVendor}=="04f9", ATTR{idProduct}=="015d", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-8045D
ATTR{idVendor}=="04f9", ATTR{idProduct}=="015e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8440
ATTR{idVendor}=="04f9", ATTR{idProduct}=="015f", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-8840D
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0160", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-210C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0161", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-420CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0162", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-410CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0163", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-620CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0165", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-610CLN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0166", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-610CLN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0168", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-110C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0169", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-310CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="016b", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-5440CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="016d", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-5840CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="016e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3240C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0173", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-3340CN
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0174", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7420
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0180", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7820N
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0181", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-7010
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0182", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-7020
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0183", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-7025
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0184", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7220
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0185", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7225N
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0186", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-115C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="018c", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-117C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="018e", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-120C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0190", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-215C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="0193", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-8060
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01a3", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother DCP-330C
ATTR{idVendor}=="04f9",
 ATTR{idProduct}=="01a9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-240C
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01ab", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Brother MFC-7840W
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01e5", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"


# Brother
ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
[b]# The following rule will disable USB autosuspend for the device[/b]
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="libsane_usb_rules_end"

SUBSYSTEMS!="scsi", GOTO="libsane_scsi_rules_end"

LABEL="libsane_scsi_rules_begin"
# Generic: SCSI device type 6 indicates a scanner
KERNEL=="sg[0-9]*", ATTRS{type}=="6", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
# Some scanners advertise themselves as SCSI device type 3
# Wildcard: for some Epson SCSI scanners
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"


# Brother

ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", 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="libsane_usb_rules_end"

SUBSYSTEMS!="scsi", GOTO="libsane_scsi_rules_end"

LABEL="libsane_scsi_rules_begin"

ENV{libsane_matched}=="yes", MODE="664", GROUP="lp"

LABEL="libsane_rules_end"
 

josef-wien

Ultimate Guru
Ich finde die Zeile sogar dreimal, zweimal unter "USB" und einmal unter "SCSI" (wo sie in der Form wohl nichts nützt). Da nichts in der udev-Datenbank zu finden ist, kommt die Regel aber nicht zum Zug.

Ich kenne weder 13.2 noch Deinen Scanner, wenn er über USB angeschlossen ist, muß er bei
Code:
lsusb
aufscheinen.
 
OP
P

pilus

Hacker
linux-lc2k:/etc/udev/rules.d # lsusb
Bus 002 Device 006: ID 04f9:0243 Brother Industries, Ltd
Bus 002 Device 004: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 002 Device 003: ID 045e:00f1 Microsoft Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
linux-lc2k:/etc/udev/rules.d #
 
Oben