Re: SCSI scanner device ownership and permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



| From: Paul Howarth <paul@xxxxxxxxxxxx>

| What type of scanner do you have?
| 
| Please post the output of:
| # udevinfo -a -p $(udevinfo -q path -n /dev/sg0)

Sure.  What does this tell you?

[root@redtape hugh]# udevinfo -a -p $(udevinfo -q path -n /dev/sg0)

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

device '/sys/class/scsi_generic/sg0' has major:minor 21:0
  looking at class device '/sys/class/scsi_generic/sg0':
    SUBSYSTEM=="scsi_generic"
    SYSFS{dev}=="21:0"

follow the "device"-link to the physical device:
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:08.0/host0/target0:0:5/0:0:5:0':
    BUS=="scsi"
    ID=="0:0:5:0"
    DRIVER=="unknown"
    SYSFS{device_blocked}=="0"
    SYSFS{iocounterbits}=="32"
    SYSFS{iodone_cnt}=="0x6"
    SYSFS{ioerr_cnt}=="0x0"
    SYSFS{iorequest_cnt}=="0x6"
    SYSFS{model}=="Astra 1200S     "
    SYSFS{queue_depth}=="2"
    SYSFS{queue_type}=="none"
    SYSFS{rev}=="V2.9"
    SYSFS{scsi_level}=="3"
    SYSFS{state}=="running"
    SYSFS{timeout}=="0"
    SYSFS{type}=="6"
    SYSFS{vendor}=="UMAX    "

couldn't open device directory
[root@redtape hugh]# sane-find-scanner

found SCSI scanner "UMAX Astra 1200S V2.9" at /dev/sg0
  # 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 driver for your USB host controller and have installed a
  # kernel scanner module.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
[root@redtape hugh]# ls -l /dev/sg0
crw-rw----  1 root root 21, 0 Aug 11 20:58 /dev/sg0


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux