[sane-devel] Canoscan N1220U + RH 8.0 problem

vraptor@employees.org vraptor@employees.org
Wed, 5 Feb 2003 03:02:04 -0800 (PST)


I am having trouble getting my Canoscan N1220U scanner working
with a stock RH 8.0 install.

Here's the installed versions (from rpms):

xsane-0.84-8
sane-backends-1.0.8-5
sane-frontends-1.0.8-4
xsane-gimp-0.84-8
sane-backends-devel-1.0.8-5

Scanner is showing up when plugged in:

Feb  5 02:43:30 linux-test /etc/hotplug/usb.agent: Setup scanner for USB product 4a9/2207/100

And, sane-find-scanner reports it:
sane-find-scanner: found USB scanner (vendor = 0x04a9, product = 0x2207) at device /dev/usb/scanner0

I have modified my /etc/sane.d/dll.conf to only include the plustek
reference. I have changed my /etc/sane.d/plustek.conf to include:

[usb] 0x4a9 0x2207
device /dev/usb/scanner0

And I added the following to my /etc/modules.conf (saw this suggested
in archives for similar problem for a different scanner):

options scanner vendor=0x4a9 product=0x2207

However, xsane refuses to recognize the scanner with "no devices
available" error dialog.  As found in other trouble-shooting
threads, I ran scanimage with debugging:

--
[nmiller@linux-test nmiller]$ SANE_DEBUG_PLUSTEK=255 scanimage -L
[sanei_debug] Setting debug level of plustek to 255.
[plustek] sane_init: sane-backends 1.0.8
[plustek] sane_init, >[usb] 0x4a9 0x2207<
[plustek] next device is a USB device (0x04A9-0x2207)
[plustek] next device is an USB device
[plustek] sane_init, >device /dev/usb/scanner0<
[plustek] Decoding device name >/dev/usb/scanner0<
[plustek] sane_init, >option lampOff 0<
[plustek] Decoding option >lampOff<
[plustek] sane_init, >option warmup 30<
[plustek] Decoding option >warmup<
[plustek] sane_init, >option lOffOnEnd 0<
[plustek] Decoding option >lOffOnEnd<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># for adjusting the default gamma values<
[plustek] sane_init, >#<
[plustek] sane_init, >option redGamma         1.0<
[plustek] Decoding option >redGamma<
[plustek] sane_init, >option greenGamma       1.0<
[plustek] Decoding option >greenGamma<
[plustek] sane_init, >option blueGamma        1.0<
[plustek] Decoding option >blueGamma<
[plustek] sane_init, >option grayGamma        1.0<
[plustek] Decoding option >grayGamma<
[plustek] sane_init, ><
[plustek] attach (/dev/usb/scanner0, 0xbfffbd70, (nil))
[plustek] Device configuration:
[plustek] device name  : >/dev/usb/scanner0<
[plustek] porttype     : 1
[plustek] USB-ID       : >0x04A9-0x2207<
[plustek] warmup       : 30s
[plustek] lampOff      : 0
[plustek] lampOffOnEnd : 0
[plustek] pos_x        : 0
[plustek] pos_y        : 0
[plustek] neg_x        : 0
[plustek] neg_y        : 0
[plustek] tpa_x        : 0
[plustek] tpa_y        : 0
[plustek] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] usbDev_open(/dev/usb/scanner0,0x04A9-0x2207)
[plustek] Vendor ID=0x04A9, Product ID=0x2207
[plustek] Device >0x04A9-0x2207<, is not supported!
[plustek] open failed: -1
[plustek] sane_get_devices (0xbfffde48, 0)

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).
[plustek] sane_exit
--

Obviously, the most significant point there seems to be "[plustek]
Device >0x04A9-0x2207<, is not supported!"  I double-checked, and
scanner.h in the local kernel source has this listed...

Perms on the device are:
crw-------    1 nmiller  root     180,  48 Aug 30 16:31 /dev/usb/scanner0

No link for /dev/scanner.

Thanks for any suggestions.  I'm open to removing rpm's and compiling
from source, but would appreciate comments on what's missing and how
installing from scratch would fix it.

Regards--
=Nadine=