xsane、simple-scan 或 iscan 无法找到扫描仪 GT-1500 Epson

xsane、simple-scan 或 iscan 无法找到扫描仪 GT-1500 Epson

目前我正在尝试让我的 Epson GT-1500 工作。我使用的是基于 debianstretch 9 的 Sparky Linux 5.0.4-amd64。

sane 不支持扫描仪 Epson GT-1500,因此需要从 Epson 网站下载适当的 Iscan 驱动程序。安装后我执行了以下手动步骤:

/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)

然后最后一行无限循环地重复......有什么想法吗?

答案1

我发现问题了!当我第一次下载 iscan 驱动程序时,它的版本是:

iscan-bundle-1.0.0.x64.deb.tar.gz

但不知怎的,我认为一定有一个更新的版本,在爱普生网站上搜索了几个小时让我找到了一个名为:

iscan-gt-1500-bundle-1.0.1.x64.deb.tar.gz

在不使用 sudo 的情况下使用捆绑的 install.sh 脚本安装此程序后,扫描仪在第一次尝试时就做出了反应,我能够使用 xsane 扫描页面......甚至无需重新启动系统!现在我建立了扫描仪组,希望现在一切都好。

我在这里得到了(正在运行的)gt-1500-bundle:

http://support.epson.net/linux/en/iscan.php?model=gt-1500&version=1.0.1

最后,将我的登录用户添加到扫描仪组后

usermod -a -G scanner myusername

重新启动后,我可以在没有 sudo 权限的情况下进行扫描。

答案2

您需要先安装

 iscan-data_1.36.0-1_all.deb

接下来的

 iscan_2.30.1-1~usb0.1.ltdl7_amd64.deb

我不知道如何在您正在使用的发行版中搜索和安装。

这个debs以前是在旧的epson下载页面里的,但是现在好像只有一个了,在这个

相关内容