使用sane-find-scanner检测到扫描仪,但没有使用scanimage -L或sudo scanimage -L检测到扫描仪

我有一台Fujitsu ScanSnap S1300i。 我从源代码编译了SANE。 当我运行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=0x04c5, product=0x128d) 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. 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 -Lsudo 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). 

另外,我在ScanSnap S1300i的/etc/sane.d/fujitsu.conf中添加了一个条目。

从我在官方理智的页面上看到的 ,ScanSnap S1300使用epjitsu ,而不是fujitsu后端。 您可以尝试将配置条目从fujitsu.conf移动到同一文件夹中的epjitsu.conf文件。

我不确定S1300和S1300i之间到底有什么区别,所以你可能需要从富士通Windows驱动程序中提取*.nal固件文件,就像在fujitsu.confepjitsu.conf文件的标题中fujitsu.conf epjitsu.conf/etc/sane.d/ ,如果你还没有这样做的话。

更新我记得当我从源代码构建理智,因为我需要新版本的扫描仪才能运行,我必须创建一个新的udev规则让扫描仪可用。

在/etc/udev/rules.d中创建了一个名为40-libsane.rules的新文件,并将以下行添加到该文件中:

 ATTRS{idVendor}=="AAAA", ATTRS{idProduct}=="BBBB", ENV{libsane_matched}="yes" 

将AAAA和BBBB替换为扫描仪的ID。 您可以通过键入lsusb来查看它们(实际上它与您在fujitsu.conf中创建新条目所使用的ID相同)。