Canon MP495 Scanner with Ubuntu 18.04












1















Problem:



Each time I set up a fresh (new) Ubuntu, I struggle to get my MP495 to work. With Ubuntu 18.04 the printer finally works right out of the box but the scanner did not.



What I tried so far:




  • installing Simple Scan (preferred tool) => no scanner found

  • downloading the official Linux IJ Scanner Driver => unmet dependencies

  • trying to install the canon scangearmp driver manually, e.g. with this tutorial => impossible


How can I get my scanner installed to simply use it with Simple Scan?










share|improve this question



























    1















    Problem:



    Each time I set up a fresh (new) Ubuntu, I struggle to get my MP495 to work. With Ubuntu 18.04 the printer finally works right out of the box but the scanner did not.



    What I tried so far:




    • installing Simple Scan (preferred tool) => no scanner found

    • downloading the official Linux IJ Scanner Driver => unmet dependencies

    • trying to install the canon scangearmp driver manually, e.g. with this tutorial => impossible


    How can I get my scanner installed to simply use it with Simple Scan?










    share|improve this question

























      1












      1








      1


      1






      Problem:



      Each time I set up a fresh (new) Ubuntu, I struggle to get my MP495 to work. With Ubuntu 18.04 the printer finally works right out of the box but the scanner did not.



      What I tried so far:




      • installing Simple Scan (preferred tool) => no scanner found

      • downloading the official Linux IJ Scanner Driver => unmet dependencies

      • trying to install the canon scangearmp driver manually, e.g. with this tutorial => impossible


      How can I get my scanner installed to simply use it with Simple Scan?










      share|improve this question














      Problem:



      Each time I set up a fresh (new) Ubuntu, I struggle to get my MP495 to work. With Ubuntu 18.04 the printer finally works right out of the box but the scanner did not.



      What I tried so far:




      • installing Simple Scan (preferred tool) => no scanner found

      • downloading the official Linux IJ Scanner Driver => unmet dependencies

      • trying to install the canon scangearmp driver manually, e.g. with this tutorial => impossible


      How can I get my scanner installed to simply use it with Simple Scan?







      drivers 18.04 scanner canon






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 19 '18 at 11:29









      hb0hb0

      1176




      1176






















          2 Answers
          2






          active

          oldest

          votes


















          0














          After a couple of hours almost messing up my system and cleaning it up again I found a too simple solution which I share here for others and myself to find it in the future:




          • Install Xsane via Ubuntu Software

          • Start Xsane and restart the printer, connect the scanner

          • xsane automatically installed the scanner and was able to scan

          • install Simple Scan, start and scan

          • remove Xsane


          If the scanner is not found, try to restart it and reconnect it to another USB port (weird, I know -.-). Maybe the whole Xsane stuff was not even necessary, I'll update this answer when I next reinstall the operating system. Feel free to comment if you were able to reproduce this or not.






          share|improve this answer































            0














            The sane library from very old ubuntu (14.04) works with this printer. I have to run a small docker container for ubuntu 14.04 for that reason. Just install minimum ubuntu 14.04 and install xsane which would pull the dependencies.



            It is sad that the sane project did not hear bug report and address this driver at all after many bug reports.



            UPDATE:



            As of now with ubuntu 18.04 I did



            add-apt-repository ppa:thierry-f/fork-michael-gruz
            apt install cnijfilter2 scangearmp2 cndrvcups-utility
            usermod -aG lpadmin



            logout and re-login



            Use firefox to access http://localhost:631 and search for new printer and add it.



            Run xsane and try to scan.



            Suprisingly the scan is OK.



            However printing got crash from process cnijlgmon3. with SIGSEGV in __libc_start_main() :(



            UPDATE AGAIN.



            So much for a old printer with bad support form vendor!. I actually make it works using docker and debian wheezy which is the only distro that has libtiff4 and repository still works as of this time.



            So spawn a container using this https://hub.docker.com/r/dockette/wheezy/ and run



            apt-get install cups sudo libxrandr2


            then run the installer from canon support. It will auto detect and add the printer. It does work.
            then



            make /opt/start-print-server.sh with



            #!/bin/bash
            mkdir /var/run/dbus
            dbus-daemon --system
            avahi-daemon -D
            exec cupsd -f


            commit into an image eg. debian-wheezy:mp495



            Run



            docker run -d --restart always --entrypoint /opt/start-print-server.sh -v /run/cups:/run/cups --name debian-wheezy -v (pwd):/work --net host  --privileged debian-wheezy:mp495





            share|improve this answer


























            • Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

              – hb0
              Jan 21 at 10:22











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038060%2fcanon-mp495-scanner-with-ubuntu-18-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            After a couple of hours almost messing up my system and cleaning it up again I found a too simple solution which I share here for others and myself to find it in the future:




            • Install Xsane via Ubuntu Software

            • Start Xsane and restart the printer, connect the scanner

            • xsane automatically installed the scanner and was able to scan

            • install Simple Scan, start and scan

            • remove Xsane


            If the scanner is not found, try to restart it and reconnect it to another USB port (weird, I know -.-). Maybe the whole Xsane stuff was not even necessary, I'll update this answer when I next reinstall the operating system. Feel free to comment if you were able to reproduce this or not.






            share|improve this answer




























              0














              After a couple of hours almost messing up my system and cleaning it up again I found a too simple solution which I share here for others and myself to find it in the future:




              • Install Xsane via Ubuntu Software

              • Start Xsane and restart the printer, connect the scanner

              • xsane automatically installed the scanner and was able to scan

              • install Simple Scan, start and scan

              • remove Xsane


              If the scanner is not found, try to restart it and reconnect it to another USB port (weird, I know -.-). Maybe the whole Xsane stuff was not even necessary, I'll update this answer when I next reinstall the operating system. Feel free to comment if you were able to reproduce this or not.






              share|improve this answer


























                0












                0








                0







                After a couple of hours almost messing up my system and cleaning it up again I found a too simple solution which I share here for others and myself to find it in the future:




                • Install Xsane via Ubuntu Software

                • Start Xsane and restart the printer, connect the scanner

                • xsane automatically installed the scanner and was able to scan

                • install Simple Scan, start and scan

                • remove Xsane


                If the scanner is not found, try to restart it and reconnect it to another USB port (weird, I know -.-). Maybe the whole Xsane stuff was not even necessary, I'll update this answer when I next reinstall the operating system. Feel free to comment if you were able to reproduce this or not.






                share|improve this answer













                After a couple of hours almost messing up my system and cleaning it up again I found a too simple solution which I share here for others and myself to find it in the future:




                • Install Xsane via Ubuntu Software

                • Start Xsane and restart the printer, connect the scanner

                • xsane automatically installed the scanner and was able to scan

                • install Simple Scan, start and scan

                • remove Xsane


                If the scanner is not found, try to restart it and reconnect it to another USB port (weird, I know -.-). Maybe the whole Xsane stuff was not even necessary, I'll update this answer when I next reinstall the operating system. Feel free to comment if you were able to reproduce this or not.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 19 '18 at 11:29









                hb0hb0

                1176




                1176

























                    0














                    The sane library from very old ubuntu (14.04) works with this printer. I have to run a small docker container for ubuntu 14.04 for that reason. Just install minimum ubuntu 14.04 and install xsane which would pull the dependencies.



                    It is sad that the sane project did not hear bug report and address this driver at all after many bug reports.



                    UPDATE:



                    As of now with ubuntu 18.04 I did



                    add-apt-repository ppa:thierry-f/fork-michael-gruz
                    apt install cnijfilter2 scangearmp2 cndrvcups-utility
                    usermod -aG lpadmin



                    logout and re-login



                    Use firefox to access http://localhost:631 and search for new printer and add it.



                    Run xsane and try to scan.



                    Suprisingly the scan is OK.



                    However printing got crash from process cnijlgmon3. with SIGSEGV in __libc_start_main() :(



                    UPDATE AGAIN.



                    So much for a old printer with bad support form vendor!. I actually make it works using docker and debian wheezy which is the only distro that has libtiff4 and repository still works as of this time.



                    So spawn a container using this https://hub.docker.com/r/dockette/wheezy/ and run



                    apt-get install cups sudo libxrandr2


                    then run the installer from canon support. It will auto detect and add the printer. It does work.
                    then



                    make /opt/start-print-server.sh with



                    #!/bin/bash
                    mkdir /var/run/dbus
                    dbus-daemon --system
                    avahi-daemon -D
                    exec cupsd -f


                    commit into an image eg. debian-wheezy:mp495



                    Run



                    docker run -d --restart always --entrypoint /opt/start-print-server.sh -v /run/cups:/run/cups --name debian-wheezy -v (pwd):/work --net host  --privileged debian-wheezy:mp495





                    share|improve this answer


























                    • Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

                      – hb0
                      Jan 21 at 10:22
















                    0














                    The sane library from very old ubuntu (14.04) works with this printer. I have to run a small docker container for ubuntu 14.04 for that reason. Just install minimum ubuntu 14.04 and install xsane which would pull the dependencies.



                    It is sad that the sane project did not hear bug report and address this driver at all after many bug reports.



                    UPDATE:



                    As of now with ubuntu 18.04 I did



                    add-apt-repository ppa:thierry-f/fork-michael-gruz
                    apt install cnijfilter2 scangearmp2 cndrvcups-utility
                    usermod -aG lpadmin



                    logout and re-login



                    Use firefox to access http://localhost:631 and search for new printer and add it.



                    Run xsane and try to scan.



                    Suprisingly the scan is OK.



                    However printing got crash from process cnijlgmon3. with SIGSEGV in __libc_start_main() :(



                    UPDATE AGAIN.



                    So much for a old printer with bad support form vendor!. I actually make it works using docker and debian wheezy which is the only distro that has libtiff4 and repository still works as of this time.



                    So spawn a container using this https://hub.docker.com/r/dockette/wheezy/ and run



                    apt-get install cups sudo libxrandr2


                    then run the installer from canon support. It will auto detect and add the printer. It does work.
                    then



                    make /opt/start-print-server.sh with



                    #!/bin/bash
                    mkdir /var/run/dbus
                    dbus-daemon --system
                    avahi-daemon -D
                    exec cupsd -f


                    commit into an image eg. debian-wheezy:mp495



                    Run



                    docker run -d --restart always --entrypoint /opt/start-print-server.sh -v /run/cups:/run/cups --name debian-wheezy -v (pwd):/work --net host  --privileged debian-wheezy:mp495





                    share|improve this answer


























                    • Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

                      – hb0
                      Jan 21 at 10:22














                    0












                    0








                    0







                    The sane library from very old ubuntu (14.04) works with this printer. I have to run a small docker container for ubuntu 14.04 for that reason. Just install minimum ubuntu 14.04 and install xsane which would pull the dependencies.



                    It is sad that the sane project did not hear bug report and address this driver at all after many bug reports.



                    UPDATE:



                    As of now with ubuntu 18.04 I did



                    add-apt-repository ppa:thierry-f/fork-michael-gruz
                    apt install cnijfilter2 scangearmp2 cndrvcups-utility
                    usermod -aG lpadmin



                    logout and re-login



                    Use firefox to access http://localhost:631 and search for new printer and add it.



                    Run xsane and try to scan.



                    Suprisingly the scan is OK.



                    However printing got crash from process cnijlgmon3. with SIGSEGV in __libc_start_main() :(



                    UPDATE AGAIN.



                    So much for a old printer with bad support form vendor!. I actually make it works using docker and debian wheezy which is the only distro that has libtiff4 and repository still works as of this time.



                    So spawn a container using this https://hub.docker.com/r/dockette/wheezy/ and run



                    apt-get install cups sudo libxrandr2


                    then run the installer from canon support. It will auto detect and add the printer. It does work.
                    then



                    make /opt/start-print-server.sh with



                    #!/bin/bash
                    mkdir /var/run/dbus
                    dbus-daemon --system
                    avahi-daemon -D
                    exec cupsd -f


                    commit into an image eg. debian-wheezy:mp495



                    Run



                    docker run -d --restart always --entrypoint /opt/start-print-server.sh -v /run/cups:/run/cups --name debian-wheezy -v (pwd):/work --net host  --privileged debian-wheezy:mp495





                    share|improve this answer















                    The sane library from very old ubuntu (14.04) works with this printer. I have to run a small docker container for ubuntu 14.04 for that reason. Just install minimum ubuntu 14.04 and install xsane which would pull the dependencies.



                    It is sad that the sane project did not hear bug report and address this driver at all after many bug reports.



                    UPDATE:



                    As of now with ubuntu 18.04 I did



                    add-apt-repository ppa:thierry-f/fork-michael-gruz
                    apt install cnijfilter2 scangearmp2 cndrvcups-utility
                    usermod -aG lpadmin



                    logout and re-login



                    Use firefox to access http://localhost:631 and search for new printer and add it.



                    Run xsane and try to scan.



                    Suprisingly the scan is OK.



                    However printing got crash from process cnijlgmon3. with SIGSEGV in __libc_start_main() :(



                    UPDATE AGAIN.



                    So much for a old printer with bad support form vendor!. I actually make it works using docker and debian wheezy which is the only distro that has libtiff4 and repository still works as of this time.



                    So spawn a container using this https://hub.docker.com/r/dockette/wheezy/ and run



                    apt-get install cups sudo libxrandr2


                    then run the installer from canon support. It will auto detect and add the printer. It does work.
                    then



                    make /opt/start-print-server.sh with



                    #!/bin/bash
                    mkdir /var/run/dbus
                    dbus-daemon --system
                    avahi-daemon -D
                    exec cupsd -f


                    commit into an image eg. debian-wheezy:mp495



                    Run



                    docker run -d --restart always --entrypoint /opt/start-print-server.sh -v /run/cups:/run/cups --name debian-wheezy -v (pwd):/work --net host  --privileged debian-wheezy:mp495






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jan 21 at 0:16

























                    answered Jan 20 at 9:19









                    Steve KieuSteve Kieu

                    11




                    11













                    • Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

                      – hb0
                      Jan 21 at 10:22



















                    • Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

                      – hb0
                      Jan 21 at 10:22

















                    Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

                    – hb0
                    Jan 21 at 10:22





                    Thanks for the protocoll ;-) I'll make sure to check it out as soon as I have to set up my printer again :-)

                    – hb0
                    Jan 21 at 10:22


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038060%2fcanon-mp495-scanner-with-ubuntu-18-04%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents