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

Thread: Flatbed scanner not working after upgrade to 16.04

  1. #1
    Join Date
    May 2015
    Beans
    40
    Distro
    Xubuntu

    Unhappy Flatbed scanner not working after upgrade to 16.04

    After I upgraded my PC from Ubuntu 15.10 to 16.04 LTS (32-bit) the flatbed scanner does not work anymore. I checked the device on another PC with xubuntu 15.04 and it was scanning flawlessly. So something broke during the upgrade...

    The scanner is a simple Canon CanoScan LiDE 100 scanner that is connected via USB. When I start xsane I get an error message "Failed to start scanner: Error during device I/O."
    There is also a message from "hp-systray" (which may or may not relevant, but which was not popping up before the upgrade):
    HPLIP cannot detect devices in your network. This may be due to existing firewall settings blocking the required ports like (5353/udp). When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
    http://hplipopensource.com/node/375

    I reinstalled xsane/sane packages, but to no avail. The scanner is correctly displayed in xsane info, but neither scanning nor acquire preview works at all (see error message above).

    I am stumped on how to proceed as the scanner was fully supported before and now I can't use it. Suggestions?

  2. #2
    Join Date
    Jun 2015
    Beans
    8

    Re: Flatbed scanner not working after upgrade to 16.04

    hey, i had a similar problem - [SOLVED] xsane not working in fresh 16.04 install
    (found your post while looking for answers.)

    does scanimage -L return anything?

    does scanimage > Desktop/test.pnm give you an image?

  3. #3
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    If the system has usb3 support it could be this issue
    http://askubuntu.com/questions/45790...usb-3-0-system
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  4. #4
    Join Date
    May 2015
    Beans
    40
    Distro
    Xubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    Quote Originally Posted by xin3 View Post
    hey, i had a similar problem - [SOLVED] xsane not working in fresh 16.04 install
    (found your post while looking for answers.)

    does scanimage -L return anything?
    Yes: device `genesys:libusb:001:004' is a Canon LiDE 100 flatbed scanner
    Quote Originally Posted by xin3 View Post
    does scanimage > Desktop/test.pnm give you an image?
    Nope. scanimage: sane_start: Error during device I/O

    Quote Originally Posted by pqwoerituytrueiwoq View Post
    If the system has usb3 support it could be this issue
    http://askubuntu.com/questions/45790...usb-3-0-system
    I doubt that as this PC is rather old (no USB 3 at all). I also tried already all USB ports but the results (or lack thereof) were always the same.

  5. #5
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    can we even get the device specific command options?
    Code:
    scanimage -A -d 'genesys:libusb:001:004'
    the numbers 001 and 004 can change over time (reboot or usb disconnect), you can use scanimage -L again to find the numbers
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  6. #6
    Join Date
    May 2015
    Beans
    40
    Distro
    Xubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    Quote Originally Posted by pqwoerituytrueiwoq View Post
    can we even get the device specific command options?
    Code:
    scanimage -A -d 'genesys:libusb:001:004'
    the numbers 001 and 004 can change over time (reboot or usb disconnect), you can use scanimage -L again to find the numbers
    This outputs:
    Code:
    All options specific to device `genesys:libusb:001:004':
      Scan Mode:
        --mode Color|Gray|Lineart [Gray]
            Selects the scan mode (e.g., lineart, monochrome, or color).
        --source Flatbed|Transparency Adapter [inactive]
            Selects the scan source (such as a document-feeder).
        --preview[=(yes|no)] [no]
            Request a preview-quality scan.
        --depth 8|16 [8]
            Number of bits per sample, typical values are 1 for "line-art" and 8
            for multibit scans.
        --resolution 4800|2400|1200|600|300|200|150|100|75dpi [75]
            Sets the resolution of the scanned image.
      Geometry:
        -l 0..216.07mm [0]
            Top-left x position of scan area.
        -t 0..299mm [0]
            Top-left y position of scan area.
        -x 0..216.07mm [216.07]
            Width of scan-area.
        -y 0..299mm [299]
            Height of scan-area.
      Enhancement:
        --custom-gamma[=(yes|no)] [no]
            Determines whether a builtin or a custom gamma-table should be used.
        --gamma-table 0..65535,... [inactive]
            Gamma-correction table.  In color mode this option equally affects the
            red, green, and blue channels simultaneously (i.e., it is an intensity
            gamma table).
        --red-gamma-table 0..65535,... [inactive]
            Gamma-correction table for the red band.
        --green-gamma-table 0..65535,... [inactive]
            Gamma-correction table for the green band.
        --blue-gamma-table 0..65535,... [inactive]
            Gamma-correction table for the blue band.
        --swdeskew[=(yes|no)] [no]
            Request backend to rotate skewed pages digitally
        --swcrop[=(yes|no)] [no]
            Request backend to remove border from pages digitally
        --swdespeck[=(yes|no)] [no]
            Request backend to remove lone dots digitally
        --despeck 1..9 (in steps of 1) [1]
            Maximum diameter of lone dots to remove from scan
        --swskip 0..100% (in steps of 1) [0]
            Request driver to discard pages with low numbers of dark pixels
        --swderotate[=(yes|no)] [no]
            Request driver to detect and correct 90 degree image rotation
        --brightness -100..100 (in steps of 1) [0]
            Controls the brightness of the acquired image.
        --contrast -100..100 (in steps of 1) [0]
            Controls the contrast of the acquired image.
      Extras:
        --lamp-off-time 0..60 [15]
            The lamp will be turned off after the given time (in minutes). A value
            of 0 means, that the lamp won't be turned off.
        --lamp-off-scan[=(yes|no)] [no]
            The lamp will be turned off during scan. 
        --threshold 0..100% (in steps of 1) [50]
            Select minimum-brightness to get a white point
        --threshold-curve 0..127 (in steps of 1) [50]
            Dynamic threshold curve, from light to dark, normally 50-65
        --disable-dynamic-lineart[=(yes|no)] [no]
            Disable use of a software adaptive algorithm to generate lineart
            relying instead on hardware lineart.
        --disable-interpolation[=(yes|no)] [no]
            When using high resolutions where the horizontal resolution is smaller
            than the vertical resolution this disables horizontal interpolation.
        --color-filter Red|Green|Blue [Green]
            When using gray or lineart this option selects the used color.
        --calibration-file <string> [/home/boris/.sane/canon-lide-100.cal]
            Specify the calibration file to use
        --expiration-time -1..30000 (in steps of 1) [-2134835368]
            Time (in minutes) before a cached calibration expires.A value of 0
            means cache is not used used. A negative value means cache never
            expires.
      Sensors:
        --scan[=(yes|no)] [no] [hardware]
            Scan button
        --file[=(yes|no)] [no] [hardware]
            File button
        --email[=(yes|no)] [no] [hardware]
            Email button
        --copy[=(yes|no)] [no] [hardware]
            Copy button
      Buttons:
        --clear-calibration
            Clear calibration cache

  7. #7
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    there is a ppa for the latest version of scanimage, maybe it has been fixed?
    https://launchpad.net/~rolfbensch/+a...buntu/sane-git
    this ppa updates very frequently you never know when it will fix or break

    i wonder if this could be a permission error...
    Code:
    sudo scanimage -d 'genesys:libusb:001:004' --source 'Flatbed' -l 0 -t 0 -x 215.9 -y 279.4 --resolution 75 --mode 'Color' --format=pnm > '/tmp/scan_file1.pnm'
    open the file it creates: /tmp/scan_file1.pnm
    if it works with sudo this should be able to fix it (it is a bash script)
    https://github.com/GM-Script-Writer-...-maker.tar.bz2
    Last edited by pqwoerituytrueiwoq; July 8th, 2016 at 01:53 AM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  8. #8
    Join Date
    May 2015
    Beans
    40
    Distro
    Xubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    Quote Originally Posted by pqwoerituytrueiwoq View Post
    there is a ppa for the latest version of scanimage, maybe it has been fixed?
    https://launchpad.net/~rolfbensch/+a...buntu/sane-git
    this ppa updates very frequently you never know when it will fix or break
    Even with the repository and a full software update the problem persists.

    i wonder if this could be a permission error...
    [code]sudo scanimage -d 'genesys:libusb:001:004' --source 'Flatbed' -l 0 -t 0 -x 215.9 -y 279.4 --resolution 75 --mode 'Color' --format=pnm > '/tmp/scan_file1.pnm'
    This outputs: scanimage: attempted to set inactive option source

  9. #9
    Join Date
    Aug 2015
    Beans
    582

    Re: Flatbed scanner not working after upgrade to 16.04

    I'm also experiencing the same problems with my CanoScan LiDE 110, I've tested my scanner on Live CDs of both Xubuntu 14.04 and 16.04 on VirtualBox, my scanner works on 14.04, but doesn't work on 16.04. There is clearly a bug.

    http://news.gmane.org/gmane.comp.gra...l/cutoff=25795

    This link discusses the same problems, plus some bug reports from Launchpad.

  10. #10
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: Flatbed scanner not working after upgrade to 16.04

    Quote Originally Posted by stinktier2 View Post
    Even with the repository and a full software update the problem persists.



    This outputs: scanimage: attempted to set inactive option source
    opps the help data did say there was no valid source option, try this one
    Code:
    sudo scanimage -d 'genesys:libusb:001:004' -l 0 -t 0 -x 215.9 -y 279.4 --resolution 75 --mode 'Color' --format=pnm > '/tmp/scan_file1.pnm'
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •