目前我正在尝试让我的 Epson GT-1500 工作。我正在使用基于 debian stretch 9 的 Sparky Linux 5.0.4-amd64。
sane 不支持扫描仪 Epson GT-1500,因此需要从 Epson 网站下载适当的 Iscan-Driver。安装后我做了以下手动步骤:
/etc/sane.d/ddl.conf,修改:
epson to #epson
epson2 to #epson2
因为 /etc/sane.d/epkowa.conf 在那里!
然后编辑了epkowa.conf:
usb 0x04b8 0x0133
然后我编辑了/lib/udev/rules.d/60-libsane.rules:
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0133", ENV{libsane_matched}="yes"
# Epson GT-1500 | Epson GT-1500
重新启动后,仍然没有成功。然后我创建了 /etc/udev/rules.d/99-epson-gt1500.rules
ACTION!="add", GOTO="epson_rules_end"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="epson_pid_test"
SUBSYSTEM!="usb", GOTO="epson_rules_end"
LABEL="epson_pid_test"
# Check for the gt-1500.
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0133", OWNER="root", GROUP="root", MODE="660"
LABEL="epson_rules_end"
重启,没有成功。
在我执行scanimage -L的每一步中:
这个过程花了很长时间但打印出来:
device `epkowa:usb:001:003' is a Epson (unknown model) flatbed scanner
但 iscan、simple-scan 和 xsane 要么停止工作(简单关闭),要么给出消息“未找到扫描仪”
sane-find-scanner 的输出:
could not open USB device 0x045e/0x0719 at 004:004: Access denied (insufficient permissions)
could not open USB device 0x045e/0x07b2 at 004:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x13b1/0x003b at 002:004: Access denied (insufficient permissions)
found USB scanner (vendor=0x04b8 [EPSON], product=0x0133 [EPSON Scanner]) at libusb:002:003
could not open USB device 0x8087/0x0024 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x2109/0x0812 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1532/0x0046 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x2109/0x2812 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
# 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.
使用和不使用 sudo 运行所有内容。
和更多信息:
scanimage -x 100 -y 100 --format=tiff >image.tiff
scanimage: open of device epkowa:usb:001:003 failed: Access to resource has been denied
作为 sudo 运行它需要很长时间,但不会扫描任何图像....
在清除并重新安装 iscan 后我注意到的一些事情:
Entpacken von iscan-network-nt (1.1.1-1) ... iscan-data (1.36.0-1) wird eingerichtet ... expr: Syntaxfehler tail: ungültige Anzahl von Zeilen: „/lib/udev/rules.d/60-libsane.rules“ iscan (2.30.1-1~usb0.1.ltdl7) wird eingerichtet ...
我不确定此错误是否可能导致扫描无效。文件的内容看起来不错,但至少我认为是这样。
执行: sudo strace -o strace.out -f scanimage -T 给了我:
5199 access("/usr/lib/iscan/esdip", X_OK) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
5199 openat(AT_FDCWD, "/dev/bus/usb/001/003", O_RDWR) = 12
5199 ioctl(12, USBDEVFS_GETDRIVER, 0x7ffcebbc2220) = -1 ENODATA (Keine Daten verfügbar)
5199 ioctl(12, USBDEVFS_CLAIMINTERFACE, 0x7ffcebbc237c) = 0
5199 ioctl(12, USBDEVFS_SUBMITURB, 0x7ffcebbc2230) = 0
5199 ioctl(12, USBDEVFS_REAPURBNDELAY, 0x7ffcebbc21f8) = 0
5199 ioctl(12, USBDEVFS_SUBMITURB, 0x7ffcebbc2230) = 0
5199 ioctl(12, USBDEVFS_REAPURBNDELAY, 0x7ffcebbc21f8) = 0
5199 ioctl(12, USBDEVFS_SUBMITURB, 0x7ffcebbc2230) = 0
5199 ioctl(12, USBDEVFS_REAPURBNDELAY, 0x7ffcebbc21f8) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
5199 select(13, NULL, [12], NULL, {tv_sec=0, tv_usec=1000}) = 0 (Timeout)
然后最后一行在无限循环中重复......有什么想法吗?
我发现了问题!当我第一次下载 iscan 驱动程序时,它是以下版本:
但不知何故,我虽然必须有一个更新的版本,但在爱普生网站上搜索了几个小时让我找到了一个名为:
在使用不带 sudo 的捆绑 install.sh 脚本安装它后,扫描仪在第一次尝试时就做出反应,我能够使用 xsane 扫描页面......即使没有重新启动我的系统!现在我设置了扫描仪组,我希望现在一切都好。
我在这里得到了(工作的)gt-1500-bundle:
http://support.epson.net/linux/en/iscan.php?model=gt-1500&version=1.0.1
最后,在将我的登录用户添加到扫描仪组之后
然后重新启动,我可以在没有 sudo 权限的情况下进行扫描。
你需要先安装
接下来
我不知道如何在您使用的发行版中搜索和安装。
这个debs以前在旧的epson下载页面,现在好像只有一个,在这个页面