ThierryHFR / scangearmp2

This project is a sane backend for the canon's scanner, based on the source code of scangearmp2.
Other
78 stars 17 forks source link

Installing under MX Linux #38

Closed Havald420 closed 3 years ago

Havald420 commented 3 years ago

Hey, I tried to install this under MX Linux 19.3 to get my Canon Scanner (TR8550) to work in Wifi. Everything works fine until the last command '(sudo) apt install ../scangearmp2_4.12-1_amd64.deb'. I get the error 'Unsupported file ../scangearmp2_4.12-1_amd64.deb given on commandline'. Any hints for a newbie? As said, everything up to that point looks fine. Thanks!

ThierryHFR commented 3 years ago

Hi @FlorianR420, Can you test this :

sudo dpkg -i ../scangearmp2_4.12-1_amd64.deb
Havald420 commented 3 years ago

Hi @Ordissimo, THANKS, I got it kinda working. What I did: I had to leave out the "-1" from the filename. Also, I had to switch off my firewall completely. I'm not using firewalld therefore the commands proposed didn't work, but that's ok, I can switch it on again after scanning. Now I can scan, only from the platen unfortunately, with Simple Scan (default scanner app on MX Linux). Scangearmp2 app itself doesn't work anymore, it says "internal error" or something like that, but who cares. Scanning from the feeder doesn't work for now.

ThierryHFR commented 3 years ago

Hi @FlorianR420, Can you tell me how you did it (the link if you want, maybe something is not up to date)?

Havald420 commented 3 years ago

I followed the installation instructions for Debian-based systems precisely, I just inserted your recommended command 'sudo dpkg -i ../scangearmp2_4.12-1_amd64.deb' before the 'apt install ../scangearmp2_4.12-1_amd64.deb' command. For it to work, I had to type 'scangearmp2_4.12_amd64.deb' instead of 'scangearmp2_4.12-1_amd64.deb', as I saw that the file was named without the -1 in my folder (downloaded via the 'git clone' command as in the instructions. Maybe you or another author changed the name of the file during some work on the repository?)

With regards to my firewall, I am using UFW (uncomplicated firewall), a simple frontend for iptables. It was preinstalled on my distro and I'm just using the default settings for now.

Feel free to keep me posted if this helps you to further develop the driver or you think I did something wrong during installation of it. I think it's a great tool. I'm just starting my degree in computer science, but am very interested in open source software.

Kind Regards Florian

ThierryHFR commented 3 years ago

Could you test to install the package prepared on this link : sangearmp2 MX-Linux 19.3 is based on buster. Can you install the corresponding package. and redo your tests. Thanks

ThierryHFR commented 3 years ago

I made some correction, can you test with the new package and give me a feedback? New version v4.12.1

Havald420 commented 3 years ago

Hi, so after installing the first package, nothing changed and I can't install the second (v4.12.1), because the *amd64.deb file is missing in the repository. (The dbgsym is there but not the dependency.)

ThierryHFR commented 3 years ago

Sorry, fixed !

Havald420 commented 3 years ago

Hey, first of all, thank you again! It works now from Wifi. But the feeder still doesn't work, only the flatbed. If I try to scan from feeder, he simply scans from flatbed. But big improvement to be able to scan from Wifi at all! Nice!

ThierryHFR commented 3 years ago

Hi @FlorianR420, ADF and ADF Duplex works => https://github.com/Ordissimo/scangearmp2/releases/tag/4.20.1