[sane-devel] Agfa DuoScan SCSI scanner with Mac OS X 10.4
Werner Randelshofer
werner.randelshofer at bluewin.ch
Fri Jul 22 08:52:17 UTC 2011
Hi,
I am trying to use an Agfa DuoScan SCSI scanner with Mac OS X 10.4.
When I run sane-find-scanner, the scanner is listed, but scanimage -L reports an error.
I think scanimage does not work, because the device is listed with a number instead of with /dev/...
I tried
$ scanimage -d 01723e000000000e0b9ad186
scanimage: open of device 01723e000000000e0b9ad186 failed: Invalid argument
and
$ scanimage -d "<01723e000000000e0b9ad186>"
scanimage: open of device 01723e000000000e0b9ad186 failed: Invalid argument
Is there a different way how I am suposed to use the device number in the scanimage command?
Below are the outputs of sane-find-scanner and scanimage -L.
TIA,
Werner
$ 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 "AGFA DUOSCAN 2.30" at <01723e000000000e0b9ad186>
found SCSI scanner "AGFA DUOSCAN 2.30" at <01723c000000000e1b7f7937>
found SCSI scanner "AGFA DUOSCAN 2.30" at <01723a000000000e3190bf86>
found SCSI scanner "AGFA DUOSCAN 2.30" at <017238000000000e31ec6d9c>
found SCSI scanner "AGFA DUOSCAN 2.30" at <017236000000000e32468f79>
found SCSI scanner "AGFA DUOSCAN 2.30" at <017234000000000e329f8164>
found SCSI scanner "AGFA DUOSCAN 2.30" at <017232000000000e32f98119>
found SCSI scanner "AGFA DUOSCAN 2.30" at <017230000000000e335270aa>
# 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.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
$ scanimage -L
[sanei_debug] Setting debug level of dll to 0.
[sanei_debug] Setting debug level of agfafocus to 128.
[agfafocus] attach: opening /dev/scanner
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_scsi] sanei_scsi_open: device name /dev/scanner is not valid
[agfafocus] attach: open failed (Invalid argument)
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
More information about the sane-devel
mailing list