backend, libsane, genesys, Gimp, libreoffice,canon LiDE 220

Bug #1662007 reported by Folkhard Müller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu 16.04.1 LTS
Release: 16.04
libsane:
  Installiert: 1.0.25+git20150528-1ubuntu2
  Installationskandidat: 1.0.25+git20150528-1ubuntu2
  Versionstabelle:
 *** 1.0.25+git20150528-1ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

sane-utils:
  Installiert: 1.0.25+git20150528-1ubuntu2
  Installationskandidat: 1.0.25+git20150528-1ubuntu2
  Versionstabelle:
 *** 1.0.25+git20150528-1ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

libreoffice:
  Installiert: 1:5.1.4-0ubuntu1
  Installationskandidat: 1:5.1.4-0ubuntu1
  Versionstabelle:
 *** 1:5.1.4-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     1:5.1.2-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
gimp:
  Installiert: 2.8.16-1ubuntu1.1
  Installationskandidat: 2.8.16-1ubuntu1.1
  Versionstabelle:
 *** 2.8.16-1ubuntu1.1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     2.8.16-1ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
xsane:
  Installiert: 0.999-3ubuntu1
  Installationskandidat: 0.999-3ubuntu1
  Versionstabelle:
 *** 0.999-3ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

lsusb:
Bus 002 Device 012: ID 04a9:190f Canon, Inc.

sane-find-scanner -q
found USB scanner (vendor=0x04a9 [Canon], product=0x190f [CanoScan]) at libusb:002:012

First I want to mention that I am perfectly satisfied with the perfomance and usabilty of lubuntu especially with old, lowend Laptops. I am thankfull to all those people which make this great distribution possible. For all my problems so far I found a solution (I am on board since lubuntu 12.04), however the following I could not fix myself.

I expect that the backend genesys (part of libsane) used with the scanner LIDE 220 allows me to read scans directly with libreoffice or gimp to the respective application.
What happens:
Libreoffice "sees" the scanner, however I cannot select the resolution. First it is 75 any other selection ends up in 4800. I can read one scan in resolution 75(?) the next scan results in a libreoffice crash. Errors are eratic. But libreoffice is unusable with the backend genesys.
Please note unpluging the LIDE 220 and plugging Epson 1640su scanner (backend epson2) everything works as expected and I can scan as often as I will with any resolution I choose.

Gimp does not include either xsane ore xscanimage as plugin if the LIDE 220 via genesys is active.
however the plugins are found and active if I use for example a Epson 1640su (backend epson2) and I can scan everything.

Remark:
genesys works perfectly with scanimage, xsane, xscanimage, Simple scan.

I can only guess that the interface of the backend genesys has a flaw, which makes interfacing to libreoffice and gimp impossible. I would not expect the error on the Libreoffice or gimp side, since both work with epson2 backend happily. Confusing is, the genesys works perfectly with the frontends
scanimage, xsane, xscanimage and SimpleScan. I would look for the flaw in the way the resolution is communicated back and force from the frontend to the backend. However, I do not know details about the sane API.

Remark1: I played the game also with the 32Bit version of Lubuntu 16.04.1 LTS In that version the backend
genesys does not work correctly at all. Black scans, the scanner makes awfull noice. Upgrade to rolfbench version 1.026 of libsane makes only scanimage work, but xsane and other do not work at all.
again everything works as expected if I use the Epson scanner via backend epson2 (no need to upgrade to rolfbensch version 1.026 of libsane).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libsane 1.0.25+git20150528-1ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40
Uname: Linux 4.4.0-62-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: LXDE
Date: Sun Feb 5 19:40:04 2017
InstallationDate: Installed on 2017-01-12 (24 days ago)
InstallationMedia: Lubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Folkhard Müller (folkhard) wrote :
Changed in sane-backends (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.