安装 Ubuntu 20.04 后,我的扫描仪 CANON TS3150 将不再工作。我使用 USB 电缆并按照对 Stave Morris 的问题“安装佳能 TS3150 打印机所需的分步说明”的回答中指示的步骤操作,完成这些步骤(从佳能官方网站下载)时,其中一条消息是:
#========================================#
# Register Printer
#========================================#
Enter the printer name.[TS3100USB]TS3150USB
Command executed = sudo /usr/sbin/lpadmin -p TS3150USB -P /usr/share/cups/model/canonts3100.ppd -v cnijbe2://Canon/?port=usb&serial=37C00F -E
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
但是安装结束没问题。不久之后,我还没有测试打印机,Ubuntu 要求我安装新的可用软件。我这样做了,令我惊讶的是,新包装再次为我带来了佳能打印机驱动程序。我测试了打印机,它工作正常。
但再次测试扫描仪,仍然没有工作:文档扫描仪得到“准备扫描”,找到 CANON 佳能 PIXMA TS3100 系列
但是按下绿色扫描按钮给我错误:
扫描失败
无法连接到扫描仪
所以我开始从佳能官方网站安装扫描仪驱动程序: https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts3150.html?type=drivers&driverdetailid=tcm: 13-1641020&os=linux%20%2864-bit%29&language=en
这是我的终端窗口中的内容:
jan@Lenovo-ideapad-100-15IBY:~/Downloads$ tar -zxvf scangearmp2-3.50-1-deb.tar.gz
scangearmp2-3.50-1-deb/
scangearmp2-3.50-1-deb/packages/
scangearmp2-3.50-1-deb/packages/scangearmp2_3.50-1_amd64.deb
scangearmp2-3.50-1-deb/packages/scangearmp2_3.50-1_i386.deb
scangearmp2-3.50-1-deb/resources/
scangearmp2-3.50-1-deb/resources/scanner_ja_utf8.lc
scangearmp2-3.50-1-deb/resources/scanner_fr_utf8.lc
scangearmp2-3.50-1-deb/resources/scanner_zh_utf8.lc
scangearmp2-3.50-1-deb/documents/
scangearmp2-3.50-1-deb/documents/LICENSE-scangearmp-3.50SC.txt
scangearmp2-3.50-1-deb/documents/LICENSE-scangearmp-3.50FR.txt
scangearmp2-3.50-1-deb/documents/LICENSE-scangearmp-3.50JP.txt
scangearmp2-3.50-1-deb/documents/LICENSE-scangearmp-3.50EN.txt
scangearmp2-3.50-1-deb/install.sh
jan@Lenovo-ideapad-100-15IBY:~/Downloads$ cd scangearmp2-3.50-1-deb
jan@Lenovo-ideapad-100-15IBY:~/Downloads/scangearmp2-3.50-1-deb$ sudo ./install.sh
[sudo] password for jan:
==================================================
ScanGear MP
Version 3.50
Copyright CANON INC. 2007-2017
==================================================
Command executed = sudo dpkg -iG ./packages/scangearmp2_3.50-1_amd64.deb
dpkg: will not downgrade scangearmp2 from 3.90-1+2004+1ubuntu1 to 3.50-1, skipping
Installation has been completed.
最后一行显然是一个谎言,因为安装被跳过了。
在阅读了 apt-get 的手册页后,我决定清除所有版本的 scangearmp2,然后再次安装 3.50 版本:
jan@Lenovo-ideapad-100-15IBY:~$ sudo apt-get purge scangearmp2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libcanon-proprio-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
scangearmp2*
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
After this operation, 411 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 185663 files and directories currently installed.)
Removing scangearmp2 (3.90-1+2004+1ubuntu1) ...
(Reading database ... 185642 files and directories currently installed.)
Purging configuration files for scangearmp2 (3.90-1+2004+1ubuntu1) ...
jan@Lenovo-ideapad-100-15IBY:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libcanon-proprio-bin
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
After this operation, 317 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 185640 files and directories currently installed.)
Removing libcanon-proprio-bin (0.2+3.90-2004ubuntu1) ...
jan@Lenovo-ideapad-100-15IBY:~$ cd ~/Downloads/scangearmp2-3.50-1-deb
jan@Lenovo-ideapad-100-15IBY:~/Downloads/scangearmp2-3.50-1-deb$ sudo ./install.sh
==================================================
ScanGear MP
Version 3.50
Copyright CANON INC. 2007-2017
==================================================
Command executed = sudo dpkg -iG ./packages/scangearmp2_3.50-1_amd64.deb
Selecting previously unselected package scangearmp2.
(Reading database ... 185622 files and directories currently installed.)
Preparing to unpack .../scangearmp2_3.50-1_amd64.deb ...
Unpacking scangearmp2 (3.50-1) ...
Setting up scangearmp2 (3.50-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Installation has been completed.
不幸的是,这没有帮助。
文档扫描仪“准备扫描”,找到 CANON 佳能 PIXMA TS3100 系列
但按下绿色扫描按钮给我错误:
扫描失败
无法连接到扫描仪
我认为这里真正有趣的是,我为我唯一的佳能 Pixma TS3150 安装了 3 个打印机驱动程序(可能是因为我的不同尝试),名称为:'TS3100 Generic Text-Only Printer'、'TS3100_series Canon Canon TS3100 series' , 和 'TS3150USB 佳能 TS3100 系列 Ver. 5.50' - 但文档扫描仪仍然知道我机器的真实名称:'CANON Canon PIXMA TS3100 系列'!他怎么知道这个名字却连不上去?
(选择不同的驱动程序作为首选并不能解决问题)
我尝试像以前在 Ubuntu 18.04 下那样在终端窗口中启动 scangearmp2,命令“scangearmp2”有效,但最终显示“找不到可用的扫描仪。电缆可能已断开连接或扫描仪可能已关闭,请检查扫描仪状态,然后再试一次。” 如上所述,连接很好,因为我可以打印。
由于某种原因,scangearmp2 找不到扫描仪,而在 Ubuntu 18.40 下这从来都不是问题。
写完上述内容几个小时后,Software Update 宣布
了“Libs for ScanGear MP for Linux”的新更新。我安装了这些,但 Document Scanner 和 scangearmp2 仍然显示相同的问题。我想知道我现在有什么版本的 scangearmp2。
受 Janos 在Scanner part of USB multifunction printer/scanner not found
的问题启发,
我尝试了命令 sane-find-scanner ,答案是:
(...)
found USB scanner (vendor=0x04a9 [Canon], product=0x1827 [TS3100 series]) at libusb:001:010
(...)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
(...)
scanimage 出现内存不足:
jan@Lenovo-ideapad-100-15IBY:~$ scanimage -L
Error my backend : out of memory
device `pixma:04A91827' is a CANON Canon PIXMA TS3100 Series multi-function peripheral
我不明白“我的后端”中的“我的”,但无论如何似乎我的 RAM 内存不足。我的笔记本电脑上的 Ubuntu 20.04 表明我有 3.7 GB 的 RAM - 相当于硬件上指示的 4 GB - 这是根据 ubuntu.com 的最低要求。
这可能是问题吗?
我正在使用 Lonovo 笔记本电脑:Lenovo-ideapad-100-15IBY,正如您在终端提示中看到的那样,但我也尝试在我的东芝笔记本电脑上进行扫描,同时使用全新安装的 Ubuntu 20.04 和 3.7 GB RAM(根据系统设置) '关于'。这里也没有运气,但没有报告内存错误:
jan@Toshiba:~$ scanimage -L
device `pixma:04A91827' is a CANON Canon PIXMA TS3100 Series multi-function peripheral
阅读“后端”的手册页,建议是在 scangearmp2 软件或其他东西中没有实现“后端”。那将是一个错误。我应该如何报告这个?