[Bug 378989] [NEW] scsi controller aic7xxx should set name scanner and permissions automaticly
HAMcZlaw
hendrikwalz at web.de
Thu May 21 10:04:33 UTC 2009
Public bug reported:
My scanner HP ScanJet 4c use scsi controller aic7xxx. This controller
know to be scanner controller only. At the momment this controller have
permissions to root only. I think it will be nice to have this
controller configured with udev by default to /dev/scanner with saned
group or some thing like this.
lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
apt-cache policy sane
sane:
Installiert: (keine)
Kandidat: 1.0.14-7
Versions-Tabelle:
1.0.14-7 0
500 http://de.archive.ubuntu.com jaunty/universe Packages
udevadm info -a -p /sys/class/scsi_generic/sg3
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:0c.0/host3/target3:0:3/3:0:3:0/scsi_generic/sg3':
KERNEL=="sg3"
SUBSYSTEM=="scsi_generic"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:0c.0/host3/target3:0:3/3:0:3:0':
KERNELS=="3:0:3:0"
SUBSYSTEMS=="scsi"
DRIVERS==""
ATTRS{device_blocked}=="0"
ATTRS{type}=="3"
ATTRS{scsi_level}=="3"
ATTRS{vendor}=="HP "
ATTRS{model}=="C2520A "
ATTRS{rev}=="3503"
ATTRS{state}=="running"
ATTRS{timeout}=="0"
ATTRS{iocounterbits}=="32"
ATTRS{iorequest_cnt}=="0x369"
ATTRS{iodone_cnt}=="0x369"
ATTRS{ioerr_cnt}=="0x1"
ATTRS{modalias}=="scsi:t-0x03"
ATTRS{evt_media_change}=="0"
ATTRS{queue_depth}=="2"
ATTRS{queue_type}=="none"
looking at parent device '/devices/pci0000:00/0000:00:0c.0/host3/target3:0:3':
KERNELS=="target3:0:3"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0c.0/host3':
KERNELS=="host3"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0c.0':
KERNELS=="0000:00:0c.0"
SUBSYSTEMS=="pci"
DRIVERS=="aic7xxx"
ATTRS{vendor}=="0x9004"
ATTRS{device}=="0x5078"
ATTRS{subsystem_vendor}=="0x9004"
ATTRS{subsystem_device}=="0x7850"
ATTRS{class}=="0x010000"
ATTRS{irq}=="16"
ATTRS{local_cpus}=="ffffffff,ffffffff"
ATTRS{local_cpulist}=="0-63"
ATTRS{modalias}=="pci:v00009004d00005078sv00009004sd00007850bc01sc00i00"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
** Affects: sane-frontends (Ubuntu)
Importance: Undecided
Status: New
--
scsi controller aic7xxx should set name scanner and permissions automaticly
https://bugs.launchpad.net/bugs/378989
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list