Mailinglist Archive: opensuse-factory (485 mails)

< Previous Next >
[opensuse-factory] udev problem
  • From: Donn Washburn <n5xwb@xxxxxxxxxxx>
  • Date: Wed, 09 Jun 2010 17:57:30 -0500
  • Message-id: <4C101C5A.4050505@xxxxxxxxxxx>
I have successfully written and /etc/udev/rules.d before but it seems my old brain has forgotten something. Do you see a problem with this rule - the printer is being found by yast2 printers

here is a hwinfo about the printer
Command ~> /usr/sbin/hwinfo --printer
15: USB 00.0: 10900 Printer
[Created at usb.122]
Unique ID: KRJj.HJOIwLF3HD7
Parent ID: uIhY.VUqQobnTCp0
SysFS ID: /devices/pci0000:00/0000:00:02.1/usb3/3-1/3-1:1.0
SysFS BusID: 3-1:1.0
Hardware Class: printer
Model: "Brother MFC-7840W"
Hotplug: USB
Vendor: usb 0x04f9 "Brother Industries, Ltd"
Device: usb 0x01e5
SubVendor: "Brother"
SubDevice: "MFC-7840W"
Revision: "1.00"
Serial ID: "000K9N447489"
Driver: "usblp"
Driver Modules: "usblp"
Device File: /dev/usb/lp0
Device Files: /dev/usb/lp0, /dev/char/180:0, /dev/usblp0
Device Number: char 180:0
Speed: 12 Mbps
Module Alias: "usb:v04F9p01E5d0100dc00dsc00dp00ic07isc01ip02"
Driver Info #0:
Driver Status: usblp is active
Driver Activation Cmd: "modprobe usblp"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #14 (Hub)

--
73 de Donn Washburn
307 Savoy Street Email:" n5xwb@xxxxxxxxxxx "
Sugar Land, TX 77478 LL# 1.281.242.3256
Ham Callsign N5XWB HAMs : " n5xwb@xxxxxxxx "
VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg
BMW MOA #: 4146 - Ambassador
" http://counter.li.org " #279316

# Brother printer rules by Donn Washburn for MFC-7840W all-in-one products.
#
# Notes for downstream implementers.
#
# 2. It seems SFSFS has been replaced or depreciated by ATTR/ATTRS, but I
continue to use SFSFS in order to be compatible with
# older distros. SFSFS was defined in "Writing udev rules" Ver 0.72,
Daniel Drake. 2/11/2009, D Suffield
#
# 3. This rules file is an attempt at being compatable with all distros. Feel
free to make your own changes and if you feel your
# changes are not distro specific please send your patch to us. 2/11/2009,
D Suffield
#
# Novell/Suse changed:
#
# SYSFS{idVendor} to ATTRS{idVendor} and
# SYSFS{idProduct to ATTRS{idProduct}
# because SYSFS is deprecated and ATTRS works for openSUSE.
#
# MODE="660" to MODE="0664"
# Low-level USB device add trigger

#Brother MFC7840W Scanner
SUBSYSTEM=="usb", ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01e5",
MODE="0666",GROUP="scanner"

# Brother MFC-7840W All in One Laser Printer
SUBSYSTEM=="usb", ATTRS{idVendor}=="04f9", ATTRS{idSerial}=="000K9N447489",
MODE="0666", GROUP="lp"
< Previous Next >