Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Canon CanoScan LiDE 120 driver

  1. #1
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    15

    Default Canon CanoScan LiDE 120 driver

    http://www.sane-project.org/sane-mfgs.html#Z-CANON shows this as supported, as does http://www.sane-project.org/sane-bac...html#S-GENESYS, but it is not in file:///usr/share/doc/packages/sane-backends/sane-mfgs.html#Z-CANON.

    ~> sudo sane-find-scanner
    found USB scanner (vendor=0x04a9 [Canon], product=0x190e [CanoScan], chip=GL848+) at libusb:002:003
    could not fetch string descriptor: Pipe error

    ~> sudo scanimage -L finds nothing

    ~> lsusb shows
    Bus 002 Device 003: ID 04a9:190e Canon, Inc.


    sane-find-scanner shows the chip to be GL848+, while the sane-project.org references show GL124+.

    How can I install a version of sane-backends that knows about the LiDE 120? Or is there a better way?

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    16,810
    Blog Entries
    1

    Default Re: Canon CanoScan LiDE 120 driver

    I had to research this a bit to check the likelihood of support for this scanner model. The most credible source of evidence for support was found via this Ubuntu thread. There it was suggested that recent SANE backend source code included required support in the genesys backend.

    In an effort to assist, I first tried installing the sane-backends-1.0.27 package from the openSUSE graphics repo, but a quick check of the man page for the sane-genesys backend didn't explicitly list the LiDE 120 model, so I then proceeded with building from the latest git source, and that does indeed seem to have the required support explicitly mentioned in 'man sane-genesys'.

    Code:
    git clone git://git.debian.org/sane/sane-backends.git
    Change to the directory...
    Code:
    cd sane-backends
    and build...
    Code:
    ./configure
    make
    sudo make install
    I encountered no problems building the backends. Hopefully you won't either.
    Last edited by deano_ferrari; 22-Nov-2017 at 00:37.

  3. #3
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    15

    Default Re: Canon CanoScan LiDE 120 driver

    Quote Originally Posted by deano_ferrari View Post
    I had to research this a bit to check the likelihood of support for this scanner model. The most credible source of evidence for support was found via this Ubuntu thread. There it was suggested that recent SANE backend source code included required support in the genesys backend.

    In an effort to assist, I first tried installing the sane-backends-1.0.27 package from the openSUSE graphics repo, but a quick check of the man page for the sane-genesys backend didn't explicitly list the LiDE 120 model, so I then proceeded with building from the latest git source, and that does indeed seem to have the required support explicitly mentioned in 'man sane-genesys'.

    Code:
    git clone git://git.debian.org/sane/sane-backends.git
    Change to the directory...
    Code:
    cd sane-backends
    and build...
    Code:
    ./configure
    make
    sudo make install
    I encountered no problems building the backends. Hopefully you won't either.
    Having installed git-core and gcc sane-backends was installed. However the CanoScan LiDE 120 is still not listed in the Yast scanner function.
    I un-commented canon in /etc/sane.d/dll.conf to no effect.
    The config.log from the installation shows the version as still being 1.0.27:
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME "sane-backends"
    #define PACKAGE_TARNAME "sane-backends"
    #define PACKAGE_VERSION "1.0.27git"
    #define PACKAGE_STRING "sane-backends 1.0.27git"
    #define PACKAGE_BUGREPORT "sane-devel@lists.alioth.debian.org"
    #define PACKAGE_URL ""
    #define PACKAGE "sane-backends"
    #define VERSION "1.0.27git"

    /usr/local/etc/sane.d/genesys.conf does not include CanoScan LiDE 120 - the modified dates on all files in /usr/local/etc/sane.d and on the /etc/sane.d directory itself are 23/11/17, while the files in /etc/sane.d are dated 8/7/17.

    man:sane-genesys lists only Canon LiDE 35/40/50/60/100/110/200/210/700

    BUT http://www.sane-project.org/man/sane-genesys.5.html lists
    Canon LiDE 35/40/50/60/100/110/120/200/210/220/700
    Should I perhaps be using git://anonscm.debian.org/sane/sane-backends.git? I can see no overt reference to the LiDE 120 there but I am not at all familiar with the development and deployment process.

    As the sane project lists the LiDE 120 as supported, either this is a mistake or something has gone wrong somewhere.

  4. #4
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    15

    Default Re: Canon CanoScan LiDE 120 driver

    Quote Originally Posted by Zelator57 View Post
    Having installed git-core and gcc sane-backends was installed. However the CanoScan LiDE 120 is still not listed in the Yast scanner function.
    I un-commented canon in /etc/sane.d/dll.conf to no effect.
    The config.log from the installation shows the version as still being 1.0.27:
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME "sane-backends"
    #define PACKAGE_TARNAME "sane-backends"
    #define PACKAGE_VERSION "1.0.27git"
    #define PACKAGE_STRING "sane-backends 1.0.27git"
    #define PACKAGE_BUGREPORT "sane-devel@lists.alioth.debian.org"
    #define PACKAGE_URL ""
    #define PACKAGE "sane-backends"
    #define VERSION "1.0.27git"

    /usr/local/etc/sane.d/genesys.conf does not include CanoScan LiDE 120 - the modified dates on all files in /usr/local/etc/sane.d and on the /etc/sane.d directory itself are 23/11/17, while the files in /etc/sane.d are dated 8/7/17.

    man:sane-genesys lists only Canon LiDE 35/40/50/60/100/110/200/210/700

    BUT http://www.sane-project.org/man/sane-genesys.5.html lists
    Canon LiDE 35/40/50/60/100/110/120/200/210/220/700
    Should I perhaps be using git://anonscm.debian.org/sane/sane-backends.git? I can see no overt reference to the LiDE 120 there but I am not at all familiar with the development and deployment process.

    As the sane project lists the LiDE 120 as supported, either this is a mistake or something has gone wrong somewhere.
    Further investigation - in the /home/andy/installs/sane-backends/ installation directory, /doc/descriptions/genesys.desc contains:


    :backend "genesys"
    :version "1.0-63"
    :manpage "sane-genesys"
    :comment "Only the USB scanners mentioned below are currently supported."
    :url "http://www.meier-geinitz.de/sane/genesys-backend/"
    :devicetype :scanner

    ; -----------------------------------------------------------------------------
    ...

    :model "CanoScan LiDE 120"
    :interface "USB"
    :usbid "0x04a9" "0x190e"
    :status :complete
    :comment "GL124+ based, resolution from 75 to 2400 dpi"

    but canon.desc does not.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    16,810
    Blog Entries
    1

    Default Re: Canon CanoScan LiDE 120 driver

    Quote Originally Posted by Zelator57 View Post
    Having installed git-core and gcc sane-backends was installed. However the CanoScan LiDE 120 is still not listed in the Yast scanner function.
    I un-commented canon in /etc/sane.d/dll.conf to no effect.
    It's the genesys backend that needs to uncommented.

    Should I perhaps be using git://anonscm.debian.org/sane/sane-backends.git? I can see no overt reference to the LiDE 120 there but I am not at all familiar with the development and deployment process.
    I used "git://git.debian.org/sane/sane-backends.git" and the support for the LiDE 120 model is listed in the man page...
    DESCRIPTION
    The sane-genesys library implements a SANE (Scanner Access Now Easy) backend that provides access to
    USB flatbed scanners based on the Genesys GL646, GL841, GL843, GL847 and GL124 chips. At present,
    the following scanners are known to work with this backend:

    Canon LiDE 35/40/50/60/100/110/120/200/210/220/700
    However, that's as far as I can go as I don't have the Canon device to test with.

    As the sane project lists the LiDE 120 as supported, either this is a mistake or something has gone wrong somewhere.
    The SANE page for 1.0.27 did list the device but it referenced a different (GL124+) ASIC chip. They may need contacting about that.
    http://www.sane-project.org/imprint.html

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    16,810
    Blog Entries
    1

    Default Re: Canon CanoScan LiDE 120 driver

    Quote Originally Posted by Zelator57 View Post
    Further investigation - in the /home/andy/installs/sane-backends/ installation directory, /doc/descriptions/genesys.desc contains:


    :backend "genesys"
    :version "1.0-63"
    :manpage "sane-genesys"
    :comment "Only the USB scanners mentioned below are currently supported."
    :url "http://www.meier-geinitz.de/sane/genesys-backend/"
    :devicetype :scanner

    ; -----------------------------------------------------------------------------
    ...

    :model "CanoScan LiDE 120"
    :interface "USB"
    :usbid "0x04a9" "0x190e"
    :status :complete
    :comment "GL124+ based, resolution from 75 to 2400 dpi"

    but canon.desc does not.
    The canon.desc (description) relates to a different driver (for differenct Canon models). The genesys driver is what's relevant here.

  7. #7
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    15

    Default Re: Canon CanoScan LiDE 120 driver

    Quote Originally Posted by deano_ferrari View Post
    It's the genesys backend that needs to uncommented.


    I used "git://git.debian.org/sane/sane-backends.git" and the support for the LiDE 120 model is listed in the man page...

    However, that's as far as I can go as I don't have the Canon device to test with.


    The SANE page for 1.0.27 did list the device but it referenced a different (GL124+) ASIC chip. They may need contacting about that.
    http://www.sane-project.org/imprint.html
    genesys is already uncommented in /etc/sane.d/dll.conf.

    for me man:sane-genesys shows only
    Canon LiDE 35/40/50/60/100/110/200/210/700.

    There seems to be a disconnect somewhere.

    I'll follow up on that link.

    Thanks for your help.

  8. #8
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    15

    Default Re: Canon CanoScan LiDE 120 driver

    Quote Originally Posted by deano_ferrari View Post
    The canon.desc (description) relates to a different driver (for differenct Canon models). The genesys driver is what's relevant here.
    usr/local/etc/sane.d/genesys.conf

    # Canon LiDE 120
    usb 0x04a9 0x190e

    Some parts of this seem to know about it but not all. Once my subscription to the sane-devel list is activated I'll try them with it.

  9. #9
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    240

    Default Re: Canon CanoScan LiDE 120 driver

    If you can not try it Vuecsan https://www.hamrick.com/download.html
    And install libusb-0_1-4
    loyalty returns to those who practice it

  10. #10
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    15

    Default Re: Canon CanoScan LiDE 120 driver

    Partial success with Vuescan. Though I would prefer to have Xsane working for the new LiDE 120, or at least the old MG2500. As things stand I could pay for Vuescan, use the MG2500, and hope sane gets sorted out over the coming months.

    I installed Vuescan, but their documentation says that for the Canon LiDE 120 I need to set up libusb device protections.
    Several sources give risky-looking solutions, but:
    http://rglinuxtech.com/?p=1659 UDEV – Getting an Old Scanner to Behave..
    seemed less traumatic, adding a ‘.rules’ file under the /etc/udev/rules.d directory.

    ~> lsusb |grep Canon
    Bus 002 Device 004: ID 04a9:176d Canon, Inc.
    Bus 001 Device 006: ID 04a9:190e Canon, Inc.

    (04a9:176d is an mfp - low quality scanner)

    Created 82-canon_lide120.rules -

    # Canon LiDE 120
    ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="190e", ENV{libsane_matched}="yes", GROUP="users", MODE="0664" (also tried 666)

    Is that ENV{libsane_matched}="yes" a problem? As sane obviously doesn't know about it.

    Vuescan finds both scanners, but only the mfp 04a9:176d produces an image, 190e does a pass of the document but the light is not on. Blank image with watermarks only.

    Xsane and Scanlite only find my MS webcam and try to use that. Scangearmp finds no scanner.

    Various outputs:

    ~> lsusb
    Bus 002 Device 003: ID 04a9:176d Canon, Inc.
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 008: ID 03f0:0324 Hewlett-Packard SK-2885 keyboard
    Bus 001 Device 010: ID 045e:0779 Microsoft Corp. LifeCam HD-3000
    Bus 001 Device 009: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 001 Device 007: ID 14cd:8608 Super Top
    Bus 001 Device 006: ID 04a9:190e Canon, Inc.
    Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 004: ID 04f9:0055 Brother Industries, Ltd
    Bus 001 Device 003: ID 0480:0200 Toshiba America Info. Systems, Inc.
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    ~> sudo sane-find-scanner

    # 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=0x176d [MG2500 series]) at libusb:002:003
    found USB scanner (vendor=0x04a9 [Canon], product=0x190e [CanoScan], chip=GL848+) at libusb:001:006
    could not fetch string descriptor: Pipe error

    ~> sudo scanimage -L
    [sudo] password for root:
    device `v4l:/dev/video0' is a Noname Microsoft® LifeCam HD-3000 virtual device

Page 1 of 2 12 LastLast

Posting Permissions

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