Trying a little more using SANE i get the following
Code:
david@david-desktop:~$ sudo 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 processor "HP C1130A 3614" at /dev/sg2
# 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.
and as the SANE output suggests
Code:
david@david-desktop:~$ sudo scanimage -L
device `hp:/dev/sg2' is a Hewlett-Packard C1130A flatbed scanner
Surely this means SANE detects my scanner.
A little more testing from the web gives
Code:
david@david-desktop:~$ udevinfo -a -p /sys/class/scsi_generic/sg2
Udevinfo 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:0d.0/host2/target2:0:2/2:0:2:0/scsi_generic/sg2':
KERNEL=="sg2"
SUBSYSTEM=="scsi_generic"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:0d.0/host2/target2:0:2/2:0:2:0/scsi_generic':
KERNELS=="scsi_generic"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0d.0/host2/target2:0:2/2:0:2:0':
KERNELS=="2:0:2:0"
SUBSYSTEMS=="scsi"
DRIVERS==""
ATTRS{device_blocked}=="0"
ATTRS{type}=="3"
ATTRS{scsi_level}=="3"
ATTRS{vendor}=="HP "
ATTRS{model}=="C1130A "
ATTRS{rev}=="3614"
ATTRS{state}=="running"
ATTRS{timeout}=="0"
ATTRS{iocounterbits}=="32"
ATTRS{iorequest_cnt}=="0x185"
ATTRS{iodone_cnt}=="0x185"
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:0d.0/host2/target2:0:2':
KERNELS=="target2:0:2"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0d.0/host2':
KERNELS=="host2"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0d.0':
KERNELS=="0000:00:0d.0"
SUBSYSTEMS=="pci"
DRIVERS=="aic7xxx"
ATTRS{vendor}=="0x9004"
ATTRS{device}=="0x5078"
ATTRS{subsystem_vendor}=="0x9004"
ATTRS{subsystem_device}=="0x7850"
ATTRS{class}=="0x010000"
ATTRS{irq}=="11"
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==""
and finally
Code:
david@david-desktop:~$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: IBM-DTTA-371010 Rev: T77O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: CD-ROM CDU701 Rev: 1.0f
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 02 Lun: 00
Vendor: HP Model: C1130A Rev: 3614
Type: Processor ANSI SCSI revision: 02
My scanner happens to be set to address 2 which is correctly detected.
As far as i can tell, the Linux Kernel detects and talks to the scanner via the SCSI interface.
So why does it not appear to be supported and detected by XSane?
It should be supported according to (http://www.sane-project.org/sane-mfg...EWLETT-PACKARD).
This is beginning to drive me insane!
Bookmarks