我有佳能的DR-1210C USB扫描仪。
当插入时,内核会识别它:
[5365651.911506] usb 2-2.1: USB disconnect, address 3
[5365661.952066] usb 2-2: USB disconnect, address 2
[5365683.268060] usb 2-2: new full speed USB device using uhci_hcd and address 4
[5365683.441019] usb 2-2: New USB device found, idVendor=1083, idProduct=160f
[5365683.441027] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[5365683.441033] usb 2-2: Product: CANON DR-1210C
[5365683.441037] usb 2-2: Manufacturer: CANON
[5365683.441248] usb 2-2: configuration #1 chosen from 1 choice
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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x1083 [CANON ], product=0x160f [CANON DR-1210C ], chip=GL845) at libusb:002:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# 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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x1083 [CANON ], product=0x160f [CANON DR-1210C ], chip=GL845) at libusb:002:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# 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
说没有扫描仪。
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).
我错过了什么?我试着遵循这个方法,但是它并没有给我任何基于故障排除建议的洞察力。
发布于 2014-12-22 07:39:10
如果运行scanimage
的用户没有访问设备的权限,这是典型的情况。您可以使用以下方法检查设备所属的组:
ls -la /dev/bus/usb/002/004
( 002/004
部件是从sane-find-scanner
输出中提取的),并确保用户saned
是拥有设备的组的成员。确保在更改后重新启动saned
守护进程。
https://unix.stackexchange.com/questions/175317
复制相似问题