AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-343146

Tony B's questions

Martin Hope
Tony B
Asked: 2019-03-27 01:24:19 +0800 CST

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

  • 3

目前我正在尝试让我的 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)

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

debian scanner
  • 2 个回答
  • 1004 Views
Martin Hope
Tony B
Asked: 2019-03-23 09:42:41 +0800 CST

无法在 crunchbang++/Debian 9 上安装 ecodmsserver

  • 0

我尝试根据安装手册在 Linux 上安装“ecodms Server”。

但是我在安装软件时遇到了几个问题,这导致我假设我通常缺少一些 deb 源/etc/apt/sources.list

当我尝试安装软件时,我得到以下信息(德语):

Die folgenden Pakete haben unerfüllte Abhängigkeiten: ecodmsserver : 
Hängt ab von: libqt5sql5 soll aber nicht installiert werden 
Hängt ab von: libqt5xml5 soll aber nicht installiert werden 
Hängt ab von: libqt5sql5-psql soll aber nicht installiert werden 
Hängt ab von: postgresql soll aber nicht installiert werden 
Hängt ab von: samba soll aber nicht installiert werden 
Hängt ab von: postgresql soll aber nicht installiert werden 
Hängt ab von: oracle-java8-unlimited-jce-policy ist aber nicht installierbar oder openjdk-8-jre soll aber nicht installiert werden 
Hängt ab von: libapr1 ist aber nicht installierbar haveged : 
Hängt ab von: libhavege1 (>= 1.9.0) ist aber nicht installierbar

我在 Debian 9 Stretch 上。它说取决于但不应该安装或取决于并且不可安装。我尝试单独安装它们,但没有成功。

有什么想法可以解决这个问题吗?

sources.list:

#
# deb cdrom:[Debian GNU/Linux 9 _Stretch_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170621-14:43]/ stretch contrib main non-free
# deb cdrom:[Debian GNU/Linux 9 _Stretch_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170621-14:43]/ stretch contrib main non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
deb http://www.ecodms.de/ecodms_180964/stretch /
debian apt
  • 1 个回答
  • 243 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve