香港討論區 »
LINUX 問題討論
» My "CanoScan LiDE 300" scanner cannot be detected on Mint 19
matthew_wai 2019-3-18 21:13
I have bought CanoScan LiDE 300 and installed: "[b][url=https://www.usa.canon.com/internet/portal/us/home/support/details/scanners/photo-scanner/canoscan-lide-300?tab=drivers_downloads][b][color=Blue]ScanGear MP Ver. 3.70 for Linux (debian Packagearchive)[/color][/b][/url][/b]". However, "Simple Scan" says "No scanners detected" on host Mint although the scanner works fine on guest Windows. What should I do?
[img]https://forums.linuxmint.com/download/file.php?id=48130&t=1[/img]
[img]https://forums.linuxmint.com/download/file.php?id=48131&t=1[/img]
matthew_wai 2019-3-18 22:36
The command "[b][color=Red]lsusb[/color][/b]" found the scanner:
[b][color=Red]Bus 003 Device 090: ID 04a9:1913 Canon, Inc.[/color][/b]
路寅甲 2019-3-19 13:06
try try la
[url]https://www.canon-europe.com/support/consumer_products/products/scanners/lide_series/canoscan-lide-300.html?type=drivers&language=en&os=linux%20[/url](64-bit)
matthew_wai 2019-3-19 13:12
I have just downloaded "scangearmp2-source-3.70-1" but do not know what to do next.
路寅甲 2019-3-19 13:28
入去file manager將佢解壓, 出咗個新folder : scangearmp2-3.70-1-deb
用terminal入去該folder, command:
sudo ./install.sh
matthew_wai 2019-3-19 17:53
[code]matthew@matthew-pc:~$ cd "/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb"
matthew@matthew-pc:/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb$ sudo ./install.sh
sudo: ./install.sh: command not found[/code]
[[i] 本帖最後由 matthew_wai 於 2019-3-19 06:03 PM 編輯 [/i]]
路寅甲 2019-3-19 19:24
[quote]原帖由 [i]matthew_wai[/i] 於 2019-3-19 05:53 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496478874&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
matthew@matthew-pc:~$ cd "/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb"
matthew@matthew-pc:/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb$ sudo ./install.sh
sudo: ./install.sh: command not found ... [/quote]
Folder 入邊應該有個 install.sh :smile_13:
okla@mint19:~/Downloads/scangearmp2-3.70-1-deb$ ls
documents install.sh packages resources
okla@mint19:~/Downloads/scangearmp2-3.70-1-deb$ sudo ./install.sh
[sudo] password for okla:
[[i] 本帖最後由 路寅甲 於 2019-3-19 07:25 PM 編輯 [/i]]
matthew_wai 2019-3-19 19:42
I don't know why.[code]matthew@matthew-pc:~$ cd "/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb"
matthew@matthew-pc:/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb$ ls
documents install.sh packages resources
matthew@matthew-pc:/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb$ sudo ./install.sh
sudo: ./install.sh: command not found[/code]
路寅甲 2019-3-19 19:53
how about :
sudo bash install.sh
matthew_wai 2019-3-19 20:02
matthew@matthew-pc:/media/matthew/USB DRIVE/scangearmp2-3.70-1-deb$ sudo bash install.sh
==================================================
ScanGear MP
Version 3.70
Copyright CANON INC. 2007-2018
==================================================
Command executed = sudo dpkg -iG ./packages/scangearmp2_3.70-1_amd64.deb
(Reading database ... 248552 files and directories currently installed.)
Preparing to unpack .../scangearmp2_3.70-1_amd64.deb ...
Unpacking scangearmp2 (3.70-1) over (3.70-1) ...
Setting up scangearmp2 (3.70-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Installation has been completed.
matthew_wai 2019-3-19 20:03
"Simple Scan" still says "No scanners detected".
煙民母親生賤種
*** 作者被禁止或刪除 內容自動屏蔽 ***
煙民母親生賤種
*** 作者被禁止或刪除 內容自動屏蔽 ***
sailorbb 2019-3-20 07:48
sane支換LiDE舊款系列, 我用sane, 若未裝sane可先 apt-get install 安裝 "sane-utils" 或去sane project自行compile
但不見有LiDE 300 在 [i]/etc/sane.d/genesys.conf[/i] 列出
它支援 LiDE 200如下[code]# Canon LiDE 200
usb 0x04a9 0x1905[/code]1) 可試試在 [i]/etc/sane.d/genesys.conf[/i] 中模仿其他LiDE加入以下形容詞句[code]# Canon LiDE 300
usb 0x049a 0x1913[/code]2) unplug scanner, reboot
3) 打入 [i]sudo dmesg --clear[/i]
4) 插入scanner
5) 打入 [i]lsusb[/i] 及 [i]dmesg[/i] 看看說些甚麼
matthew_wai 2019-3-20 13:35
[quote]原帖由 [i]煙民母親生賤種[/i] 於 2019-3-20 02:59 AM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496497258&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
試下跟呢個咁做:
[url=https://iwf1.com/install-scanner-linux]https://iwf1.com/install-scanner-linux[/url]
你個 scanner 雖然不在 SANE 內,但 Lide 有其他型號。應該都 work 的。打呢個:sudo gpasswd -a YOUR-USER-NAME scanner你呢個點顯示?? [/quote]
I ran [b][color=#ff0000]sudo xed /etc/sane.d/dll.conf[/color][/b] and removed [color=#ff0000][b]#[/b][/color] before all "[b][color=#ff0000]canon[/color][/b]".
"CanoScan LiDE" is not on the list.[code]canon
canon630u
canon_dr
canon_pp[/code][code]matthew@matthew-pc:~$ sudo gpasswd -a matthew scanner
Adding user matthew to group scanner[/code]Then I reconnected the scanner, but Simple Scan still said "No scanners detected".
[attach]9456305[/attach]
[[i] 本帖最後由 matthew_wai 於 2019-3-20 01:53 PM 編輯 [/i]]
matthew_wai 2019-3-20 14:19
[quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 07:48 AM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496499485&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
sane支換LiDE舊款系列, 我用sane, 若未裝sane可先 apt-get install 安裝 "sane-utils" 或去sane project自行compile
但不見有LiDE 300 在 /etc/sane.d/genesys.conf 列出
它支援 LiDE 200如下# Canon LiDE 200
usb 0x04a9 0x19051) 可試試在 /etc/s ... [/quote]
Done as you said. "Simple Scan" still says "No scanners detected".[code]matthew@matthew-pc:~$ 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 002: ID 154b:6101 PNY
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 18c3:6255
Bus 003 Device 007: ID 05e3:0745 Genesys Logic, Inc. Logilink CR0012
Bus 003 Device 006: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 003 Device 005: ID 1267:0701 Logic3 / SpectraVideo plc
Bus 003 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 002: ID 0951:1665 Kingston Technology Digital DataTraveler SE9 64GB
Bus 003 Device 008: ID 04a9:1913 Canon, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
matthew@matthew-pc:~$ dmesg
[ 108.572433] usb 3-2: new high-speed USB device number 8 using xhci_hcd
[ 108.721948] usb 3-2: New USB device found, idVendor=04a9, idProduct=1913
[ 108.721950] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 108.721951] usb 3-2: Product: LiDE 300
[ 108.721952] usb 3-2: Manufacturer: Canon
[ 108.721953] usb 3-2: SerialNumber: 409589[/code]
sailorbb 2019-3-20 15:01
奇怪dmeag說已找到新USB device
sane drivers 裝齊了嗎? sudo apt-get install libsane-dev
sudo apt list --installed | grep sane
另外, make sure /etc/sane.d/dll.conf 裡的 genesys 無被打#號
照看300和前身220/110價錢相似,希望chipset相同... 最多scan唔盡最大resolutions...
[[i] 本帖最後由 sailorbb 於 2019-3-20 03:25 PM 編輯 [/i]]
matthew_wai 2019-3-20 15:43
[quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 03:01 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496518445&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
sane drivers 裝齊了嗎? sudo apt-get install libsane-dev [/quote]
New packages have been found.[code]matthew@matthew-pc:~$ apt-get install --print-uris libsane-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libsane-dev
0 upgraded, 1 newly installed, 0 to remove and 578 not upgraded.
Need to get 2,050 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
'http://archive.ubuntu.com/ubuntu/pool/main/s/sane-backends/libsane-dev_1.0.27-1~experimental3ubuntu2_amd64.deb' libsane-dev_1.0.27-1~experimental3ubuntu2_amd64.deb 2049628 MD5Sum:581ff97e4b1154038149f06ca0d45180[/code]
[[i] 本帖最後由 matthew_wai 於 2019-3-20 04:56 PM 編輯 [/i]]
matthew_wai 2019-3-20 15:51
[quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 03:01 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496518445&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
sudo apt list --installed | grep sane[/quote][code]matthew@matthew-pc:~$ sudo apt list --installed | grep sane
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsane-common/bionic,bionic,now 1.0.27-1~experimental3ubuntu2 all [installed]
libsane-hpaio/bionic,now 3.17.10+repack0-5 amd64 [installed]
libsane1/bionic,now 1.0.27-1~experimental3ubuntu2 amd64 [installed]
sane-utils/bionic,now 1.0.27-1~experimental3ubuntu2 amd64 [installed][/code][quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 03:01 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496518445&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
另外, make sure /etc/sane.d/dll.conf 裡的 genesys 無被打#號[/quote]
I confirm no [b][color=#ff0000]#[/color][/b] is there.
[quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 03:01 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496518445&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
照看300和前身220/110價錢相似 [/quote]
I bought LiDE 300 for $459.
[[i] 本帖最後由 matthew_wai 於 2019-3-20 03:53 PM 編輯 [/i]]
matthew_wai 2019-3-20 16:54
[quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 03:01 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496518445&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
sane drivers 裝齊了嗎? sudo apt-get install libsane-dev [/quote]
I just installed the newest version and restarted Linux, but my scanner is still not detected.[code]matthew@matthew-pc:~$ apt-get install --print-uris libsane-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libsane-dev is already the newest version (1.0.27-1~experimental3ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 578 not upgraded.[/code]
路寅甲 2019-3-20 17:12
[quote]原帖由 [i]matthew_wai[/i] 於 2019-3-20 03:51 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496520495&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
matthew@matthew-pc:~$ sudo apt list --installed | grep sane
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsane-common/bionic,bionic,now 1.0.27-1~experimental3ubu ... [/quote]
我搵唔到自己嗰款, 但幫你搵到
[url=http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-CANON]http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-CANON[/url]
試下跟返bb bro個方法, 改用係 pixma.conf, (pixma backend)
或者試下經網絡連scanner, 係pixma.conf加句
bjnp://<your scanner's ip>
我後來係arch wiki搵到我部機個backend嘅名加上dll.conf, OK咗
[img]https://upload.cc/i1/2019/03/20/Da87C4.png[/img]
sailorbb 2019-3-20 17:29
yes, comment out or delete that "usb 0x049a 0x1913" line in /etc/sane.d/genesys.conf
instead, either 路寅甲's line for network scan or
add the following line to /etc/sane.d/pixma.conf
# Canon LiDE 300
[i]pixma:04a91913_409589[/i]
matthew_wai 2019-3-20 18:25
[quote]原帖由 [i]sailorbb[/i] 於 2019-3-20 05:29 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496524886&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
# Canon LiDE 300
pixma:04a91913_409589[/quote]
I added the above into "/etc/sane.d/pixma.conf", deleted "usb 0x049a 0x1913" from "/etc/sane.d/genesys.conf" and restarted Linux. My scanner is still not detected.
matthew_wai 2019-3-20 18:31
[quote]原帖由 [i]路寅甲[/i] 於 2019-3-20 05:12 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496524141&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
[url=http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-CANON]http://www.sane-project.org/lists/sane-mfgs-cvs.html#Z-CANON[/url]
試下跟返bb bro個方法, 改用係 pixma.conf, (pixma backend) [/quote]
The backend of CanoScan 300 is "[color=#ff0000][b]canon (1.12 (unmaintained))[/b][/color]".
Do you mean the text "[color=#ff0000][b]canon (1.12 (unmaintained))[/b][/color]" should be added into "/etc/sane.d/pixma.conf"?
路寅甲 2019-3-20 18:53
[quote]原帖由 [i]matthew_wai[/i] 於 2019-3-20 06:25 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496527286&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
I added the above into "/etc/sane.d/pixma.conf", deleted "usb 0x049a 0x1913" from "/etc/sane.d/genesys.conf" and restarted Linux. My scanner is still not detected. [/quote]
how about add "usb" in front of device name:
usb [i]pixma:04a91913_409589[/i]
[url=https://help.ubuntu.com/community/SANE%20-%20Installing%20a%20scanner%20that%20isn%27t%20auto-detected]https://help.ubuntu.com/community/SANE%20-%20Installing%20a%20scanner%20that%20isn%27t%20auto-detected[/url]
[[i] 本帖最後由 路寅甲 於 2019-3-20 06:57 PM 編輯 [/i]]
路寅甲 2019-3-20 18:56
[quote]原帖由 [i]matthew_wai[/i] 於 2019-3-20 06:31 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496527566&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
The backend of CanoScan 300 is "canon (1.12 (unmaintained))".
Do you mean the text "canon (1.12 (unmaintained))" should be added into "/etc/sane.d/pixma.conf"? [/quote]
Should be pixma:
[img]https://upload.cc/i1/2019/03/20/sOkX9x.png[/img]
matthew_wai 2019-3-20 20:06
[quote]原帖由 [i]路寅甲[/i] 於 2019-3-20 06:53 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496528493&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
usb pixma:04a91913_409589[/quote]
I added the above into "/etc/sane.d/pixma.conf" and restarted Linux. My scanner is still not detected.
matthew_wai 2019-3-20 20:11
[quote]原帖由 [i]路寅甲[/i] 於 2019-3-20 06:56 PM 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=496528614&ptid=28102190][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
Should be pixma:
[img]https://upload.cc/i1/2019/03/20/sOkX9x.png[/img] [/quote]
Do you mean the text "[b][color=#ff0000]pixma (0.22.0)[/color][/b]" should be added into "/etc/sane.d/pixma.conf"?
煙民母親生賤種
*** 作者被禁止或刪除 內容自動屏蔽 ***
煙民母親生賤種
*** 作者被禁止或刪除 內容自動屏蔽 ***