I got xsane running by copying the content of /usr/lib/x86_64-linux-
gnu/sane from the old Ubuntu 14.04 (64 bit) installation to the same
location in my Ubuntu 17.10 (64 bit) install.

According to

  sane-config --version

the "old" libraries are from the release 1.0.23. (And the naming of the
files also suggests that.)

I then tried to compile sane from source according to
https://help.ubuntu.com/community/CompileSaneFromSource in the hope to
bisect the commit where this change happend:

sudo apt-get install libusb-dev build-essential libsane-dev
sudo apt-get install libavahi-client-dev libavahi-glib-dev

git clone git://git.debian.org/sane/sane-backends.git

./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc 
--localstatedir=/var  --enable-avahi
make
sudo make install

After each install I rebooted the machine in order to flush any cached
libraries from memory.

This first attempt did not work. (Same error as described above).

I then tried the various newer releases and one older one (1.0.22):

git checkout RELEASE_1_0_xx

configure, make, make install, reboot, test.

However, all of those fail.

The only version that works every time is the one I've copied from
Ubuntu 14.04.

At this point I don't know how to proceed.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1756201

Title:
  xsane not aquiring images from Lide 30

Status in sane-backends package in Ubuntu:
  New

Bug description:
  Ubuntu 17.10, xsane 0.999

  
  During the "searching for devices" phase I can hear the "usual" tick from the 
scanner.

  When I try to scan the error "Failed to start scanner: Error during
  device I/O" occurs.

  I can dual-boot my machine into Ubuntu 14.04 LTS with xsane 0.998.
  There it works perfectly (same computer, same port, same cable).

  I don't see any messages on the console or in /var/log/messages.

  I've tried running it as root - same problem.

  Any hints?

  Thanks

  Mike

  
  $ uname -a
  Linux quadro 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux

  
  $ lsusb
  ...
  Bus 001 Device 003: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30

  $ sane-find-scanner 
  ...
  found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], 
chip=LM9830) at libusb:001:003

  $ scanimage -L
  device `plustek:libusb:001:003' is a Canon CanoScan N1240U/LiDE30 flatbed 
scanner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1756201/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to