Results 1 to 4 of 4

Thread: using Canon PIXMA MP230 scanner with sane-based software

  1. #1
    Join Date
    Sep 2013
    Beans
    1

    Lightbulb using Canon PIXMA MP230 scanner with sane-based software

    In short, the scanner of my Canon PIXMA MP230 was not working with the usual scan software, e.g. gscan2pdf, xsane etc...

    The cause: Canon PIXMA MP230 scanner support has only be added to latest libsane 1.0.24, that is not yet released, so not yet available to ubuntu users.

    The fix:
    I followed these steps to install latest libsane from source: https://help.ubuntu.com/community/CompileSaneFromSource
    But it was not working:

    Code:
    $ scanimage -V
    scanimage (sane-backends) 1.0.24git; backend version 1.0.23
    The backend version 1.0.23 was the old (system) version.
    The problem is conflicts between the files from (outdated) ubuntu packages and my newest libsane install.
    I could not just uninstall the libsane package, because too many other packages are dependent.

    So my ugly hack was just to remove everything in the way:
    Code:
    cd /usr/lib/x86_64-linux-gnu/
    sudo mkdir old
    sudo mv libsane.a libsane.la libsane.so libsane.so.1 libsane.so.1.0.23 old/
    sudo mv sane old/
    # check
    sudo ldconfig -v | grep libsane
    Then everything is now just fine:
    Code:
    %scanimage -V
    scanimage (sane-backends) 1.0.24git; backend version 1.0.24
    $ scanimage -L
    device `pixma:04A9175F' is a CANON Canon PIXMA MP230 multi-function peripheral
    $ scanimage --test

  2. #2
    Join Date
    Sep 2006
    Beans
    2

    Re: using Canon PIXMA MP230 scanner with sane-based software

    Thanks, it worked properly!!!!

  3. #3
    Join Date
    Sep 2006
    Location
    Tokyo, Japan
    Beans
    182

    Re: using Canon PIXMA MP230 scanner with sane-based software

    This sounds like a really bad plan, which I do not recommend to anyone, as it is most likely to break your system in the future.
    The HowTo is atrociously wrong, and should be corrected.

    I fail to see why in Ubuntu one cannot not install SANE comfortably alongside your existing SANE, as would be the default if onr does not force it to do anything else (as the terrible HowTo does).

    The linux README in the SANE source is quite clear on how to install it, Ubuntu is one of the common destination systems.
    Please read it and try that, as the method given in the HowTo for installing SANE and over-writing system files is very bad.
    Last edited by aikishugyo; February 6th, 2014 at 12:50 AM.
    Learning the mechanism requires good teachers and dedication

  4. #4
    Join Date
    Aug 2008
    Beans
    2

    Re: using Canon PIXMA MP230 scanner with sane-based software

    "Canon PIXMA MP230 scanner support has only be added to latest libsane 1.0.24"
    I followed that guide https://help.ubuntu.com/community/CompileSaneFromSource

    Then I run sudo gedit /lib/udev/rules.d/40-libsane.rules ...

    This file was automatically created based on description files (*.desc)
    # by sane-desc 3.5 from sane-backends 1.0.23
    Fail...

    I have set
    include /etc/ld.so.conf.d/*.conf
    include /usr/local/lib

    // My /usr/local/lib only have python folders in it...


    The only way my xubuntu14.04 can recognize the scanner is when I run sudo-sane-find-scanner

    PIC: https://drive.google.com/file/d/0B1U...it?usp=sharing

    No other command will list it
    Last edited by mrhaw; May 28th, 2014 at 08:19 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •