[sane-devel] Fwd: Canon 9000F

Sergey Zolotaryov anydoby at gmail.com
Fri May 11 22:55:00 UTC 2012


I have noticed the lines:

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

in the output of ./configure. Maybe this is causing my problem? How do I
get the lusb0_usb.h?


---------- Forwarded message ----------
From: Sergey Zolotaryov <anydoby at gmail.com>
Date: 2012/5/11
Subject: Re: [sane-devel] Canon 9000F
To: "m. allan noah" <kitno455 at gmail.com>


Looks like the backend is loaded:

anydoby at anydoby-System-Product-Name:~/sane/sane-backends$
SANE_DEBUG_DLL=255 scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `canon_dr'
[dll] add_backend: adding backend `canon_pp'
[dll] add_backend: adding backend `pixma'
[dll] sane_get_devices
[dll] load: searching backend `pixma' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'
[dll] init: initializing backend `pixma'
[dll] init: backend `pixma' is version 1.0.16
[dll] load: searching backend `canon_pp' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon_pp.so.1'
[dll] load: dlopen()ing
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon_pp.so.1'
[dll] init: initializing backend `canon_pp'
[dll] load: searching backend `canon_dr' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon_dr.so.1'
[dll] load: dlopen()ing
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon_dr.so.1'
[dll] init: initializing backend `canon_dr'
[dll] init: backend `canon_dr' is version 1.0.37
[dll] load: searching backend `canon630u' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon630u.so.1'
[dll] load: dlopen()ing
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon630u.so.1'
[dll] init: initializing backend `canon630u'
[dll] init: backend `canon630u' is version 1.0.1
[dll] load: searching backend `canon' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-canon.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-canon.so.1'
[dll] init: initializing backend `canon'
[dll] init: backend `canon' is version 1.0.0
[dll] sane_get_devices: found 0 devices

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).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `pixma's exit function
[dll] sane_exit: calling backend `canon_dr's exit function
[dll] sane_exit: calling backend `canon630u's exit function
[dll] sane_exit: calling backend `canon's exit function
[dll] sane_exit: finished


I've also tried the sane-troubleshoot, did not find anything again :(


2012/5/11 m. allan noah <kitno455 at gmail.com>

> SANE_DEBUG_DLL=255 scanimage -L
>
> Look thru that output, and make sure it is loading the pixma backend.
>
> allan
>
> On Fri, May 11, 2012 at 5:12 PM, Sergey Zolotaryov <anydoby at gmail.com>
> wrote:
> > Same thing:
> >
> > root at anydoby:/home/anydoby/sane/sane-backends# sane-find-scanner
> >
> > # sane-find-scanner will now attempt to detect your scanner. If the
> > # result is different from what you expected, first make sure your
> > # scanner is powered up and properly connected to your computer.
> >
> > # No SCSI scanners found. If you expected something different, make sure
> > that
> > # you have loaded a kernel SCSI driver for your SCSI adapter.
> >
> > found USB scanner (vendor=0x04a9 [Canon], product=0x1908 [CanoScan]) at
> > libusb:002:009
> > found USB scanner (vendor=0x0df6 [Ralink], product=0x0040 [802.11 n
> WLAN])
> > at libusb:001:005
> > # 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.
> > root at anydoby:/home/anydoby/sane/sane-backends# scanimage -L
> >
> > device `v4l:/dev/video0' is a Noname VF0610 Live! Cam Socialize HD
> virtual
> > device
> > root at anydoby:/home/anydoby/sane/sane-backends#
> >
> > 2012/5/11 m. allan noah <kitno455 at gmail.com>
> >>
> >> try as root
> >>
> >> allan
> >>
> >> On Fri, May 11, 2012 at 4:04 PM, Sergey Zolotaryov <anydoby at gmail.com>
> >> wrote:
> >> > Hi Alan,
> >> >
> >> > Again the same :(
> >> >
> >> > I configured and installed sane using your commands.
> >> >
> >> > Now I get the following:
> >> > anydoby at anydoby-System-Product-Name:~/sane/sane-backends$ sudo
> >> > sane-find-scanner
> >> >
> >> > # sane-find-scanner will now attempt to detect your scanner. If the
> >> > # result is different from what you expected, first make sure your
> >> > # scanner is powered up and properly connected to your computer.
> >> >
> >> > # No SCSI scanners found. If you expected something different, make
> sure
> >> > that
> >> > # you have loaded a kernel SCSI driver for your SCSI adapter.
> >> >
> >> > found USB scanner (vendor=0x04a9 [Canon], product=0x1908 [CanoScan])
> at
> >> > libusb:002:009
> >> > found USB scanner (vendor=0x0df6 [Ralink], product=0x0040 [802.11 n
> >> > WLAN])
> >> > at libusb:001:005
> >> >
> >> > # 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.
> >> >
> >> > My /etc/sane.d/pixma.conf contains this:
> >> >
> >> > # pixma.conf configuration for the sane pixma backend
> >> > #
> >> > # define URI's of scanners (one per line)
> >> > # This is only used for network scanners.
> >> > # normally scanners will be detected by sending a broadcast
> >> > # if this does not work under your OS, or if the scanners
> >> > # are on a different subnet, configure your scanners URI here
> >> > #
> >> > # method must be bjnp
> >> > # port number can normally be left out, port 8612 is used as default
> >> > # Example:
> >> > # bjnp://myscanner.my.domain:8612
> >> > # bjnp://printer-1.pheasant.org
> >> > #
> >> > usb 0x04a9 0x1908
> >> >
> >> > And:
> >> > anydoby at anydoby-System-Product-Name:~/sane/sane-backends$ sudo
> scanimage
> >> > -L
> >> >
> >> > device `v4l:/dev/video0' is a Noname VF0610 Live! Cam Socialize HD
> >> > virtual
> >> > device
> >> > anydoby at anydoby-System-Product-Name:~/sane/sane-backends$
> >> >
> >> > So again only my webcam is detected.
> >> >
> >> > 2012/5/11 m. allan noah <kitno455 at gmail.com>
> >> >>
> >> >> Generally you do not want to uninstall the systems sane, as this will
> >> >>
> >> >> uninstall all the front-end programs too. Instead, you want to
> compile
> >> >> sane such that it will overwrite the original version. something
> like:
> >> >>
> >> >> BACKENDS=pixma ./configure --prefix=/usr --sysconfdir=/etc
> >> >> make
> >> >> make install
> >> >>
> >> >> you will likely also have permissions problems, as the device
> >> >> permissions are managed by the OS, not by sane. So, try to test as
> >> >> root initially.
> >> >>
> >> >> allan
> >> >>
> >> >> On Fri, May 11, 2012 at 7:36 AM, Sergey Zolotaryov <
> anydoby at gmail.com>
> >> >> wrote:
> >> >> > Hi Kerstin,
> >> >> >
> >> >> > I think this may be the issue. I'll try to cleanup everything I've
> >> >> > installed
> >> >> > last night :) and then start clean. You know us noobs - we try part
> >> >> > of a
> >> >> > solution from one blog, then the other from the second blog and
> then
> >> >> > post
> >> >> > our problems to the third one. I'll write up what happens today in
> >> >> > the
> >> >> > evening.
> >> >> >
> >> >> > Again sorry to disturb you all, thank you for fast replies.
> >> >> >
> >> >> > 2012/5/11 Kerstin Hoef-Emden <aeb25 at uni-koeln.de>
> >> >> >>
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> did you uninstall the older sane version of the distribution
> before?
> >> >> >> This
> >> >> >> caused in my case problems.
> >> >> >>
> >> >> >> Best wishes,
> >> >> >>
> >> >> >> Kerstin
> >> >> >>
> >> >> >>
> >> >> >> On Fri, 11 May 2012, Sergey Zolotaryov wrote:
> >> >> >>
> >> >> >>> Good afternoon,
> >> >> >>>
> >> >> >>> Yesterday I started setting up my CanoScan 9000F. According to
> the
> >> >> >>> docs
> >> >> >>> sane supports this scaner since last year. I compiled the sources
> >> >> >>> for
> >> >> >>> sane-backend (with libusb) the sane-find-scaner output is the
> >> >> >>> following:
> >> >> >>>
> >> >> >>> anydoby at anydoby-System-Product-Name
> :~/sane/sane-backends/backend$
> >> >> >>> sane-find-scanner
> >> >> >>>
> >> >> >>> # sane-find-scanner will now attempt to detect your scanner. If
> the
> >> >> >>> # result is different from what you expected, first make sure
> your
> >> >> >>> # scanner is powered up and properly connected to your computer.
> >> >> >>>
> >> >> >>> # No SCSI scanners found. If you expected something different,
> make
> >> >> >>> sure
> >> >> >>> that
> >> >> >>> # you have loaded a kernel SCSI driver for your SCSI adapter.
> >> >> >>>
> >> >> >>> found USB scanner (vendor=0x04a9, product=0x1908) at
> libusb:002:012
> >> >> >>> found USB scanner (vendor=0x0df6, product=0x0040) at
> libusb:001:004
> >> >> >>> # 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.
> >> >> >>>
> >> >> >>> # You may want to run this program as root to find all devices.
> >> >> >>> Once
> >> >> >>> you
> >> >> >>> # found the scanner devices, be sure to adjust access permissions
> >> >> >>> as
> >> >> >>> # necessary.
> >> >> >>>
> >> >> >>>
> >> >> >>> I assume the  (vendor=0x04a9, product=0x1908) is my scanner, as
> for
> >> >> >>> the
> >> >> >>> second line, I suspect this is my webcam.
> >> >> >>>
> >> >> >>> The scanimage -L output is not good:
> >> >> >>>
> >> >> >>> anydoby at anydoby-System-Product-Name
> :~/sane/sane-backends/backend$
> >> >> >>> scanimage
> >> >> >>> -L
> >> >> >>> device `v4l:/dev/video0' is a Noname VF0610 Live! Cam Socialize
> HD
> >> >> >>> virtual
> >> >> >>> device
> >> >> >>>
> >> >> >>> I do not see the scaner. I have added an entry "usb 0x04a9
> 0x1908"
> >> >> >>> to
> >> >> >>> the
> >> >> >>> /etc/sane.d/pixma.conf as was recommended in some post on the
> >> >> >>> topic,
> >> >> >>> but
> >> >> >>> still nothing is detected. What can I do about it? I am sure that
> >> >> >>> the
> >> >> >>> scaner works, as under Windows it worked ok.
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >> --
> >> >> >>
> >> >> >> PD Dr. Kerstin Hoef-Emden                       Zülpicher Str. 47b
> >> >> >> Universität zu Köln                             50674 Köln
> >> >> >> Biozentrum Köln (Cologne Biocenter)             Germany
> >> >> >> Botanisches Institut
> >> >> >>
> >> >> >> http://www.uni-koeln.de/~aeb25/
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Best regards,
> >> >> > Sergey Zolotaryov
> >> >> >
> >> >> > --
> >> >> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> >> >> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> >> >> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >> >> >             to sane-devel-request at lists.alioth.debian.org
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> "The truth is an offense, but not a sin"
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Best regards,
> >> > Sergey Zolotaryov
> >>
> >>
> >>
> >> --
> >> "The truth is an offense, but not a sin"
> >
> >
> >
> >
> > --
> > Best regards,
> > Sergey Zolotaryov
>
>
>
> --
> "The truth is an offense, but not a sin"
>



-- 
Best regards,
Sergey Zolotaryov



-- 
Best regards,
Sergey Zolotaryov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120512/85949d36/attachment-0001.html>


More information about the sane-devel mailing list