Scanner CanoScan Lide 120 not detected

Asked by srikumar on 2015-02-18

I am usine Ubuntu 14.10 with the latest updates.
I have installed a Canon CanoScan Lide 120 scanner in place of the earlier Canan Scanner.
The XSane Image scanning prgram does not detect the sacnner.

any suggestions?
Thank you.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2017-10-19
Last reply:
2016-06-20

What is the output of:

lsb_release -a; uname -a; lsusb

Thanks

srikumar (ssrikumar) said : #2

 lsb_release -a; uname -a; lsusb
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
srikumar@srikumar-desktop:~$ lsb_release -a; uname -a; lsusb
No LSB modules are available.
Distributor ID: Ubuntu
Release: 14.10
Codename: utopic
Linux srikumar-desktop 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:27 UTC 2015 i686 i686 i686 GNU/Linux
Bus 001 Device 005: ID 03f0:3d17 Hewlett-Packard LaserJet P1005
Bus 001 Device 004: ID 0718:0246 Imation Corp.
Bus 001 Device 003: ID 04a9:190e Canon, Inc.
Bus 001 Device 002: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Manfred Hampl (m-hampl) said : #3

The support by Canon for Linux is rather limited, and I cannot find a Linux driver for the LIDE 120 Scanner on their support pages.

And it seems that there is no support for that scanner yet in the sane package. As far as I can see, that scanner is not listed on the SANE pages. http://www.sane-project.org/cgi-bin/driver.pl?manu=canon&model=lide&bus=any&v=&p=

What is the output of

sudo sane-find-scanner -v -v

Maybe that information helps identifying whether your scanner is similar to another type where a SANE driver has already been written.

srikumar (ssrikumar) said : #4

srikumar@srikumar-desktop:~$ sudo sane-find-scanner -v -v
[sudo] password for srikumar:
This is sane-find-scanner from sane-backends 1.0.24

  # 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.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/sg0... failed to open (Invalid argument)
checking /dev/sg1... failed to open (Invalid argument)
checking /dev/sg2... failed to open (Invalid argument)
checking /dev/sg3... failed to open (Invalid argument)
checking /dev/sg4... failed to open (Invalid argument)
checking /dev/sg5... failed to open (Invalid argument)
checking /dev/sg6... failed to open (Invalid argument)
checking /dev/sg7... failed to open (Invalid argument)
checking /dev/sg8... failed to open (Invalid argument)
checking /dev/sg9... failed to open (Invalid argument)
checking /dev/sga... failed to open (Invalid argument)
checking /dev/sgb... failed to open (Invalid argument)
checking /dev/sgc... failed to open (Invalid argument)
checking /dev/sgd... failed to open (Invalid argument)
checking /dev/sge... failed to open (Invalid argument)
checking /dev/sgf... failed to open (Invalid argument)
checking /dev/sgg... failed to open (Invalid argument)
checking /dev/sgh... failed to open (Invalid argument)
checking /dev/sgi... failed to open (Invalid argument)
checking /dev/sgj... failed to open (Invalid argument)
checking /dev/sgk... failed to open (Invalid argument)
checking /dev/sgl... failed to open (Invalid argument)
checking /dev/sgm... failed to open (Invalid argument)
checking /dev/sgn... failed to open (Invalid argument)
checking /dev/sgo... failed to open (Invalid argument)
checking /dev/sgp... failed to open (Invalid argument)
checking /dev/sgq... failed to open (Invalid argument)
checking /dev/sgr... failed to open (Invalid argument)
checking /dev/sgs... failed to open (Invalid argument)
checking /dev/sgt... failed to open (Invalid argument)
checking /dev/sgu... failed to open (Invalid argument)
checking /dev/sgv... failed to open (Invalid argument)
checking /dev/sgw... failed to open (Invalid argument)
checking /dev/sgx... failed to open (Invalid argument)
checking /dev/sgy... failed to open (Invalid argument)
checking /dev/sgz... failed to open (Invalid argument)
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
trying libusb:

<device descriptor of 0x0718/0x0246 at 001:004 (Imation Nano )>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0718
idProduct 0x0246
bcdDevice 1.00
iManufacturer 1 (Imation )
iProduct 2 (Nano )
iSerialNumber 3 (077911100856)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 32
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 128 ()
 MaxPower 200 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 (out 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x04a9/0x190e at 001:003 (Canon CanoScan)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255
bDeviceSubClass 255
bDeviceProtocol 255
bMaxPacketSize0 64
idVendor 0x04A9
idProduct 0x190E
bcdDevice 7.04
iManufacturer 1 (Canon)
iProduct 2 (CanoScan)
iSerialNumber 0 ()
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 39
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 160 (Remote Wakeup)
 MaxPower 500 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 3
   bInterfaceClass 255
   bInterfaceSubClass 255
   bInterfaceProtocol 255
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 (out 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 2>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 (in 0x03)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 1
    bInterval 8 ms
    bRefresh 0
    bSynchAddress 0

<trying to find out which USB chip is used>
    checking for GT-6801 ...
    this is not a GT-6801 (bcdUSB = 0x200)
    checking for GT-6816 ...
    this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
    checking for GLxxx ...
    this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)
<This USB chip looks like a GL848+ (result from sane-backends 1.0.24)>

found USB scanner (vendor=0x04a9 [Canon], product=0x190e [CanoScan], chip=GL848+) at libusb:001:003
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error

<device descriptor of 0x03f0/0x2b17 at 001:002>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x03F0
idProduct 0x2B17
bcdDevice 1.00
iManufacturer 1 ()
iProduct 2 ()
could not fetch string descriptor: Pipe error
iSerialNumber 3 ()
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 32
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 192 (Self-powered)
 MaxPower 98 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 7
   bInterfaceSubClass 1
   bInterfaceProtocol 2
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x01 (out 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0002 at 001:001 (Linux 3.16.0-30-generic ehci_hcd EHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0002
bcdDevice 3.16
iManufacturer 3 (Linux 3.16.0-30-generic ehci_hcd)
iProduct 2 (EHCI Host Controller)
iSerialNumber 1 (0000:00:1d.7)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 4
    bInterval 12 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 005:001 (Linux 3.16.0-30-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 3.16
iManufacturer 3 (Linux 3.16.0-30-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.3)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 004:001 (Linux 3.16.0-30-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 3.16
iManufacturer 3 (Linux 3.16.0-30-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.2)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 003:001 (Linux 3.16.0-30-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 3.16
iManufacturer 3 (Linux 3.16.0-30-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.1)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 002:001 (Linux 3.16.0-30-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 3.16
iManufacturer 3 (Linux 3.16.0-30-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.0)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
done
srikumar@srikumar-desktop:~$

srikumar (ssrikumar) said : #5

My earlier Scanner was CanoScan Lide 35 and it worked quite well with the Xsane program.

srikumar (ssrikumar) said : #6

srikumar@srikumar-desktop:~$ scanimage - L
scanimage: no SANE devices found
srikumar@srikumar-desktop:~$

Manfred Hampl (m-hampl) said : #7

You output shows:
found USB scanner (vendor=0x04a9 [Canon], product=0x190e [CanoScan], chip=GL848+) at libusb:001:003

So the scanner seems to be based on the Genesys GL848 chip. As far as I can see from http://www.sane-project.org/man/sane-genesys.5.html the current sane genesis backend has only support for the Genesys GL646, GL841, GL843, GL847 and GL124 chips (including support for the LIDE 35).

It seems that someone has to write a driver that you can use your scanner with Ubuntu.

I suggest you contact the SANE project http://www.sane-project.org/contrib.html

Hello Every one, I am facing the same problem with Canoscan LiDE 120 with Ubuntu 14.04 LTS. Since a month passed, and I am not able to use the scanner (USB). I am queuing up my self here inorder to receive future updates regarding this problem. Thankyou. Please help me out if you find any solution.

srikumar (ssrikumar) said : #9

Thank you for your response.

I do not know about programming, so cannot write a backend for this chip by myself.
Is it easy to write a program; can this be learnt easily. Can I team up with someone who does this and contribute in some way possible ?
Guess I will have to wait until someone writes the backend program.

Thanks.

Manfred Hampl (m-hampl) said : #10

The common source for scanner backend drivers is the SANE project.
I recommend reading http://www.sane-project.org/contrib.html
SANE has drivers for other Canon LIDE scanners, and I assume they would be able to create a suitable driver also for the LIDE 210, if they get the required information about that scanner and its chip.

Manfred Hampl (m-hampl) said : #11

There are also other people struggling with that problem, see among others
https://www.mail-archive.com/search?l=sane-devel%40lists.alioth.debian.org&q=lide+120

srikumar (ssrikumar) said : #12

Thank you.
Have read up on the web link. many other also have the same problem with the Canon Lide 120.
Since I do not know programming - will have to wait until a backend is written for this.

srikumar (ssrikumar) said : #13

re #10

What info is required about the CanoScan Lide 120 scanner and its chip ? I could try to find this info.

Since a backend is already available for the GL847 Chip, I guess it is not too difficlut to write a backend for the GL848 Chip. (?)

Manfred Hampl (m-hampl) said : #14

Please contact the SANE developers and ask them what they need.
There seems to be something going on already for the LIDE 220, see https://www.mail-archive.com/search?<email address hidden>&q=lide+220&x=0&y=0
and maybe this is the datasheet for the GL848: http://www.datasheetlib.com/datasheet/1280933/gl848_genesys-logic.html

srikumar (ssrikumar) said : #15

It seems that some work is going on with the GL 848 Chip. Will wait for this to be completed.

Launchpad Janitor (janitor) said : #16

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

srikumar (ssrikumar) said : #17

any luck on the Canon Lide 120 Scanner?

Launchpad Janitor (janitor) said : #18

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Pavlushka (pavelsayekat) said : #19

Good news, now it scans and produces some distorted picture of the originals.

srikumar (ssrikumar) said : #20

Hi, Pavlushka

Which Scan Program (software) do you use?
I use Simple Scan and it does not work at all

Your reply will be appreciated.
Thank you
srikumar

Pavlushka (pavelsayekat) said : #21

Hi Srikumar,
For that make your system up-to-date then you need to rebuild the
sane-backend from the latest source released & install the backend and
then use any frontends like simplescan, gscan2pdf, skanlite etc, you'll
get some result because It worked for me, BTY I use Ubuntu 14.04.3 LTS
amd64.

Regards

Pavel

On 25-02-16 পুর্বাহ্ন 07.42, srikumar wrote:
> Question #262320 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/262320
>
> srikumar posted a new comment:
> Hi, Pavlushka
>
> Which Scan Program (software) do you use?
> I use Simple Scan and it does not work at all
>
> Your reply will be appreciated.
> Thank you
> srikumar
>

srikumar (ssrikumar) said : #22

Thank you, Pavel.
Will do as suggested.

srikumar (ssrikumar) said : #23

I amusing Ubuntu 15.10 with all the latest updates.
How to get / rebuild from the latest sane-backend?

any suggestions.
Thank you.

Pavlushka (pavelsayekat) said : #24

Okay,
Just do this and may be this will make you smile.
Open your terminal & type
*sudo add-apt-repository ppa:rolfbensch/sane-git

#then run
sudo apt-get update
**
#then run
**sudo apt-get upgrade

#OR you can use synaptic package manager to check and make sure that
sane is up-to-date with all necessary libraries.

#It's just my suggestion to use gscan2pdf frontend to scan as for now &
bingo, it gives best result in 300 dpi till now.

*Cheers
Pavel*

*
On 02/26/2016 10:32 AM, srikumar wrote:
> Question #262320 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/262320
>
> srikumar gave more information on the question:
> I amusing Ubuntu 15.10 with all the latest updates.
> How to get / rebuild from the latest sane-backend?
>
> any suggestions.
> Thank you.
>

Pavlushka (pavelsayekat) said : #25

Hi Srikumar,
please ignore the asterisks bedore the sudo commands before every thing you must run the "sudo add-apt-repository ppa:rolfbensch/sane-git" command.

regards
Pavel

srikumar (ssrikumar) said : #26

Thank you, Pavel.

Did as instructed and also installed gscan2pdf.

The program recognises the scanner as Lide 120 and there is a lettle noise from the scanner which stops after a few seconds.
Then an error message box appears with the words "I/O error".

Do you want to see the output from the Terminal Commands?

any other suggestions?
Thank you.

srikumar (ssrikumar) said : #27

The Terminal Output is as follows:-

srikumar@srikumar-desktop:~$ sudo add-apt-repository ppa:rolfbensch/sane-git
[sudo] password for srikumar:
 Ubuntu SANE packages from SANE daily git snapshots (http://www.sane-project.org/snapshots/) or cloned from git (http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=summary) if SANE daily git snapshot isn't available on the website.

Unchanged SANE daily git snapshots are ignored!

Please send scanner related questions to the SANE mailing list <email address hidden>.
 More info: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
Press [ENTER] to continue or ctrl-c to cancel adding it
sudo apt-get update
gpg: keyring `/tmp/tmpvhd0zmij/secring.gpg' created
gpg: keyring `/tmp/tmpvhd0zmij/pubring.gpg' created
gpg: requesting key B7CC8701 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpvhd0zmij/trustdb.gpg: trustdb created
gpg: key B7CC8701: public key "Launchpad PPA for Rolf Bensch" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
srikumar@srikumar-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  linux-headers-4.2.0-18 linux-headers-4.2.0-18-generic linux-headers-4.2.0-19
  linux-headers-4.2.0-19-generic linux-headers-4.2.0-21
  linux-headers-4.2.0-21-generic linux-headers-4.2.0-22
  linux-headers-4.2.0-22-generic linux-headers-4.2.0-23
  linux-headers-4.2.0-23-generic linux-headers-4.2.0-25
  linux-headers-4.2.0-25-generic linux-image-4.2.0-18-generic
  linux-image-4.2.0-19-generic linux-image-4.2.0-21-generic
  linux-image-4.2.0-22-generic linux-image-4.2.0-23-generic
  linux-image-4.2.0-25-generic linux-image-extra-4.2.0-18-generic
  linux-image-extra-4.2.0-19-generic linux-image-extra-4.2.0-21-generic
  linux-image-extra-4.2.0-22-generic linux-image-extra-4.2.0-23-generic
  linux-image-extra-4.2.0-25-generic
Use 'apt-get autoremove' to remove them.
Done
The following packages have been kept back:
  libsane libsane-common libsane-dev
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
srikumar@srikumar-desktop:~$

Pavlushka (pavelsayekat) said : #28

Then you should run this command in the terminal

sudo apt-get upgrade libsane libsane-common libsane-dev

And just see.

thanks

On 02/29/2016 11:02 AM, srikumar wrote:
> Question #262320 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/262320
>
> srikumar gave more information on the question:
> The Terminal Output is as follows:-
>
> srikumar@srikumar-desktop:~$ sudo add-apt-repository ppa:rolfbensch/sane-git
> [sudo] password for srikumar:
> Ubuntu SANE packages from SANE daily git snapshots (http://www.sane-project.org/snapshots/) or cloned from git (http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=summary) if SANE daily git snapshot isn't available on the website.
>
> Unchanged SANE daily git snapshots are ignored!
>
> Please send scanner related questions to the SANE mailing list <email address hidden>.
> More info: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
> Press [ENTER] to continue or ctrl-c to cancel adding it
> sudo apt-get update
> gpg: keyring `/tmp/tmpvhd0zmij/secring.gpg' created
> gpg: keyring `/tmp/tmpvhd0zmij/pubring.gpg' created
> gpg: requesting key B7CC8701 from hkp server keyserver.ubuntu.com
> gpg: /tmp/tmpvhd0zmij/trustdb.gpg: trustdb created
> gpg: key B7CC8701: public key "Launchpad PPA for Rolf Bensch" imported
> gpg: Total number processed: 1
> gpg: imported: 1 (RSA: 1)
> OK
> srikumar@srikumar-desktop:~$ sudo apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... The following packages were automatically installed and are no longer required:
> linux-headers-4.2.0-18 linux-headers-4.2.0-18-generic linux-headers-4.2.0-19
> linux-headers-4.2.0-19-generic linux-headers-4.2.0-21
> linux-headers-4.2.0-21-generic linux-headers-4.2.0-22
> linux-headers-4.2.0-22-generic linux-headers-4.2.0-23
> linux-headers-4.2.0-23-generic linux-headers-4.2.0-25
> linux-headers-4.2.0-25-generic linux-image-4.2.0-18-generic
> linux-image-4.2.0-19-generic linux-image-4.2.0-21-generic
> linux-image-4.2.0-22-generic linux-image-4.2.0-23-generic
> linux-image-4.2.0-25-generic linux-image-extra-4.2.0-18-generic
> linux-image-extra-4.2.0-19-generic linux-image-extra-4.2.0-21-generic
> linux-image-extra-4.2.0-22-generic linux-image-extra-4.2.0-23-generic
> linux-image-extra-4.2.0-25-generic
> Use 'apt-get autoremove' to remove them.
> Done
> The following packages have been kept back:
> libsane libsane-common libsane-dev
> 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
> srikumar@srikumar-desktop:~$
>

Manfred Hampl (m-hampl) said : #29

Try the commands

sudo apt-get update
sudo apt-get dist-upgrade

The distro (short for "distribution") is the same, 14.04 and 15.10 are not different distros. They are different releases of the same distro, Ubuntu.

Don't confuse"distribution" with "release"

Pavlushka (pavelsayekat) said : #32

To Manfred,

My bad, Srikumar can try that.

Manfred Hampl (m-hampl) said : #33

I know that the wording "dist-upgrade" is misleading. It does not perform a release-upgrade, but can install/remove more packages than the plain "apt-get upgrade" command will do.

I try to explain the difference between "apt-get upgrade" and "apt-get dist-upgrade" with an example:

Say you have version 1 of package a installed, and package a version 1 depends on b1.
There is a new version 2 of package a available, but that now depends on b2, but b1 and b2 cannot be installed at the same time.

Upgrading a 1 to a 2 now requires that b1 be removed to allow b2 to be installed.

apt-get upgrade will never remove installed packages, and so the package a version 2 will stay "kept back".
apt-get dist-upgrade will do all changes.

(The command for a release-upgrade from 14.04 to a higher release is "do-release-upgrade")

srikumar (ssrikumar) said : #34

Thank you for all your responses.

Have tried both suggestions one by one but the scanner does not work.
The program gscan2pdf recognizes the scanner as Canon Lide 120.
On staring to scan at 300 DPI the program stall for some time and the comes up with an error window "Error during device I/O"
The program remains frozen and requires to be force quit.

and suggestions?
Thank you.

Pavlushka (pavelsayekat) said : #35

What's the result of the previous apt-get commands??

Pavlushka (pavelsayekat) said : #36

And give us the exact results of the following commands

cat /lib/udev/rules.d/40-libsane.rules | grep 190e
cat /etc/sane.d/genesys.conf | grep 190e

Pavlushka (pavelsayekat) said : #37

Correction to my previous comment : run

sudo cat /lib/udev/rules.d/40-libsane.rules | grep 190e
sudo cat /etc/sane.d/genesys.conf | grep 190e

 and post the results & also post/describe the results of "sudo apt-get dist-upgrade" and/or "sudo apt-get upgrade libsane libsane-common libsane-dev" commands.

srikumar (ssrikumar) said : #38

srikumar@srikumar-desktop:~$ sudo cat /lib/udev/rules.d/40-libsane.rules | grep 190e
[sudo] password for srikumar:
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="190e", ENV{libsane_matched}="yes"
srikumar@srikumar-desktop:~$ sudo cat /etc/sane.d/genesys.conf | grep 190e
usb 0x04a9 0x190e
srikumar@srikumar-desktop:~$

srikumar (ssrikumar) said : #39

srikumar@srikumar-desktop:~$ sudo apt-get dist-upgrade
[sudo] password for srikumar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
srikumar@srikumar-desktop:~$ sudo apt-get upgrade libsane libsane-common libsane-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... libsane is already the newest version.
libsane-dev is already the newest version.
libsane-common is already the newest version.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
srikumar@srikumar-desktop:~$

srikumar (ssrikumar) said : #40

there were some problems with the apt-get commands
so Synaptic Package Manager was used to correct these
the above post # 39 is after all this was done

Thank you

Pavlushka (pavelsayekat) said : #41

now please post the results of the following command

sudo ls /etc/apt/sources.list.d/ | grep rolf

srikumar (ssrikumar) said : #42

thank you for your response.

srikumar@srikumar-desktop:~$ sudo ls /etc/apt/sources.list.d/ | grep rolf
[sudo] password for srikumar:
rolfbensch-ubuntu-sane-git-wily.list
rolfbensch-ubuntu-sane-git-wily.list.save
srikumar@srikumar-desktop:~$

Pavlushka (pavelsayekat) said : #43

Now run & post the results of the following

 cat /etc/apt/sources.list.d/rolfbensch-ubuntu-sane-git-wily.list

srikumar (ssrikumar) said : #44

Thanks. Sorry, could not do this any earlier.

srikumar@srikumar-desktop:~$ cat /etc/apt/sources.list.d/rolfbensch-ubuntu-sane-git-wily.list
deb http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu wily main
# deb-src http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu wily main
# deb-src http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu wily main
# deb-src http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu wily main
srikumar@srikumar-desktop:~$

Pavlushka (pavelsayekat) said : #45

The OS side looks ok. Please report to the following person with your(this) question log details.

http://sane.10972.n7.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=5

you can send him a message through this link and see what happens. He is the developer of genesys backend (canon drivers) and probably the head of SANE project if I am not wrong.

srikumar (ssrikumar) said : #46

Thanks, posted the logs on the SANE dev site.
Will await their response.

Pavlushka (pavelsayekat) said : #47

And one more thing, for your own privacy, hide the portion
"srikumar@srikumar" in your future posts.
On Mar 4, 2016 8:52 AM, "srikumar" <email address hidden>
wrote:

> Question #262320 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/262320
>
> srikumar gave more information on the question:
> Thanks, posted the logs on the SANE dev site.
> Will await their response.
>
> --
> You received this question notification because you are subscribed to
> the question.
>

srikumar (ssrikumar) said : #48

Noted, Thank you.

How does hiding that add any security at all? The system will have a class C unroutable address (probably in the 192.0.0.0/8 range) which there are billions of. What can someone do with that particular information.

If an attacker found this text valuable, s/he could look at the guy's previous posts and see the text as it is now on the page...

Hiding nonsense details in hope it will add some security is nonsense. Next you'll be telling him not to disclose his CPU make and model. Same difference.

Pavlushka (pavelsayekat) said : #50

To actionparsnip
Thanks for the details, but I meant privacy, not exactly security, but your facts educating me.

srikumar (ssrikumar) said : #51

Thank you all for your assistance.

Pavlushka (pavelsayekat) said : #52

Hey Srikumar,

go to the following site for sane project.

https://alioth.debian.org/projects/sane/

Register and subscribe to the sane-devel's mailing list, keep knocking them patiently, and not a recommended suggestion (Dear Andrew and Manfred, Please step in), you might do a fresh install.

Pavlushka (pavelsayekat) said : #53

Hey Srikumar,
you have to do it the harder way I guess, follow the link and we are here for farther support.

https://help.ubuntu.com/community/CompileSaneFromSource

This time we can make the thing work I hope.

Pavlushka (pavelsayekat) said : #54

Or actually you can do it in a bit more simpler way

*Open a Terminal. You need some usb libraries, and compile and build software. Some backends use avahi to discover network scanners so type:

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

*Install git-core

sudo apt-get install git-core

*Download the source code

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

*get in into the sane-backends directory

cd sane-backends

*run the command there

./configure --enable-avahi

* then run

make

* then run

sudo make install

*for any errors, post it here

srikumar (ssrikumar) said : #55

Have run all the above commands.
The scanner Canon Lide 120 is detected as usual by the sacanning program - gscan2pdf.
the scanner makes a whirring noise and stops.
scanning still not working.
will restart the computer and try again.

srikumar (ssrikumar) said : #56

the scanner still does not work

srikumar (ssrikumar) said : #57

srikumar@srikumar-desktop:~$ scanimage -L
device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
srikumar@srikumar-desktop:~$ sudo scanimage -L
[sudo] password for srikumar:
device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
srikumar@srikumar-desktop:~$

srikumar (ssrikumar) said : #58

srikumar@srikumar-desktop:~$ cat /etc/sane.d/genesys.conf
# genesys.conf: Configuration file for Genesys Logic GL646 and GL841 based scanners

#
# scanners that are not yet supported
# uncomment them only for developpment purpose
#

# UMAX Astra 4500 and Avision iVina 1600
#usb 0x0638 0x0a10

# Hewlett Packard ScanJet 2400c
usb 0x03f0 0x0a01

# Hewlett Packard ScanJet 3670c/3690c
usb 0x03f0 0x1405

# Plustek OpticPro ST24
#usb 0x07b3 0x0601

# Syscan DocketPort 465
#usb 0x0a82 0x4802

#
# supported scanners
#

# Medion MD5345/MD6228/MD6471
usb 0x0461 0x0377

# Hewlett Packard ScanJet 2300c
usb 0x03f0 0x0901

# Canon LiDE 35/40/50
usb 0x04a9 0x2213

# Canon LiDE 60
usb 0x04a9 0x221c

# Canon LiDE 80
usb 0x04a9 0x2214

# Canon 4400F
usb 0x04a9 0x2228

# Canon LiDE 100
usb 0x04a9 0x1904

# Canon LiDE 110
usb 0x04a9 0x1909

# Canon LiDE 200
usb 0x04a9 0x1905

# Canon 5600F
usb 0x04a9 0x1906

# Canon LiDE 700F
usb 0x04a9 0x1907

# Canon LiDE 210
usb 0x04a9 0x190a

# Canon LiDE 120
usb 0x04a9 0x190e

# Canon LiDE 220
usb 0x04a9 0x190f

# Canon 5600f
usb 0x04a9 0x1906

# Visioneer Strobe XP200
usb 0x04a7 0x0426

# Visioneer Strobe XP300
usb 0x04a7 0x0474

# Ambir/Syscan DocketPort 665
usb 0x0a82 0x4803

# Visioneer Roadwarrior
usb 0x04a7 0x0494

# Visioneer XP100 rev 3
usb 0x04a7 0x049b

#Pentax DSmobile 600
usb 0x0a17 0x3210
usb 0x04f9 0x2038

# Syscan DocketPort 467
usb 0x1dcc 0x4812

# Syscan DocketPort 485
usb 0x0a82 0x4800

# DCT DocketPort 487
usb 0x1dcc 0x4810

# Syscan/Ambir DocketPort 685
usb 0x0a82 0x480c

# Visioneer OneTouch 7100
usb 0x04a7 0x0229

# Xerox Travel Scanner 100
usb 0x04a7 0x04ac

# Panasonic KV-SS080
usb 0x04da 0x100f

# Hewlett Packard ScanJet 4850C
usb 0x03f0 0x1b05

# Hewlett Packard ScanJet G4010
usb 0x03f0 0x4505

# Hewlett Packard ScanJet G4050
usb 0x03f0 0x4605

# Plustek OpticBook 3600
usb 0x07b3 0x0900

# Primax Electronics, Ltd Xerox 2400 Onetouch
usb 0x0461 0x038b

#Hewlett Packard ScanJet N6310
usb 0x03f0 0x4705

# Canon Image Formula 101
usb 0x1803 0x162e

# Plustek OpticBook 3800
usb 0x07b3 0x1300
srikumar@srikumar-desktop:~$

according to this Canon Lide 120 is supported

srikumar (ssrikumar) said : #59

is this a possible way:-

install WINE
run WINE
install the Canon Lide 120 driver diskette

is this possible?
any suggesstion?
Thank you.

Pavlushka (pavelsayekat) said : #60

To Srikumar,
Since 2016-03-09, you and I were in the same boat, using the latest updats of rolf-bench ppa broke my working device again (so weird, not damaged but pulled me to the state that you are in), so I git pulled (updated) the source-code of sane backends and compiled it locally using the above method I suggested you. It brought the machine to working state where even your simple scan will work. but the compiling part is important, have you been able to compile it without errors?

post the "./configure --enable-avahi" output
post the "make install" output

(To Andrew, & Manfred, if there's need to add something)

pixel (p-i-x-e-l) said : #61

On my elementary OS (based on ubuntu 14.04) Canon LiDe 120 work great:
sudo add-apt-repository ppa:rolfbensch/sane-git
sudo apt-get update
update your system

Bought this scanner (Canon LiDE 120) today. Pavlushka's suggestion of installing the avahi libraries and compiling SANE from source worked for me. I'm using 32-bit Ubuntu 14.04. Front end is simple-scan. Thank you for this thread!

srikumar (ssrikumar) said : #63

to: pixel

Thank you for your suggestion which was tried out.
Scanner is detected, making a whirring noise but does not scan.

srikumar (ssrikumar) said : #64

to Pavel:-

srikumar@srikumar-desktop:~$ cd sane-backends
srikumar@srikumar-desktop:~/sane-backends$ ./configure --enable-avahi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for sane-config... /usr/local/bin/sane-config
checking for msgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for latex... no
checking for dvips... no
checking for makeindex... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether runtime link path should be used... yes
checking linker parameter to set runtime link path... -Wl,-rpath,
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether byte ordering is bigendian... no
checking for le32toh in machine/endian.h... no
checking for ntohl in arpa/inet.h... yes
checking for swap32 in machine/endian.h... no
checking for bswap_32 in byteswap.h... yes
configure: include/byteorder.h is unchanged
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in include/_stdint.h (assuming C99 compatible system)
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for sqrt in -lm... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking for jpeglib - version >= 61 (6a)... yes
checking for TIFFFdOpen in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for png_init_io in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking ieee1284.h usability... yes
checking ieee1284.h presence... yes
checking for ieee1284.h... yes
checking for libieee1284 >= 0.1.5... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pthread_create... yes
checking for pthread_kill... yes
checking for pthread_join... yes
checking for pthread_detach... yes
checking for pthread_cancel... yes
checking for pthread_testcancel... yes
checking whether to enable pthread support... yes
checking whether to use pthread instead of fork... yes
configure: WARNING: Group uucp does not exist on this system.
configure: WARNING: Locking feature will be disabled.
checking whether to enable device locking... no
checking for pkg-config... pkg-config
checking for gp_camera_init... yes
checking for gp_port_info_get_path... yes
checking for LIBV4L... yes
checking for AVAHI... yes
checking for sane_init in -lsane... yes
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for snmp_timeout in -lnetsnmp... yes
checking for proper SNMP version... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/dsreq.h usability... no
checking sys/dsreq.h presence... no
checking for sys/dsreq.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/scanio.h usability... no
checking sys/scanio.h presence... no
checking for sys/scanio.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking sys/hw.h usability... no
checking sys/hw.h presence... no
checking for sys/hw.h... no
checking for sys/types.h... (cached) yes
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking dev/ppbus/ppi.h usability... no
checking dev/ppbus/ppi.h presence... no
checking for dev/ppbus/ppi.h... no
checking machine/cpufunc.h usability... no
checking machine/cpufunc.h presence... no
checking for machine/cpufunc.h... no
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking be/kernel/OS.h usability... no
checking be/kernel/OS.h presence... no
checking for be/kernel/OS.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for tiffio.h... (cached) yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for asm/io.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking resmgr.h usability... no
checking resmgr.h presence... no
checking for resmgr.h... no
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for long long support... yes
checking for socklen_t in <sys/socket.h>... yes
checking for union semun in <sys/sem.h>... no
checking for struct flock in fcntl.h... yes
checking for Linux ioctl defines... yes
checking whether byte ordering is bigendian... (cached) no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for gethostbyaddr... yes
checking for gethostbyaddr... (cached) yes
checking for socket... yes
checking for inet_aton... yes
checking for inet_addr... yes
checking for inet_aton... (cached) yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for atexit... yes
checking for ioperm... yes
checking for i386_set_ioperm... no
checking for mkdir... yes
checking for strftime... yes
checking for strstr... yes
checking for strtod... yes
checking for cfmakeraw... yes
checking for tcsendbreak... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for _portaccess... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for poll... yes
checking for setitimer... yes
checking for iopl... yes
checking for getuid... yes
checking for getpass... yes
checking for getenv... yes
checking for isfdtype... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strcasestr... yes
checking for strdup... yes
checking for strndup... yes
checking for strsep... yes
checking for usleep... yes
checking for sleep... yes
checking for syslog... yes
checking for vsyslog... yes
checking for inb,outb (provided by sys/io.h)... yes
checking for getopt_long... yes
checking for SYSTEMD... no
checking for SYSTEMD... no
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_interrupt_read in -lusb... yes
checking lusb0_usb.h usability... no
checking lusb0_usb.h presence... no
checking for lusb0_usb.h... no
checking IOKit/scsi/SCSITaskLib.h usability... no
checking IOKit/scsi/SCSITaskLib.h presence... no
checking for IOKit/scsi/SCSITaskLib.h... no
checking IOKit/cdb/IOSCSILib.h usability... no
checking IOKit/cdb/IOSCSILib.h presence... no
checking for IOKit/cdb/IOSCSILib.h... no
checking IOKit/scsi/SCSICommandOperationCodes.h usability... no
checking IOKit/scsi/SCSICommandOperationCodes.h presence... no
checking for IOKit/scsi/SCSICommandOperationCodes.h... no
checking IOKit/scsi-commands/SCSICommandOperationCodes.h usability... no
checking IOKit/scsi-commands/SCSICommandOperationCodes.h presence... no
checking for IOKit/scsi-commands/SCSICommandOperationCodes.h... no
checking scsi.h usability... no
checking scsi.h presence... no
checking for scsi.h... no
checking sys/scsi.h usability... no
checking sys/scsi.h presence... no
checking for sys/scsi.h... no
checking sys/scsicmd.h usability... no
checking sys/scsicmd.h presence... no
checking for sys/scsicmd.h... no
checking sys/scsiio.h usability... no
checking sys/scsiio.h presence... no
checking for sys/scsiio.h... no
checking bsd/dev/scsireg.h usability... no
checking bsd/dev/scsireg.h presence... no
checking for bsd/dev/scsireg.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking camlib.h usability... no
checking camlib.h presence... no
checking for camlib.h... no
checking scdds.h usability... no
checking scdds.h presence... no
checking for scdds.h... no
checking sys/scsi/scsi.h usability... no
checking sys/scsi/scsi.h presence... no
checking for sys/scsi/scsi.h... no
checking sys/scsi/sgdefs.h usability... no
checking sys/scsi/sgdefs.h presence... no
checking for sys/scsi/sgdefs.h... no
checking sys/scsi/targets/scgio.h usability... no
checking sys/scsi/targets/scgio.h presence... no
checking for sys/scsi/targets/scgio.h... no
checking apollo/scsi.h usability... no
checking apollo/scsi.h presence... no
checking for apollo/scsi.h... no
checking sys/sdi_comm.h usability... no
checking sys/sdi_comm.h presence... no
checking for sys/sdi_comm.h... no
checking sys/passthrudef.h usability... no
checking sys/passthrudef.h presence... no
checking for sys/passthrudef.h... no
checking for io/cam/cam.h... no
checking for ntddscsi.h... no
checking for ddk/ntddscsi.h... no
checking for scsireq_enter in -lscsi... no
checking for cam_open_device in -lcam... no
checking for scsireq_enter... no
checking for sg_header.target_status in <scsi/sg.h>... yes
scsi buffersize: 131072
checking whether to enable IPv6... yes
checking whether struct sockaddr_storage has an ss_family member... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
*** pint backend requires sys/scanio.h - disabling
*** pnm backend not manually selected - disabling
enabling translations
disabling latex (missing latex, dvips or makeindex)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating sanei/Makefile
config.status: creating frontend/Makefile
config.status: creating japi/Makefile
config.status: creating backend/Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating testsuite/sanei/Makefile
config.status: creating testsuite/tools/Makefile
config.status: creating tools/Makefile
config.status: creating doc/doxygen-sanei.conf
config.status: creating doc/doxygen-genesys.conf
config.status: creating tools/sane-config
config.status: creating tools/sane-backends.pc
config.status: creating include/sane/config.h
config.status: include/sane/config.h is unchanged
config.status: executing depfiles commands
config.status: executing include/_stdint.h commands
config.status: creating include/_stdint.h : _SANE_BACKENDS_INCLUDE__STDINT_H
config.status: include/_stdint.h is unchanged
config.status: executing libtool commands
-> Variables used for compilation/linking:
CPPFLAGS=" -D_REENTRANT -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) -DV_MAJOR=1 -DV_MINOR=0"
CFLAGS="-g -O2 -std=c99 -Wall -Wextra -pedantic"
LDFLAGS=""
LIBS=""
-> Installation directories:
Configuration: /usr/local/etc
Libraries: /usr/local/lib
Binaries: /usr/local/bin and /usr/local/sbin
Manpages: /usr/local/share/man
Documentation: /usr/local/doc/sane-1.0.26git
Lockfiles: Feature is disabled!
-> Network parameters:
Build saned: yes
IPv6 support: yes
Avahi support: yes
SNMP support: yes
-> The following backends will be built:
abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 epsonds fujitsu genesys gphoto2 gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx kvs40xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb mustek_usb2 nec net niash pie pieusb pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u v4l xerox_mfp p5

-> The following preload backends will be built:

****************************************************************
* Please be sure to read file PROBLEMS in this directory *
* BEFORE running any of the SANE applications. Some devices *
* may be damaged by improper operation, so please do heed this *
* advice. *
****************************************************************
srikumar@srikumar-desktop:~/sane-backends$

srikumar (ssrikumar) said : #65

to Pavel:

srikumar@srikumar-desktop:~$ cd sane-backends
srikumar@srikumar-desktop:~/sane-backends$ make
Making all in include
make[1]: Entering directory '/home/srikumar/sane-backends/include'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/srikumar/sane-backends/include'
Making all in lib
make[1]: Entering directory '/home/srikumar/sane-backends/lib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/srikumar/sane-backends/lib'
Making all in sanei
make[1]: Entering directory '/home/srikumar/sane-backends/sanei'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/srikumar/sane-backends/sanei'
Making all in backend
make[1]: Entering directory '/home/srikumar/sane-backends/backend'
make all-am
make[2]: Entering directory '/home/srikumar/sane-backends/backend'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/srikumar/sane-backends/backend'
make[1]: Leaving directory '/home/srikumar/sane-backends/backend'
Making all in frontend
make[1]: Entering directory '/home/srikumar/sane-backends/frontend'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/srikumar/sane-backends/frontend'
Making all in tools
make[1]: Entering directory '/home/srikumar/sane-backends/tools'
for subdir in hal hotplug hotplug-ng udev; do \
  /bin/mkdir -p $subdir || exit 1; \
  done
make all-am
make[2]: Entering directory '/home/srikumar/sane-backends/tools'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/srikumar/sane-backends/tools'
make[1]: Leaving directory '/home/srikumar/sane-backends/tools'
Making all in doc
make[1]: Entering directory '/home/srikumar/sane-backends/doc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/srikumar/sane-backends/doc'
Making all in po
make[1]: Entering directory '/home/srikumar/sane-backends/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/srikumar/sane-backends/po'
Making all in testsuite
make[1]: Entering directory '/home/srikumar/sane-backends/testsuite'
Making all in sanei
make[2]: Entering directory '/home/srikumar/sane-backends/testsuite/sanei'
run 'make check' to run tests
make[2]: Leaving directory '/home/srikumar/sane-backends/testsuite/sanei'
Making all in tools
make[2]: Entering directory '/home/srikumar/sane-backends/testsuite/tools'
Use 'make check' to run the tests.
run 'make check' to run tests
make[2]: Leaving directory '/home/srikumar/sane-backends/testsuite/tools'
make[2]: Entering directory '/home/srikumar/sane-backends/testsuite'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/srikumar/sane-backends/testsuite'
Use 'make test' to run the tests.
make[1]: Leaving directory '/home/srikumar/sane-backends/testsuite'
make[1]: Entering directory '/home/srikumar/sane-backends'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/srikumar/sane-backends'
srikumar@srikumar-desktop:~/sane-backends$

srikumar (ssrikumar) said : #66

to Pavel:

srikumar@srikumar-desktop:~/sane-backends$ sudo make install
[sudo] password for srikumar:
Making install in include
make[1]: Entering directory '/home/srikumar/sane-backends/include'
make[2]: Entering directory '/home/srikumar/sane-backends/include'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/include'
 /bin/mkdir -p '/usr/local/include/sane'
 /usr/bin/install -c -m 644 sane/sane.h sane/saneopts.h '/usr/local/include/sane'
make[2]: Leaving directory '/home/srikumar/sane-backends/include'
make[1]: Leaving directory '/home/srikumar/sane-backends/include'
Making install in lib
make[1]: Entering directory '/home/srikumar/sane-backends/lib'
make[2]: Entering directory '/home/srikumar/sane-backends/lib'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/srikumar/sane-backends/lib'
make[1]: Leaving directory '/home/srikumar/sane-backends/lib'
Making install in sanei
make[1]: Entering directory '/home/srikumar/sane-backends/sanei'
make[2]: Entering directory '/home/srikumar/sane-backends/sanei'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/srikumar/sane-backends/sanei'
make[1]: Leaving directory '/home/srikumar/sane-backends/sanei'
Making install in backend
make[1]: Entering directory '/home/srikumar/sane-backends/backend'
make install-am
make[2]: Entering directory '/home/srikumar/sane-backends/backend'
make[3]: Entering directory '/home/srikumar/sane-backends/backend'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool --silent --mode=install /usr/bin/install -c libsane.la '/usr/local/lib'
 /bin/mkdir -p '/usr/local/lib/sane'
 /bin/bash ../libtool --silent --mode=install /usr/bin/install -c libsane-abaton.la libsane-agfafocus.la libsane-apple.la libsane-artec.la libsane-artec_eplus48u.la libsane-as6e.la libsane-avision.la libsane-bh.la libsane-canon.la libsane-canon630u.la libsane-canon_dr.la libsane-canon_pp.la libsane-cardscan.la libsane-coolscan.la libsane-coolscan2.la libsane-coolscan3.la libsane-dc25.la libsane-dc210.la libsane-dc240.la libsane-dell1600n_net.la libsane-dmc.la libsane-epjitsu.la libsane-epson.la libsane-epson2.la libsane-epsonds.la libsane-fujitsu.la libsane-genesys.la libsane-gphoto2.la libsane-gt68xx.la libsane-hp.la libsane-hp3500.la libsane-hp3900.la libsane-hp4200.la libsane-hp5400.la libsane-hp5590.la libsane-hpsj5s.la libsane-hpljm1005.la libsane-hs2p.la libsane-ibm.la libsane-kodak.la libsane-kodakaio.la libsane-kvs1025.la libsane-kvs20xx.la libsane-kvs40xx.la libsane-leo.la libsane-lexmark.la libsane-ma1509.la libsane-magicolor.la libsane-matsushita.la libsane-microtek.la libsane-microtek2.la libsane-mustek.la libsane-mustek_pp.la libsane-mustek_usb.la libsane-mustek_usb2.la libsane-nec.la libsane-net.la libsane-niash.la libsane-pie.la libsane-pieusb.la libsane-pixma.la libsane-plustek.la libsane-plustek_pp.la libsane-qcam.la libsane-ricoh.la libsane-rts8891.la libsane-s9036.la libsane-sceptre.la libsane-sharp.la libsane-sm3600.la libsane-sm3840.la libsane-snapscan.la libsane-sp15c.la libsane-st400.la libsane-stv680.la libsane-tamarack.la libsane-teco1.la libsane-teco2.la libsane-teco3.la libsane-test.la libsane-u12.la libsane-umax.la libsane-umax_pp.la libsane-umax1220u.la libsane-v4l.la libsane-xerox_mfp.la libsane-p5.la libsane-dll.la '/usr/local/lib/sane'
make install-data-hook
make[4]: Entering directory '/home/srikumar/sane-backends/backend'
rm -f /usr/local/lib/sane/libsane.*
test -z "/usr/local/etc/sane.d" || /bin/mkdir -p "/usr/local/etc/sane.d"
test -z "/usr/local/etc/sane.d/dll.d" || /bin/mkdir -p "/usr/local/etc/sane.d/dll.d"
NOT overwriting abaton.conf in /usr/local/etc/sane.d...
NOT overwriting agfafocus.conf in /usr/local/etc/sane.d...
NOT overwriting apple.conf in /usr/local/etc/sane.d...
NOT overwriting artec.conf in /usr/local/etc/sane.d...
NOT overwriting artec_eplus48u.conf in /usr/local/etc/sane.d...
NOT overwriting avision.conf in /usr/local/etc/sane.d...
NOT overwriting bh.conf in /usr/local/etc/sane.d...
NOT overwriting canon.conf in /usr/local/etc/sane.d...
NOT overwriting canon630u.conf in /usr/local/etc/sane.d...
NOT overwriting canon_dr.conf in /usr/local/etc/sane.d...
NOT overwriting canon_pp.conf in /usr/local/etc/sane.d...
NOT overwriting cardscan.conf in /usr/local/etc/sane.d...
NOT overwriting coolscan.conf in /usr/local/etc/sane.d...
NOT overwriting coolscan2.conf in /usr/local/etc/sane.d...
NOT overwriting coolscan3.conf in /usr/local/etc/sane.d...
NOT overwriting dc25.conf in /usr/local/etc/sane.d...
NOT overwriting dc210.conf in /usr/local/etc/sane.d...
NOT overwriting dc240.conf in /usr/local/etc/sane.d...
NOT overwriting dell1600n_net.conf in /usr/local/etc/sane.d...
NOT overwriting dmc.conf in /usr/local/etc/sane.d...
NOT overwriting epjitsu.conf in /usr/local/etc/sane.d...
NOT overwriting epson.conf in /usr/local/etc/sane.d...
NOT overwriting epson2.conf in /usr/local/etc/sane.d...
NOT overwriting epsonds.conf in /usr/local/etc/sane.d...
NOT overwriting fujitsu.conf in /usr/local/etc/sane.d...
NOT overwriting genesys.conf in /usr/local/etc/sane.d...
NOT overwriting gphoto2.conf in /usr/local/etc/sane.d...
NOT overwriting gt68xx.conf in /usr/local/etc/sane.d...
NOT overwriting hp.conf in /usr/local/etc/sane.d...
NOT overwriting hp3900.conf in /usr/local/etc/sane.d...
NOT overwriting hp4200.conf in /usr/local/etc/sane.d...
NOT overwriting hp5400.conf in /usr/local/etc/sane.d...
NOT overwriting hpsj5s.conf in /usr/local/etc/sane.d...
NOT overwriting hs2p.conf in /usr/local/etc/sane.d...
NOT overwriting ibm.conf in /usr/local/etc/sane.d...
NOT overwriting kodak.conf in /usr/local/etc/sane.d...
NOT overwriting kodakaio.conf in /usr/local/etc/sane.d...
NOT overwriting kvs1025.conf in /usr/local/etc/sane.d...
NOT overwriting leo.conf in /usr/local/etc/sane.d...
NOT overwriting lexmark.conf in /usr/local/etc/sane.d...
NOT overwriting ma1509.conf in /usr/local/etc/sane.d...
NOT overwriting magicolor.conf in /usr/local/etc/sane.d...
NOT overwriting matsushita.conf in /usr/local/etc/sane.d...
NOT overwriting microtek.conf in /usr/local/etc/sane.d...
NOT overwriting microtek2.conf in /usr/local/etc/sane.d...
NOT overwriting mustek.conf in /usr/local/etc/sane.d...
NOT overwriting mustek_pp.conf in /usr/local/etc/sane.d...
NOT overwriting mustek_usb.conf in /usr/local/etc/sane.d...
NOT overwriting nec.conf in /usr/local/etc/sane.d...
NOT overwriting net.conf in /usr/local/etc/sane.d...
NOT overwriting pie.conf in /usr/local/etc/sane.d...
NOT overwriting pieusb.conf in /usr/local/etc/sane.d...
NOT overwriting pixma.conf in /usr/local/etc/sane.d...
NOT overwriting plustek.conf in /usr/local/etc/sane.d...
NOT overwriting plustek_pp.conf in /usr/local/etc/sane.d...
NOT overwriting qcam.conf in /usr/local/etc/sane.d...
NOT overwriting ricoh.conf in /usr/local/etc/sane.d...
NOT overwriting rts8891.conf in /usr/local/etc/sane.d...
NOT overwriting s9036.conf in /usr/local/etc/sane.d...
NOT overwriting sceptre.conf in /usr/local/etc/sane.d...
NOT overwriting sharp.conf in /usr/local/etc/sane.d...
NOT overwriting sm3840.conf in /usr/local/etc/sane.d...
NOT overwriting snapscan.conf in /usr/local/etc/sane.d...
NOT overwriting sp15c.conf in /usr/local/etc/sane.d...
NOT overwriting st400.conf in /usr/local/etc/sane.d...
NOT overwriting stv680.conf in /usr/local/etc/sane.d...
NOT overwriting tamarack.conf in /usr/local/etc/sane.d...
NOT overwriting teco1.conf in /usr/local/etc/sane.d...
NOT overwriting teco2.conf in /usr/local/etc/sane.d...
NOT overwriting teco3.conf in /usr/local/etc/sane.d...
NOT overwriting test.conf in /usr/local/etc/sane.d...
NOT overwriting u12.conf in /usr/local/etc/sane.d...
NOT overwriting umax.conf in /usr/local/etc/sane.d...
NOT overwriting umax_pp.conf in /usr/local/etc/sane.d...
NOT overwriting umax1220u.conf in /usr/local/etc/sane.d...
NOT overwriting v4l.conf in /usr/local/etc/sane.d...
NOT overwriting xerox_mfp.conf in /usr/local/etc/sane.d...
NOT overwriting p5.conf in /usr/local/etc/sane.d...
NOT overwriting saned.conf in /usr/local/etc/sane.d...
NOT overwriting dll.conf in /usr/local/etc/sane.d...
for dir in artec_eplus48u gt68xx snapscan epjitsu ; do \
  /bin/bash ../mkinstalldirs /usr/local/share/sane/${dir} ; \
  done
make[4]: Leaving directory '/home/srikumar/sane-backends/backend'
make[3]: Leaving directory '/home/srikumar/sane-backends/backend'
make[2]: Leaving directory '/home/srikumar/sane-backends/backend'
make[1]: Leaving directory '/home/srikumar/sane-backends/backend'
Making install in frontend
make[1]: Entering directory '/home/srikumar/sane-backends/frontend'
make[2]: Entering directory '/home/srikumar/sane-backends/frontend'
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool --mode=install /usr/bin/install -c scanimage '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/scanimage /usr/local/bin/scanimage
 /bin/mkdir -p '/usr/local/sbin'
  /bin/bash ../libtool --mode=install /usr/bin/install -c saned '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/saned /usr/local/sbin/saned
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/srikumar/sane-backends/frontend'
make[1]: Leaving directory '/home/srikumar/sane-backends/frontend'
Making install in tools
make[1]: Entering directory '/home/srikumar/sane-backends/tools'
for subdir in hal hotplug hotplug-ng udev; do \
  /bin/mkdir -p $subdir || exit 1; \
  done
make install-am
make[2]: Entering directory '/home/srikumar/sane-backends/tools'
make[3]: Entering directory '/home/srikumar/sane-backends/tools'
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool --mode=install /usr/bin/install -c sane-find-scanner gamma4scanimage umax_pp '/usr/local/bin'
libtool: install: /usr/bin/install -c sane-find-scanner /usr/local/bin/sane-find-scanner
libtool: install: /usr/bin/install -c gamma4scanimage /usr/local/bin/gamma4scanimage
libtool: install: /usr/bin/install -c umax_pp /usr/local/bin/umax_pp
 /bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c sane-config '/usr/local/bin'
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 sane-backends.pc '/usr/local/lib/pkgconfig'
make[3]: Leaving directory '/home/srikumar/sane-backends/tools'
make[2]: Leaving directory '/home/srikumar/sane-backends/tools'
make[1]: Leaving directory '/home/srikumar/sane-backends/tools'
Making install in doc
make[1]: Entering directory '/home/srikumar/sane-backends/doc'
make[2]: Entering directory '/home/srikumar/sane-backends/doc'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/share/man/man5" || /bin/mkdir -p "/usr/local/share/man/man5"
installing sane-abaton.5 in /usr/local/share/man/man5/sane-abaton.5...
installing sane-agfafocus.5 in /usr/local/share/man/man5/sane-agfafocus.5...
installing sane-apple.5 in /usr/local/share/man/man5/sane-apple.5...
installing sane-artec.5 in /usr/local/share/man/man5/sane-artec.5...
installing sane-artec_eplus48u.5 in /usr/local/share/man/man5/sane-artec_eplus48u.5...
installing sane-as6e.5 in /usr/local/share/man/man5/sane-as6e.5...
installing sane-avision.5 in /usr/local/share/man/man5/sane-avision.5...
installing sane-bh.5 in /usr/local/share/man/man5/sane-bh.5...
installing sane-canon.5 in /usr/local/share/man/man5/sane-canon.5...
installing sane-canon630u.5 in /usr/local/share/man/man5/sane-canon630u.5...
installing sane-canon_dr.5 in /usr/local/share/man/man5/sane-canon_dr.5...
installing sane-canon_pp.5 in /usr/local/share/man/man5/sane-canon_pp.5...
installing sane-cardscan.5 in /usr/local/share/man/man5/sane-cardscan.5...
installing sane-coolscan.5 in /usr/local/share/man/man5/sane-coolscan.5...
installing sane-coolscan2.5 in /usr/local/share/man/man5/sane-coolscan2.5...
installing sane-coolscan3.5 in /usr/local/share/man/man5/sane-coolscan3.5...
installing sane-dc25.5 in /usr/local/share/man/man5/sane-dc25.5...
installing sane-dc210.5 in /usr/local/share/man/man5/sane-dc210.5...
installing sane-dc240.5 in /usr/local/share/man/man5/sane-dc240.5...
installing sane-dmc.5 in /usr/local/share/man/man5/sane-dmc.5...
installing sane-epjitsu.5 in /usr/local/share/man/man5/sane-epjitsu.5...
installing sane-epson.5 in /usr/local/share/man/man5/sane-epson.5...
installing sane-epson2.5 in /usr/local/share/man/man5/sane-epson2.5...
installing sane-epsonds.5 in /usr/local/share/man/man5/sane-epsonds.5...
installing sane-fujitsu.5 in /usr/local/share/man/man5/sane-fujitsu.5...
installing sane-genesys.5 in /usr/local/share/man/man5/sane-genesys.5...
installing sane-gphoto2.5 in /usr/local/share/man/man5/sane-gphoto2.5...
installing sane-gt68xx.5 in /usr/local/share/man/man5/sane-gt68xx.5...
installing sane-hp.5 in /usr/local/share/man/man5/sane-hp.5...
installing sane-hp3500.5 in /usr/local/share/man/man5/sane-hp3500.5...
installing sane-hp3900.5 in /usr/local/share/man/man5/sane-hp3900.5...
installing sane-hp4200.5 in /usr/local/share/man/man5/sane-hp4200.5...
installing sane-hp5400.5 in /usr/local/share/man/man5/sane-hp5400.5...
installing sane-hp5590.5 in /usr/local/share/man/man5/sane-hp5590.5...
installing sane-hpsj5s.5 in /usr/local/share/man/man5/sane-hpsj5s.5...
installing sane-hpljm1005.5 in /usr/local/share/man/man5/sane-hpljm1005.5...
installing sane-hs2p.5 in /usr/local/share/man/man5/sane-hs2p.5...
installing sane-ibm.5 in /usr/local/share/man/man5/sane-ibm.5...
installing sane-kodak.5 in /usr/local/share/man/man5/sane-kodak.5...
installing sane-kodakaio.5 in /usr/local/share/man/man5/sane-kodakaio.5...
installing sane-kvs1025.5 in /usr/local/share/man/man5/sane-kvs1025.5...
installing sane-kvs20xx.5 in /usr/local/share/man/man5/sane-kvs20xx.5...
installing sane-kvs40xx.5 in /usr/local/share/man/man5/sane-kvs40xx.5...
installing sane-leo.5 in /usr/local/share/man/man5/sane-leo.5...
installing sane-lexmark.5 in /usr/local/share/man/man5/sane-lexmark.5...
installing sane-ma1509.5 in /usr/local/share/man/man5/sane-ma1509.5...
installing sane-magicolor.5 in /usr/local/share/man/man5/sane-magicolor.5...
installing sane-matsushita.5 in /usr/local/share/man/man5/sane-matsushita.5...
installing sane-microtek.5 in /usr/local/share/man/man5/sane-microtek.5...
installing sane-microtek2.5 in /usr/local/share/man/man5/sane-microtek2.5...
installing sane-mustek.5 in /usr/local/share/man/man5/sane-mustek.5...
installing sane-mustek_pp.5 in /usr/local/share/man/man5/sane-mustek_pp.5...
installing sane-mustek_usb.5 in /usr/local/share/man/man5/sane-mustek_usb.5...
installing sane-mustek_usb2.5 in /usr/local/share/man/man5/sane-mustek_usb2.5...
installing sane-nec.5 in /usr/local/share/man/man5/sane-nec.5...
installing sane-net.5 in /usr/local/share/man/man5/sane-net.5...
installing sane-niash.5 in /usr/local/share/man/man5/sane-niash.5...
installing sane-pie.5 in /usr/local/share/man/man5/sane-pie.5...
installing sane-pieusb.5 in /usr/local/share/man/man5/sane-pieusb.5...
installing sane-pixma.5 in /usr/local/share/man/man5/sane-pixma.5...
installing sane-plustek.5 in /usr/local/share/man/man5/sane-plustek.5...
installing sane-plustek_pp.5 in /usr/local/share/man/man5/sane-plustek_pp.5...
installing sane-qcam.5 in /usr/local/share/man/man5/sane-qcam.5...
installing sane-ricoh.5 in /usr/local/share/man/man5/sane-ricoh.5...
installing sane-rts8891.5 in /usr/local/share/man/man5/sane-rts8891.5...
installing sane-s9036.5 in /usr/local/share/man/man5/sane-s9036.5...
installing sane-sceptre.5 in /usr/local/share/man/man5/sane-sceptre.5...
installing sane-sharp.5 in /usr/local/share/man/man5/sane-sharp.5...
installing sane-sm3600.5 in /usr/local/share/man/man5/sane-sm3600.5...
installing sane-sm3840.5 in /usr/local/share/man/man5/sane-sm3840.5...
installing sane-snapscan.5 in /usr/local/share/man/man5/sane-snapscan.5...
installing sane-sp15c.5 in /usr/local/share/man/man5/sane-sp15c.5...
installing sane-st400.5 in /usr/local/share/man/man5/sane-st400.5...
installing sane-stv680.5 in /usr/local/share/man/man5/sane-stv680.5...
installing sane-tamarack.5 in /usr/local/share/man/man5/sane-tamarack.5...
installing sane-teco1.5 in /usr/local/share/man/man5/sane-teco1.5...
installing sane-teco2.5 in /usr/local/share/man/man5/sane-teco2.5...
installing sane-teco3.5 in /usr/local/share/man/man5/sane-teco3.5...
installing sane-test.5 in /usr/local/share/man/man5/sane-test.5...
installing sane-u12.5 in /usr/local/share/man/man5/sane-u12.5...
installing sane-umax.5 in /usr/local/share/man/man5/sane-umax.5...
installing sane-umax_pp.5 in /usr/local/share/man/man5/sane-umax_pp.5...
installing sane-umax1220u.5 in /usr/local/share/man/man5/sane-umax1220u.5...
installing sane-v4l.5 in /usr/local/share/man/man5/sane-v4l.5...
installing sane-xerox_mfp.5 in /usr/local/share/man/man5/sane-xerox_mfp.5...
installing sane-p5.5 in /usr/local/share/man/man5/sane-p5.5...
installing sane-dll.5 in /usr/local/share/man/man5/sane-dll.5...
installing sane-scsi.5 in /usr/local/share/man/man5/sane-scsi.5...
installing sane-usb.5 in /usr/local/share/man/man5/sane-usb.5...
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git'
 /usr/bin/install -c -m 644 backend-writing.txt '/usr/local/doc/sane-1.0.26git'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git'
 /usr/bin/install -c -m 644 sane-backends.html sane-backends-external.html sane-mfgs.html sane-mfgs-external.html '/usr/local/doc/sane-1.0.26git'
 /bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 scanimage.1 sane-config.1 sane-find-scanner.1 gamma4scanimage.1 '/usr/local/share/man/man1'
 /bin/mkdir -p '/usr/local/share/man/man7'
 /usr/bin/install -c -m 644 sane.7 '/usr/local/share/man/man7'
 /bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 saned.8 '/usr/local/share/man/man8'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/umax'
 /usr/bin/install -c -m 644 umax/negative-types.txt umax/sane-logo.jpg umax/sane-umax-advanced-options-doc.html umax/sane-umax-advanced.jpg umax/sane-umax-astra-doc.html umax/sane-umax-config-doc.html umax/sane-umax-doc.html umax/sane-umax-histogram.jpg umax/sane-umax-mirage-doc.html umax/sane-umax-not-listed-doc.html umax/sane-umax-others-doc.html umax/sane-umax-parport-doc.html umax/sane-umax-powerlook-doc.html umax/sane-umax-scanner-clones-doc.html umax/sane-umax-speed-doc.html umax/sane-umax-standard-options-doc.html umax/sane-umax-standard.jpg umax/sane-umax-text.jpg umax/sane-umax-text2.jpg umax/sane-umax-text4.jpg umax/sane-umax-uc-doc.html umax/sane-umax-vista-doc.html umax/sane-umax.jpg umax/umax.BUGS umax/umax.CHANGES umax/umax.FAQ umax/umax.TODO '/usr/local/doc/sane-1.0.26git/umax'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/gt68xx'
 /usr/bin/install -c -m 644 gt68xx/gt68xx.CHANGES gt68xx/gt68xx.TODO '/usr/local/doc/sane-1.0.26git/gt68xx'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/plustek'
 /usr/bin/install -c -m 644 plustek/FAQ plustek/MakeModule.sh plustek/Makefile.kernel24 plustek/Makefile.kernel26 plustek/Plustek-PARPORT-TODO.txt plustek/Plustek-PARPORT.changes plustek/Plustek-PARPORT.txt plustek/Plustek-USB-TODO.txt plustek/Plustek-USB.changes plustek/Plustek-USB.txt '/usr/local/doc/sane-1.0.26git/plustek'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/teco'
 /usr/bin/install -c -m 644 teco/teco1.txt teco/teco2.txt teco/teco3.txt '/usr/local/doc/sane-1.0.26git/teco'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/mustek'
 /usr/bin/install -c -m 644 mustek/mustek.CHANGES '/usr/local/doc/sane-1.0.26git/mustek'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/canon'
 /usr/bin/install -c -m 644 canon/canon.changes canon/canon.install2700F.txt '/usr/local/doc/sane-1.0.26git/canon'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/mustek_usb'
 /usr/bin/install -c -m 644 mustek_usb/mustek_usb.CHANGES mustek_usb/mustek_usb.TODO '/usr/local/doc/sane-1.0.26git/mustek_usb'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/u12'
 /usr/bin/install -c -m 644 u12/U12.changes u12/U12.todo '/usr/local/doc/sane-1.0.26git/u12'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/mustek_usb2'
 /usr/bin/install -c -m 644 mustek_usb2/mustek_usb2.CHANGES mustek_usb2/mustek_usb2.TODO '/usr/local/doc/sane-1.0.26git/mustek_usb2'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/matsushita'
 /usr/bin/install -c -m 644 matsushita/matsushita.txt '/usr/local/doc/sane-1.0.26git/matsushita'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/sceptre'
 /usr/bin/install -c -m 644 sceptre/s1200.txt '/usr/local/doc/sane-1.0.26git/sceptre'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/niash'
 /usr/bin/install -c -m 644 niash/niash.TODO '/usr/local/doc/sane-1.0.26git/niash'
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git/leo'
 /usr/bin/install -c -m 644 leo/leo.txt '/usr/local/doc/sane-1.0.26git/leo'
make[2]: Leaving directory '/home/srikumar/sane-backends/doc'
make[1]: Leaving directory '/home/srikumar/sane-backends/doc'
Making install in po
make[1]: Entering directory '/home/srikumar/sane-backends/po'
make[2]: Entering directory '/home/srikumar/sane-backends/po'
make[2]: Nothing to be done for 'install-exec-am'.
installing sane-backends bg.mo to /usr/local/share/locale/bg/LC_MESSAGES/sane-backends.mo...
installing sane-backends cs.mo to /usr/local/share/locale/cs/LC_MESSAGES/sane-backends.mo...
installing sane-backends da.mo to /usr/local/share/locale/da/LC_MESSAGES/sane-backends.mo...
installing sane-backends de.mo to /usr/local/share/locale/de/LC_MESSAGES/sane-backends.mo...
installing sane-backends en_GB.mo to /usr/local/share/locale/en_GB/LC_MESSAGES/sane-backends.mo...
installing sane-backends eo.mo to /usr/local/share/locale/eo/LC_MESSAGES/sane-backends.mo...
installing sane-backends es.mo to /usr/local/share/locale/es/LC_MESSAGES/sane-backends.mo...
installing sane-backends fi.mo to /usr/local/share/locale/fi/LC_MESSAGES/sane-backends.mo...
installing sane-backends fr.mo to /usr/local/share/locale/fr/LC_MESSAGES/sane-backends.mo...
installing sane-backends gl.mo to /usr/local/share/locale/gl/LC_MESSAGES/sane-backends.mo...
installing sane-backends hu.mo to /usr/local/share/locale/hu/LC_MESSAGES/sane-backends.mo...
installing sane-backends it.mo to /usr/local/share/locale/it/LC_MESSAGES/sane-backends.mo...
installing sane-backends ja.mo to /usr/local/share/locale/ja/LC_MESSAGES/sane-backends.mo...
installing sane-backends nb.mo to /usr/local/share/locale/nb/LC_MESSAGES/sane-backends.mo...
installing sane-backends nl.mo to /usr/local/share/locale/nl/LC_MESSAGES/sane-backends.mo...
installing sane-backends pl.mo to /usr/local/share/locale/pl/LC_MESSAGES/sane-backends.mo...
installing sane-backends pt.mo to /usr/local/share/locale/pt/LC_MESSAGES/sane-backends.mo...
installing sane-backends ru.mo to /usr/local/share/locale/ru/LC_MESSAGES/sane-backends.mo...
installing sane-backends sv.mo to /usr/local/share/locale/sv/LC_MESSAGES/sane-backends.mo...
installing sane-backends uk.mo to /usr/local/share/locale/uk/LC_MESSAGES/sane-backends.mo...
make[2]: Leaving directory '/home/srikumar/sane-backends/po'
make[1]: Leaving directory '/home/srikumar/sane-backends/po'
Making install in testsuite
make[1]: Entering directory '/home/srikumar/sane-backends/testsuite'
Making install in sanei
make[2]: Entering directory '/home/srikumar/sane-backends/testsuite/sanei'
make[3]: Entering directory '/home/srikumar/sane-backends/testsuite/sanei'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/srikumar/sane-backends/testsuite/sanei'
make[2]: Leaving directory '/home/srikumar/sane-backends/testsuite/sanei'
Making install in tools
make[2]: Entering directory '/home/srikumar/sane-backends/testsuite/tools'
make[3]: Entering directory '/home/srikumar/sane-backends/testsuite/tools'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/srikumar/sane-backends/testsuite/tools'
make[2]: Leaving directory '/home/srikumar/sane-backends/testsuite/tools'
make[2]: Entering directory '/home/srikumar/sane-backends/testsuite'
make[3]: Entering directory '/home/srikumar/sane-backends/testsuite'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/srikumar/sane-backends/testsuite'
make[2]: Leaving directory '/home/srikumar/sane-backends/testsuite'
make[1]: Leaving directory '/home/srikumar/sane-backends/testsuite'
make[1]: Entering directory '/home/srikumar/sane-backends'
make[2]: Entering directory '/home/srikumar/sane-backends'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/doc/sane-1.0.26git'
 /usr/bin/install -c -m 644 AUTHORS ChangeLog COPYING LICENSE NEWS PROBLEMS PROJECTS README README.aix README.beos README.darwin README.djpeg README.freebsd README.hp-ux README.linux README.netbsd README.openbsd README.os2 README.solaris README.unixware2 README.unixware7 README.windows README.zeta '/usr/local/doc/sane-1.0.26git'
make[2]: Leaving directory '/home/srikumar/sane-backends'
make[1]: Leaving directory '/home/srikumar/sane-backends'
srikumar@srikumar-desktop:~/sane-backends$

both commands were run again since the earlier terminal logs were not available.

srikumar (ssrikumar) said : #67

Tried Simple Scan
Still does not work.

srikumar (ssrikumar) said : #68

went through the following link:-
http://www.sane-project.org/cgi-bin/driver.pl?manu=canon&model=lide&bus=any&v=&p=
indicates that the current tarball does not include support for Canon Lide 120
but that the development of the back-end is complete.

Do we wait for it to be included in the latest tarball ?

Pavlushka (pavelsayekat) said : #69

To Srikumar,
Your every result looks ok but its not ok because machine does not work. May be it will cause you a lot of trouble, but I suggest you to make a fresh system install and endure the pain to do it all from the start, and this time, discouraged to use the synaptic, use apt-get everytime, if you have package conflict or dependency problem, or any kind of problem, just ask here. Soon 16.04 LTS will be released, you should upgrade to that. I have tested the scanner in 16.04 beta, works fine with ppa:rolfbensch/sane-git.

srikumar (ssrikumar) said : #70

Thank you, will wait for Ubuntu 16.04 and see if it is OK.

Pavlushka (pavelsayekat) said : #71

Have you tried your LiDE 120 to a different linux machine? Does it work fine in windows?

Launchpad Janitor (janitor) said : #72

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Pavlushka (pavelsayekat) said : #73

Dear Srikumar,
Please mark this question as answered because I think your machine has other issues and this thread has some helpful instructions, so please let it not expire.

srikumar (ssrikumar) said : #74

Have tried it on a different machine and it still does not work.

Have installed Ubuntu 16.04 but the Canon Lide 120 scanner still does not work.

Pavlushka (pavelsayekat) said : #75

my guess is, the scanner itself has problem, try to test it on a
windows/mac machine as canon scanners has official drivers for those
systems, otherwise your scanner might be broken, sorry to say.
On May 11, 2016 7:17 AM, "srikumar" <email address hidden>
wrote:

> Question #262320 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/262320
>
> Status: Expired => Open
>
> srikumar is still having a problem:
> Have tried it on a different machine and it still does not work.
>
> Have installed Ubuntu 16.04 but the Canon Lide 120 scanner still does
> not work.
>
> --
> You received this question notification because you are subscribed to
> the question.
>

Adrian (3-adrian-u) said : #76

It appears that Canon have the changed the chip in recent LiDE 120 and 220s from the GL124+ to the GL848+ without changing the USB product ID. I believe as a previous poster says, that the GL848 is currently unsupported by Sane. I get the impression that anyone who has made the 120 or 220 work under Sane has the GL124+ version. I'd be glad to be proved wrong, so anyone with better information please reply.

Pavlushka (pavelsayekat) said : #77

This is sane-find-scanner from sane-backends 1.0.26git

  # 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.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/sg0... failed to open (Invalid argument)
checking /dev/sg1... failed to open (Invalid argument)
checking /dev/sg2... failed to open (Invalid argument)
checking /dev/sg3... failed to open (Invalid argument)
checking /dev/sg4... failed to open (Invalid argument)
checking /dev/sg5... failed to open (Invalid argument)
checking /dev/sg6... failed to open (Invalid argument)
checking /dev/sg7... failed to open (Invalid argument)
checking /dev/sg8... failed to open (Invalid argument)
checking /dev/sg9... failed to open (Invalid argument)
checking /dev/sga... failed to open (Invalid argument)
checking /dev/sgb... failed to open (Invalid argument)
checking /dev/sgc... failed to open (Invalid argument)
checking /dev/sgd... failed to open (Invalid argument)
checking /dev/sge... failed to open (Invalid argument)
checking /dev/sgf... failed to open (Invalid argument)
checking /dev/sgg... failed to open (Invalid argument)
checking /dev/sgh... failed to open (Invalid argument)
checking /dev/sgi... failed to open (Invalid argument)
checking /dev/sgj... failed to open (Invalid argument)
checking /dev/sgk... failed to open (Invalid argument)
checking /dev/sgl... failed to open (Invalid argument)
checking /dev/sgm... failed to open (Invalid argument)
checking /dev/sgn... failed to open (Invalid argument)
checking /dev/sgo... failed to open (Invalid argument)
checking /dev/sgp... failed to open (Invalid argument)
checking /dev/sgq... failed to open (Invalid argument)
checking /dev/sgr... failed to open (Invalid argument)
checking /dev/sgs... failed to open (Invalid argument)
checking /dev/sgt... failed to open (Invalid argument)
checking /dev/sgu... failed to open (Invalid argument)
checking /dev/sgv... failed to open (Invalid argument)
checking /dev/sgw... failed to open (Invalid argument)
checking /dev/sgx... failed to open (Invalid argument)
checking /dev/sgy... failed to open (Invalid argument)
checking /dev/sgz... failed to open (Invalid argument)
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
trying libusb:

<device descriptor of 0x174f/0x5212 at 001:009 (Syntek USB2.0 UVC PC Camera)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239
bDeviceSubClass 2
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x174F
idProduct 0x5212
bcdDevice 17.08
iManufacturer 2 (Syntek)
iProduct 3 (USB2.0 UVC PC Camera)
iSerialNumber 4 (0001)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 359
 bNumInterfaces 2
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 128 ()
 MaxPower 500 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 14
   bInterfaceSubClass 1
   bInterfaceProtocol 0
   iInterface 5 (Webcam-101)
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 (in 0x03)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 4
    bInterval 6 ms
    bRefresh 0
    bSynchAddress 0
  <interface 1>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 0
   bNumEndpoints 0
   bInterfaceClass 14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface 0 ()
   <altsetting 1>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 1
   bNumEndpoints 1
   bInterfaceClass 14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 5 (isochronous)
    wMaxPacketSize 5120
    bInterval 1 ms
    bRefresh 0
    bSynchAddress 0
   <altsetting 2>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 2
   bNumEndpoints 1
   bInterfaceClass 14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 5 (isochronous)
    wMaxPacketSize 1024
    bInterval 1 ms
    bRefresh 0
    bSynchAddress 0
   <altsetting 3>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 3
   bNumEndpoints 1
   bInterfaceClass 14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 5 (isochronous)
    wMaxPacketSize 3072
    bInterval 1 ms
    bRefresh 0
    bSynchAddress 0
   <altsetting 4>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 4
   bNumEndpoints 1
   bInterfaceClass 14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 5 (isochronous)
    wMaxPacketSize 0
    bInterval 1 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x0bda/0x0158 at 001:036 (Generic USB2.0-CRW)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0BDA
idProduct 0x0158
bcdDevice 81.95
iManufacturer 1 (Generic)
iProduct 2 (USB2.0-CRW)
iSerialNumber 3 (20060413092100000)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 32
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 4 (CARD READER)
 bmAttributes 128 ()
 MaxPower 500 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface 5 (Bulk-In, Bulk-Out, Interface)
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x01 (out 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 (in 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error

<device descriptor of 0x0bb4/0x0004 at 001:010>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0BB4
idProduct 0x0004
bcdDevice 2.55
iManufacturer 2 ()
iProduct 3 ()
could not fetch string descriptor: Pipe error
iSerialNumber 4 ()
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 98
 bNumInterfaces 3
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 192 (Self-powered)
 MaxPower 500 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 224
   bInterfaceSubClass 1
   bInterfaceProtocol 3
could not fetch string descriptor: Pipe error
   iInterface 6 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 8
    bInterval 9 ms
    bRefresh 0
    bSynchAddress 0
  <interface 1>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 10
   bInterfaceSubClass 0
   bInterfaceProtocol 0
could not fetch string descriptor: Pipe error
   iInterface 7 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 (in 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x01 (out 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
  <interface 2>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 2
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 255
   bInterfaceSubClass 66
   bInterfaceProtocol 1
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 (in 0x03)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 (out 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0

<trying to find out which USB chip is used>
could not claim USB device interface
found USB scanner (vendor=0x0bb4, product=0x0004) at libusb:001:010

<device descriptor of 0x174c/0x5106 at 001:003 (StoreJet Transcend StoreJet Transcend)>
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x174C
idProduct 0x5106
bcdDevice 128.00
iManufacturer 2 (StoreJet Transcend)
iProduct 3 (StoreJet Transcend)
iSerialNumber 1 (S318J9EF600280 )
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 32
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 192 (Self-powered)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 (out 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1c4f/0x0002 at 001:037 (SIGMACH1P USB Keykoard)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1C4F
idProduct 0x0002
bcdDevice 1.10
iManufacturer 1 (SIGMACH1P)
iProduct 2 (USB Keykoard)
iSerialNumber 0 ()
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 59
 bNumInterfaces 2
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 160 (Remote Wakeup)
 MaxPower 98 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 3
   bInterfaceSubClass 1
   bInterfaceProtocol 1
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 8
    bInterval 10 ms
    bRefresh 0
    bSynchAddress 0
  <interface 1>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 1
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 3
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 (in 0x02)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 3
    bInterval 10 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x058f/0x6366 at 001:006 (Generic Mass Storage Device)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x058F
idProduct 0x6366
bcdDevice 1.00
iManufacturer 1 (Generic)
iProduct 2 (Mass Storage Device)
iSerialNumber 3 (058F0O1111B1)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 32
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 128 ()
 MaxPower 100 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 2
   bInterfaceClass 8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x01 (out 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 (in 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x04a9/0x190e at 001:038 (Canon CanoScan)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255
bDeviceSubClass 255
bDeviceProtocol 255
bMaxPacketSize0 64
idVendor 0x04A9
idProduct 0x190E
bcdDevice 7.04
iManufacturer 1 (Canon)
iProduct 2 (CanoScan)
iSerialNumber 0 ()
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 39
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 160 (Remote Wakeup)
 MaxPower 500 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 3
   bInterfaceClass 255
   bInterfaceSubClass 255
   bInterfaceProtocol 255
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 1>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 (out 0x02)
    bmAttributes 2 (bulk)
    wMaxPacketSize 512
    bInterval 0 ms
    bRefresh 0
    bSynchAddress 0
    <endpoint 2>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 (in 0x03)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 1
    bInterval 8 ms
    bRefresh 0
    bSynchAddress 0

<trying to find out which USB chip is used>
    checking for LM983[1,2,3] ...
    this is not a LM983x (bcdUSB = 0x200)
    checking for GT-6801 ...
    this is not a GT-6801 (bcdUSB = 0x200)
    checking for GT-6816 ...
    this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
    checking for GLxxx ...
    this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)
<This USB chip looks like a GL848+ (result from sane-backends 1.0.26git)>

found USB scanner (vendor=0x04a9 [Canon], product=0x190e [CanoScan], chip=GL848+) at libusb:001:038

<device descriptor of 0x058f/0x6254 at 001:002>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x058F
idProduct 0x6254
bcdDevice 1.00
iManufacturer 0 ()
iProduct 0 ()
iSerialNumber 0 ()
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 100 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 1
    bInterval 12 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0002 at 001:001 (Linux 4.4.0-22-generic ehci_hcd EHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0002
bcdDevice 4.04
iManufacturer 3 (Linux 4.4.0-22-generic ehci_hcd)
iProduct 2 (EHCI Host Controller)
iSerialNumber 1 (0000:00:1d.7)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 4
    bInterval 12 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 004:001 (Linux 4.4.0-22-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 4.04
iManufacturer 3 (Linux 4.4.0-22-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.2)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 003:001 (Linux 4.4.0-22-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 4.04
iManufacturer 3 (Linux 4.4.0-22-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.1)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0

<device descriptor of 0x1d6b/0x0001 at 002:001 (Linux 4.4.0-22-generic uhci_hcd UHCI Host Controller)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1D6B
idProduct 0x0001
bcdDevice 4.04
iManufacturer 3 (Linux 4.4.0-22-generic uhci_hcd)
iProduct 2 (UHCI Host Controller)
iSerialNumber 1 (0000:00:1d.0)
bNumConfigurations 1
 <configuration 0>
 bLength 9
 bDescriptorType 2
 wTotalLength 25
 bNumInterfaces 1
 bConfigurationValue 1
 iConfiguration 0 ()
 bmAttributes 224 (Self-poweredRemote Wakeup)
 MaxPower 0 mA
  <interface 0>
   <altsetting 0>
   bLength 9
   bDescriptorType 4
   bInterfaceNumber 0
   bAlternateSetting 0
   bNumEndpoints 1
   bInterfaceClass 9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
    <endpoint 0>
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 (in 0x01)
    bmAttributes 3 (interrupt)
    wMaxPacketSize 2
    bInterval 255 ms
    bRefresh 0
    bSynchAddress 0
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
done

and My CanoScan LiDE 120 scanner is working under sane 1.0.26 build.

Adrian (3-adrian-u) said : #78

Many thanks for that Pavel. So 1.0.26git can work with the GL848+ chip.

I also have 1.0.26git, compiled from source.

My scanner (actually a LiDE 220 but similar to the 120 in this respect) is treated in sane-backends a GL124, though our scanners have a GL848 chip. There are source modules for the GL124 and all other Genesys chips but not the 848. For it to work for you suggests that the GL124 is compatible (enough) with the GL848.

I think my problems is that my install is not being picked up. 1.0.26 is installed to /usr/lib/, and /usr/lib/i386-linux-gnu is loaded first, containing the default Ubuntu version 1.0.22.

I need advice on elementary library paths to know the correct way to fix this. All suggestions gratefully received.

Adrian (3-adrian-u) said : #79

Well, re-reading the page on compiling from source and fixing the configure command makes the scanner findable. The scanner now runs, but produces completely black images. This is a different problem I think from the original poster's and I'll search elsewhere for answers. (But if anyone here knows what's wrong I'll be glad to hear!)

Adrian (3-adrian-u) said : #80

...and the answer to that was that I was plugged into a USB hub that wasn't giving enough power to power the light. So my posts were a red herring.

The one thing that might help people here is to point out that scanimage can be the right version, but can load an old sane backend. 'sudo scanimage -V' was returning
   scanimage (sane-backends) 1.0.26git; backend version 1.0.22
because my install from source was configured to write the library shared objects to the wrong place and not where the old ones were.

I'll suggest that if, as it appears, the GL848 is backward-compatible with the GL124, the Sane supported devices documentation lists the new chip alongside the GL124 for the LiDE 120 and 220.

srikumar (ssrikumar) said : #81

My Canon Lide 120 scanner is still not working.
Perhaps the new back-end has not yet been made available for downloading.
Will have to wait until then.

Adrian (3-adrian-u) said : #82

Did you try
  scanimage -V
or
  sudo scanimage -V
This should return
  scanimage (sane-backends) 1.0.26git; backend version 1.0.26
If the backend version is not 1.0.26 then the installed library is not first in your path.
If so recompile - see https://help.ubuntu.com/community/CompileSaneFromSource
with the path in config pointing to where the existing
.so files are, e.g. in /usr/lib/i386-linux-gnu/sane/libsane-genesys.so.1.0.22
in my case (Ubuntu 12.04)
i.e. everything before '/sane', giving
  --libdir=/usr/lib/i386-linux-gnu
After installing, you should see new *.so.1.0.26 files in /usr/lib/i386-linux-gnu/sane/

Now run
  sudo scanimage -L
You should get
  device `genesys:libusb:NNN:NNN' is a Canon LiDE N20 flatbed scanner
N's obviously where digits can vary.

sudo is needed because there's a permissions issue. A fix is documented in
the link above.

This may not be relevant to your problem, and you may think I'm stating the obvious. But I
didn't see you typing scanimage in the forms above.

srikumar (ssrikumar) said : #83

Thank you, Adrian. Trying your suggestions:-

srikumar@srikumar-desktop:~$ scanimage -V
scanimage (sane-backends) 1.0.26git; backend version 1.0.26
srikumar@srikumar-desktop:~$

srikumar@srikumar-desktop:~$ sudo scanimage -V
[sudo] password for srikumar:
scanimage (sane-backends) 1.0.26git; backend version 1.0.26
srikumar@srikumar-desktop:~$

srikumar@srikumar-desktop:~$ sudo scanimage -L
device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
srikumar@srikumar-desktop:~$

It all seems OK but the scanner does not work.
There is a whirring noise on the scanner and the computer screen indicates a continuous process. Have to force quit the program to make it stop.
The program is Simple Scan.

Any suggestions. Thank you.

Adrian (3-adrian-u) said : #84

OK, well having done the things you did, I can enter
  sudo scanimage -x 100 -y 100 --format=jpeg >img.jpg
to get a small sample image.

One possibility: like me, you tried it on a USB port that does not provide enough power. But in my case, it didn't light up, there was still enough power to run the stepper motor.

If that's not the problem I'd start to suspect a mechanical fault. Obvious question. The transport lock on the underside is definitely slid to open, yes? Is the scanner element at the front end of the machine, or half-way along the glass?

I don't think you said that you'd tried it under Windows. If not, you need to find a Windows machine and install the driver and tools from the CD that came with the scanner. If it works that should rule out anything like a jammed gear at the stepper motor.

srikumar (ssrikumar) said : #85

Dear Adrian

srikumar@srikumar-desktop:~$ sudo scanimage -x 100 -y 100 --format=jpeg >img.jpg[sudo] password for srikumar:
scanimage: no SANE devices found
srikumar@srikumar-desktop:~$

a file called "img.jpg " is saved in the documents folder.
This is just a blank file, with has nothing in it. It is opened by gedit and image viewer will not open it

running the earlier terminal commands:-

srikumar@srikumar-desktop:~$ sudo scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
srikumar@srikumar-desktop:~$

srikumar@srikumar-desktop:~$ sudo scanimage -V
scanimage (sane-backends) 1.0.26git; backend version 1.0.26
srikumar@srikumar-desktop:~$

Further:-
on running simple scan, the following message appears automatically:-
Additional software needed.
You need to install driver software for your scanner.

on pressing "install drivers" the following window appears:-
You appear to have an HP scanner
installing drivers > failed to install drivers
Once installed you will need to restart Simple Scan

The transport lock sliding switch at the back is set to open
and the scanner element is at the front of the screen

any suggestions?
Thank you.

srikumar (ssrikumar) said : #86

must be a loose connection., now the scanner is detected.
Please disregard the post No: #85

srikumar@srikumar-desktop:~$ sudo scanimage -L
[sudo] password for srikumar:
device `genesys:libusb:001:010' is a Canon LiDE 120 flatbed scanner
srikumar@srikumar-desktop:~$

srikumar@srikumar-desktop:~$ sudo scanimage -V
scanimage (sane-backends) 1.0.26git; backend version 1.0.26
srikumar@srikumar-desktop:~$

srikumar@srikumar-desktop:~$ sudo scanimage -x 100 -y 100 --format=jpeg >img.jpg
Floating point exception (core dumped)
srikumar@srikumar-desktop:~$

The file img.jpg is saved in the documents folder. It is an empty file.

Any suggestions, thank you.

srikumar (ssrikumar) said : #87

wow !!!
It scanned a whole page but the scanned image on the computer screen was fully black.
The scanner element is now at the top of the scanner screen and it will not move even when the unit is disconnected.
The Simple Scan program is jammed and had to Force Quit the program.

Any suggestions?
Thank you.

Adrian (3-adrian-u) said : #88

Oh dear, one step forward, two steps back. I thought that once the scanner was detected there would be no more problems. I don't know why you got a floating point exception or why the scanner is at the top of the scanner screen. I'd be surprised if the 1.0.26 backend which works with the 220 with the 848 chip doesn't work with the 120 with the same chip. I hope someone here will have useful ideas.

I did read that you should be ready to unplug a scanner if the element looks likely to try to go past the end, but that was just for people debugging new drivers. All I can suggest now is that you get hold of a Windows machine (laptop will do so long as the USB port can suppy 500mA), install Canon's driver (e.g. from the CD that came with the scanner), and see if it works with that. That would rule out a faulty scanner.

srikumar (ssrikumar) said : #89

srikumar@srikumar-desktop:~$ scanimage -L
device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
srikumar@srikumar-desktop:~$ sudo scanimage -L
[sudo] password for srikumar:
device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
srikumar@srikumar-desktop:~$

Adrian (3-adrian-u) said : #90

On another list the question of a black scan just came up. In that case,
and I've seen this myself, the scanner was plugged into a USB socket
(e.g. an unpowered hub) without enough power to turn on the LEDs but
just enough to run the stepper motor and electronics. Of course in
those cases there wasn't a floating point exception. Plugging directly
into a PC worked. Worth a try.

On 6/20/2016, "srikumar" <email address hidden> wrote:

>Question #262320 on Ubuntu changed:
>https://answers.launchpad.net/ubuntu/+question/262320
>
>srikumar gave more information on the question:
>srikumar@srikumar-desktop:~$ scanimage -L
>device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
>srikumar@srikumar-desktop:~$ sudo scanimage -L
>[sudo] password for srikumar:
>device `genesys:libusb:001:005' is a Canon LiDE 120 flatbed scanner
>srikumar@srikumar-desktop:~$
>
>--
>You received this question notification because you are subscribed to
>the question.
>
>

srikumar (ssrikumar) said : #91

The scanner works somewhat.
But the output is a black page.

Adrian (3-adrian-u) said : #92

Are you absolutely sure that the USB port is giving enough power? Are you using the original USB cable? Can you try it with another cable?

Other reports of black scans (including my experience) were due to lack of USB port power. If it's not that I don't know what it could be - I wouldn't rule out a device fault. Can you try it on a Windows PC using the supplied installation CD?

srikumar (ssrikumar) said : #93

Thank you for the response.

I have removed the original long cable (3 feet) and am using a short (1 foot) cable.

It works well in Windows XP. Since a double boot is being used, every time a scan is required I boot into Win XP to do it.
The Sane Developers site indicates that a backend is still in development. Will have to wait.

Thank you.

srikumar (ssrikumar) said : #94

The SANE project indicates that the development for the Canon Lide 120 scanner is "complete"
How to install the latest backend for this scanner.

At present the scanner is detected and it scans BUT the out is a black page.

any suggestions. Thank you.

Adrian (3-adrian-u) said : #95

If you can use the same USB port successfully under Windows XP then it ought to be giving enough power. The only cases of black images I've heard of have been due to underpowered USB ports, when the stepper motor works but the LED array doesn't light up. Does the LED array light up under XP but not under Linux? If it also lights under Linux, sorry, I don't know what it could be.

If it doesn't light using Linux, if you have access to a powered USB hub (one you also plug a charger-type adaptor into) you could try that just in case it's a power issue that somehow only happens under Linux. I don't know if that scenario can happen, but maybe worth a try.

srikumar (ssrikumar) said : #96

Thank you Adrian.

The Scanner works physically OK. The LED scanner light comes on and the scanning unit moves along the page. The result however is a black page.

Perhaps the SANE software need to be updated.

$ sudo scanimage -V
[sudo] password for ssrikumar:
scanimage (sane-backends) 1.0.25git; backend version 1.0.25

any suggestions. Thank you.

Can you help with this problem?

Provide an answer of your own, or ask srikumar for more information if necessary.

To post a message you must log in.