我从佳能官方网站为该设备安装了打印机驱动程序。一切都很好,我可以打印文档。但扫描仪的情况很糟糕。我看到SANE 项目页面佳能 MF231 完全受支持,但系统看不到任何来自 USB 的扫描仪设备。
当我检查时lsusb
,我得到:
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1c4f:0026 SiGma Micro Keyboard
Bus 003 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 002: ID 04a9:27d1 Canon, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
当我输入命令时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).
当我输入sudo 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.
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04a9 [Language Error], product=0x27d1
[Language Error]) at libusb:003:002
# 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.
最后这是报告of apt list libsane-dev -a
:
libsane-dev/xenial 1.0.27+git20171029-xenial0 amd64 [can be updated:
1.0.25+git20150528-1ubuntu2.16.04.1]
libsane-dev/xenial-updates,now 1.0.25+git20150528-1ubuntu2.16.04.1
amd64 [installed, can be updated: 1.0.27+git20171029-xenial0]
libsane-dev/xenial 1.0.25+git20150528-1ubuntu2 amd64
我在网上看到了很多问题,但它们太旧了(自 2007-2011 年以来)。 SANE 完全支持 MF231 扫描,那么为什么 Ubuntu 16.04 (.03 LTS) 看不到此设备的扫描仪?
注意:我之前做过这样的安装。但是在 Ubuntu 17.04 上。然后有同样的问题,但是用户建议那个包不够: libsane-dev
。我安装了,但是没效果。
谢谢。
答案1
我写信给 SANE 项目的邮件列表并得到答复:
你好,Orkhan,
Orkhan Guliyev 写道:
你好。
我从佳能官方网站为该设备安装了打印机驱动程序。一切正常,我可以打印文档。但扫描仪的情况很糟糕。我看到 inSANE 项目页面 http://www.sane-project.org/sane-mfgs.html#Z-CANON佳能 MF231 完全受支持,但系统看不到任何来自 USB 的扫描仪设备。
自 2017-04-26 起,它已完全受支持。sane-backends-1.0.27 于 2017-05-22 发布,因此基于
[...] 最后,以下是报告
apt list libsane-dev -a
:
> > libsane-dev/xenial 1.0.27+git20171029-xenial0 amd64 [can be updated: 1.0.25+git20150528-1ubuntu2.16.04.1]
> > libsane-dev/xenial-updates,now 1.0.25+git20150528-1ubuntu2.16.04.1 amd64 [installed, can be updated: 1.0.27+git20171029-xenial0]
> > libsane-dev/xenial 1.0.25+git20150528-1ubuntu2 amd64
我想说你必须升级你的 libsane 包,因为你似乎已经安装了 1.0.25+git20150528-1ubuntu2.16.04.1。
您显示的输出有点误导,因为它显示了所有可用的,而不仅仅是已安装的。检查
apt-cache 策略 libsane
查看安装的版本并升级到 1.0.27 版本。
顺便说一句,您不需要 libsane-dev,只需要 libsane。
知道,我只安装libsane
在 Ubuntu 中16.04,不是libsane-dev
(对于 Ubuntu 17.04)。
谢谢你!