https://bugzilla.novell.com/show_bug.cgi?id=681146
https://bugzilla.novell.com/show_bug.cgi?id=681146#c5
Dieter Jurzitza changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|dieter.jurzitza@t-online.de |
--- Comment #5 from Dieter Jurzitza 2011-03-23 19:51:00 UTC ---
With pleasure:
lsscsi -g
djunix:/var/spool # lsscsi -g
[0:0:9:0] tape HP Ultrium 1-SCSI N26D /dev/st0 /dev/sg0
[0:0:15:0] disk FUJITSU MAW3300NP 0104 /dev/sda /dev/sg1
[1:0:3:0] cd/dvd PLEXTOR CD-ROM PX-40TS 1.13 /dev/sr0 /dev/sg2
[2:0:6:0] scanner SCANNER 2.02 - /dev/sg3
[3:0:0:0] cd/dvd ATAPI DVD DUAL 8X4X12 B3HC /dev/sr1 /dev/sg4
lsscsi -c -g
djunix:/var/spool # lsscsi -c -g
Attached devices:
Host: scsi0 Channel: 00 Target: 09 Lun: 00
Vendor: HP Model: Ultrium 1-SCSI Rev: N26D
Type: Sequential-Access ANSI SCSI revision: 03
/dev/sg0
Host: scsi0 Channel: 00 Target: 15 Lun: 00
Vendor: FUJITSU Model: MAW3300NP Rev: 0104
Type: Direct-Access ANSI SCSI revision: 03
/dev/sg1
Host: scsi1 Channel: 00 Target: 03 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.13
Type: CD-ROM ANSI SCSI revision: 02
/dev/sg2
Host: scsi2 Channel: 00 Target: 06 Lun: 00
Vendor: SCANNER Model: Rev: 2.02
Type: Scanner ANSI SCSI revision: 01
/dev/sg3
Host: scsi3 Channel: 00 Target: 00 Lun: 00
Vendor: ATAPI Model: DVD DUAL 8X4X12 Rev: B3HC
Type: CD-ROM ANSI SCSI revision: 05
/dev/sg4
sane-find-scanner
djunix:/var/spool # sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
found SCSI scanner "SCANNER 2.02" at /dev/sg3
# Your SCSI scanner was detected. It may or may not be supported by SANE. Try
# scanimage -L and read the backend's manpage.
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
scanimage -L
djunix:/var/spool # scanimage -L
device `mustek:/dev/sg3' is a Mustek ScanExpress 12000SP flatbed scanner
lsscsi -L
[2:0:6:0] scanner SCANNER 2.02 -
state=running queue_depth=2 scsi_level=2 type=6 device_blocked=0 timeout=0
The device is of type "6". So it ought to be detected by the udev-rule in
/etc/udev/rules.d/55-libsane.rules:
LABEL="libsane_scsi_rules_begin"
# Generic: SCSI device type 6 indicates a scanner
KERNEL=="sg[0-9]*", ATTR{type}=="6", MODE="0664", GROUP="lp",
ENV{libsane_matched}="yes"
# Some scanners advertise themselves as SCSI device type 3
_but_ if it was detected, it ought to be configured
crw-rw-r-- 1 root.lp 0664 21, 3 22. Mär 22:47 /dev/sg3
or something similar
what is not the case. AFAIR there used to be quite complicated rules that stem
from poicycit that enabled scanning for users and the udev-rules had been
ignored usually. But I do not know about the state and usage of policy-kit any
more.
Thank you for looking into this,
take care
Dieter Jurzitza
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.