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


15

我有一个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).

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

Answers:


6

根据我在正常的正常页面上看到的内容,ScanSnap S1300使用epjitsu,而不是fujitsu后端。您可以尝试将配置条目从fujitsu.conf移到epjitsu.conf同一文件夹中的文件。

我不确定S1300和S1300i之间到底有什么区别,因此您可能必须*.nal从Fujitsu Windows驱动程序中提取固件文件,就像它在头文件中的标题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"

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


感谢您的回复。不幸的是,我没有安装Windows或OSX,因此无法从驱动程序中提取.nal文件。有没有安装驱动程序的方法?我的桌上有扫描仪随附的安装CD。
Zach Latta 2012年

它说该文件通常位于.cab文件中。您可以尝试搜索CD上的文件夹和档案。还可以看到我编辑过的答案,我只是想起了我需要做的其他事情。
jeremija

1
@Crynix太好了,因为我已经尝试从git中的不同版本的src编译合理的后端,没有运气。我还应该提到我使用的是自12.04起的预装版本,尽管我认为这不会有所作为。而且我想您还使用了1300i_0D12.nal固件文件?
Maks 2013年

1
@ZachLatta我知道已经有一段时间了,但是您是否有机会再次设置扫描仪并记下它是如何工作的?
Maks

1
有关类似问题的答案,请参见askubuntu.com/questions/567863/…
食牛肉者
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.