尝试使用简单扫描进行扫描时,我经常(但并非总是!)收到 I/O 错误,提示我扫描仪无法访问。我不认为这是物理连接问题(电缆或 USB 端口问题),因为使用同一设备进行打印没有问题。
我正在使用 Ubuntu 16.4。我的设备是三星 SCX-3205W。我已经从生产商网站安装了最新的驱动程序。
以下是简单扫描的控制台输出:
$ simple-scan -d
[+0,00s] DEBUG: simple-scan.vala:674: Starting Simple Scan 3.20.0, PID=3395
[+0,00s] DEBUG: Connecting to session manager
[+0,08s] DEBUG: ui.vala:2032: Loading state from /home/ja/.cache/simple-scan/state
[+0,08s] DEBUG: ui.vala:1995: Restoring window to 600x400 pixels
[+0,08s] DEBUG: autosave-manager.vala:64: Loading autosave information
[+0,08s] DEBUG: autosave-manager.vala:259: Waiting to autosave...
[+0,08s] CRITICAL: gtk_event_controller_reset: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
[+0,15s] DEBUG: scanner.vala:1447: sane_init () -> SANE_STATUS_GOOD
[+0,15s] DEBUG: scanner.vala:1453: SANE version 1.0.25
[+0,15s] DEBUG: scanner.vala:1514: Requesting redetection of scan devices
[+0,15s] DEBUG: scanner.vala:803: Processing request
[+0,19s] DEBUG: autosave-manager.vala:281: Autosaving book information
[+0,28s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+2,23s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+7,51s] DEBUG: scanner.vala:338: sane_get_devices () -> SANE_STATUS_GOOD
[+7,51s] DEBUG: scanner.vala:350: Device: name="smfp:usb;04e8;3441;Z5E6BFEB501435J" vendor="Samsung" model="SCX-3200 Series on USB" type="Scanner"
[+10,86s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+15,60s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+15,76s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+16,50s] DEBUG: simple-scan.vala:404: Requesting scan at 300 dpi from device 'smfp:usb;04e8;3441;Z5E6BFEB501435J'
[+16,50s] DEBUG: scanner.vala:1560: Scanner.scan ("smfp:usb;04e8;3441;Z5E6BFEB501435J", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=ScanType.SINGLE, paper_width=0, paper_height=0, brightness=0, contrast=0)
[+16,50s] DEBUG: scanner.vala:803: Processing request
[+16,53s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+16,68s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+19,40s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+50,73s] DEBUG: scanner.vala:864: sane_open ("smfp:usb;04e8;3441;Z5E6BFEB501435J") -> SANE_STATUS_IO_ERROR
[+50,73s] WARNING: scanner.vala:868: Unable to get open device: Error during device I/O
[+51,10s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+115,09s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+116,12s] DEBUG: ui.vala:2124: Saving state to /home/ja/.cache/simple-scan/state
[+117,44s] DEBUG: autosave-manager.vala:195: Deleting autosave records
[+117,44s] DEBUG: scanner.vala:1587: Stopping scan thread
[+117,44s] DEBUG: scanner.vala:803: Processing request
[+117,44s] DEBUG: scanner.vala:1598: sane_exit ()
答案1
在撰写本文时,需要下载并安装这 3 个包。
libsane-common_1.0.26~git20151121-1_all.deb
libsane_1.0.26~git20151121-1_amd64.deb
libjpeg62-turbo_1.5.1-1_amd64.deb
前两个软件包可以在 Debian 实验库中找到,链接如下 https://packages.debian.org/experimental/libs/
我在这个链接中找到的最后一个包 https://packages.debian.org/sid/libjpeg62-turbo
在某些情况下,您可能需要导航到 ftp 镜像站点才能实际下载。下载后,只需以 root 身份安装每个包即可。
sudo dpkg -i package
我已经使用 simple-scan、xsane 和 scangearmp 进行了测试,并且一切运行正常。
答案2
install libsane-common_1.0.26~git20151121-1_all
install libsane_1.0.26~git20151121-1_amd64
install libjpeg62-turbo_1.5.1-1_amd64
Loaded repository
http://ftp.ports.debian.org/debian-ports/
synaptic only comes up with 1.0.27-1 experimental2
for sane-common. No libsane option.
Unable to find the link
https://packages.debian.org/sid/libjpeg62-turbo
添加源网址并显示突触
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
必须删除存储库并重新安装 libsane libsane-common sane 和 simple-scan