我安装了 lubuntu 18.04。我在谷歌上搜索“如何安装扫描仪驱动程序 canon g2000 ubuntu 18.04”。我成立这
我这样做了:
sudo apt install libsane-dev libtool-bin libusb-dev sane-utils libsane-extras xsane
输出为:
[sudo] password for arlank:
Sedang membaca daftar paket... Selesai
Membangun pohon ketergantungan
Membaca informasi yang tersedia... Selesai
libsane-dev sudah versi terbaru (1.0.27-1~experimental3ubuntu2).
libtool-bin sudah versi terbaru (2.4.6-2).
libusb-dev sudah versi terbaru (2:0.1.12-31).
sane-utils sudah versi terbaru (1.0.27-1~experimental3ubuntu2).
libsane-extras sudah versi terbaru (1.0.22.5).
xsane sudah versi terbaru (0.999-5ubuntu2).
0 dimutakhirkan, 0 baru terinstal, 0 akan dihapus dan 15 tidak akan dimutakhirkan.
我的类型是:
debuild -tc
输出为:
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of scangearmp-common_2.30.orig.tar.gz, scangearmp-common_2.30.orig.tar.bz2,
scangearmp-common_2.30.orig.tar.lzma, scangearmp-common_2.30.orig.tar.xz or scangearmp.orig)
continue anyway? (y/n) y
继续 :
gpg: skipped "Canon Inc. <[email protected]>": No secret key
gpg: /tmp/debsign.anT3qloY/scangearmp-common_2.30-1.dsc: clear-sign failed: No secret key
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1081:
running debsign failed
然后,我安装 scangearmp:
sudo dpkg -i ../scangearmp-common_2.30-1_amd64.deb
我测试的是:
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).
我再次测试:
# 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.
found USB scanner (vendor=0x04a9 [Canon], product=0x1795 [G2000 series]) at libusb:002:004
# 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.
在 USB 上检测到打印机。但在 scangearmp 上未检测到: 看看这个截图
有人能帮助我吗?我是新手(':
答案1
所以我要开始回答你了;scangearmp2_3.30-1_amd64.deb 中有 3 个文件夹;理想情况下你应该修改80-canon_mfp2.规则
理想情况下,我认为您应该在 scangear 包中编辑该文件;这就是您提供的链接试图做的事情;我认为他们没有告诉您所有的步骤;...所以......
也许更简单,你使用 gedit 创建 udev 规则,所以打开一个终端并安装 gedit sudo apt install gedit
,然后将其粘贴到终端中
gksudo gedit /etc/sane.d/G2000.conf
那应该是一个空白文件,因此输入
#G2000
ATTR{idVendor}=="04a9", ATTR{idProduct}=="1795", MODE="666"
其中 #G2000 在一行上,而 ATTR 从下面的下一行开始;抱歉,对话框中的编辑使它看起来很奇怪..
将以上内容粘贴到文件中;保存;关闭
到这里http://support-asia.canon-asia.com/contents/ASIA/EN/0100713401.html并单击下载并保存 scangearmp2-3.30-1-deb.tar.gz,然后粘贴到终端中;
cd Downloads
tar -zxvf scangearmp2-3.30-1-deb.tar.gz
cd scangearmp2-3.30-1-deb
sudo ./install.sh
并观察安装脚本的运行情况,它会询问您一些问题;
然后在终端中输入或粘贴
scangearmp
我想知道它是否为你打开了?