[sane-devel] xane 0.91 and cnonscan n1220u
Courtney
csamps20 at scu.edu.au
Tue Dec 2 11:14:43 GMT 2003
hI THERE
I have a canon cnoscan n1220u and it is being seen by scanimage -L and
xsane is not saying no devices available...
I have the latst version of sane installed here is the debug from sane
[courtz at localhost sane.d]$ SANE_DEBUG_PLUSTEK=128 xsane
[sanei_debug] Setting debug level of plustek to 128.
[plustek] Plustek backend V0.44-10, part of sane-backends 1.0.9
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with Plustek parallel-port scanners and<
[plustek] ># LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ># For parport devices use the parport section<
[plustek] >#<
[plustek] >[parport]<
[plustek] next device is a PARPORT device
[plustek] >device /dev/pt_drv<
[plustek] Decoding device name >/dev/pt_drv<
[plustek] ><
[plustek] >#<
[plustek] ># leave the default values as specified in /etc/modules.conf<
[plustek] >#<
[plustek] >option warmup -1<
[plustek] Decoding option >warmup<
[plustek] >option lOffOnEnd -1<
[plustek] Decoding option >lOffOnEnd<
[plustek] >option lampOff -1<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ><
[plustek] >#<
[plustek] ># The USB section:<
[plustek] ># each device needs at least two lines:<
[plustek] ># - [usb] vendor-ID and product-ID<
[plustek] ># - device devicename<
[plustek] ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device /dev/usb/scanner0<
[plustek] >#<
[plustek] ># additionally you can specify some options<
[plustek] ># warmup, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] ># [usb]<
[plustek] ># device /dev/usb/scanner0<
[plustek] >#<
[plustek] ># NOTE: autodetection is safe, as it uses the info it got<
[plustek] ># from the USB subsystem. If you're not using the<
[plustek] ># autodetection, you MUST have attached that device<
[plustek] ># at your USB-port, that you have specified...<
[plustek] >#<
[plustek] ><
[plustek] >[usb] 0x04a9 0x2207<
[plustek] attach (/dev/pt_drv, 0xbfffac90, (nil))
[plustek] Device configuration:
[plustek] device name : >/dev/pt_drv<
[plustek] porttype : 0
[plustek] USB-ID : ><
[plustek] warmup : -1s
[plustek] lampOff : -1
[plustek] lampOffOnEnd : -1
[plustek] skipCalibr. : 0
[plustek] invertNegs. : 0
[plustek] pos_x : 0
[plustek] pos_y : 0
[plustek] pos_shading_y: -1
[plustek] neg_x : 0
[plustek] neg_y : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x : 0
[plustek] tpa_y : 0
[plustek] tpa_shading_y: -1
[plustek] red gain : -1
[plustek] green gain : -1
[plustek] blue gain : -1
[plustek] red Gamma : 1.00
[plustek] green Gamma : 1.00
[plustek] blue Gamma : 1.00
[plustek] gray Gamma : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] open: can't open /dev/pt_drv as a device
[plustek] open failed: -1
[plustek] next device is a USB device (0x04A9-0x2207)
[plustek] next device is an USB device
[plustek] ><
[plustek] >#<
[plustek] ># options for the previous USB entry<
[plustek] >#<
[plustek] ># switch lamp off after xxx secs, 0 disables the feature<
[plustek] >option lampOff 0<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ># warmup period in seconds, 0 means no warmup<
[plustek] >option warmup 30<
[plustek] Decoding option >warmup<
[plustek] ><
[plustek] ># 0 means leave lamp-status untouched, not 0 means switch
off<
[plustek] ># on sane_close<
[plustek] >option lOffOnEnd 0<
[plustek] Decoding option >lOffOnEnd<
[plustek] ><
[plustek] >#<
[plustek] ># options to tweak the image start-position<
[plustek] ># (WARNING: there's no internal range check!!!)<
[plustek] >#<
[plustek] ># for the normal scan area<
[plustek] >#<
[plustek] >option posOffX 0<
[plustek] Decoding option >posOffX<
[plustek] >option posOffY 0<
[plustek] Decoding option >posOffY<
[plustek] ><
[plustek] ># for transparencies<
[plustek] >option tpaOffX 0<
[plustek] Decoding option >tpaOffX<
[plustek] >option tpaOffY 0<
[plustek] Decoding option >tpaOffY<
[plustek] ><
[plustek] ># for negatives<
[plustek] >option negOffX 0<
[plustek] Decoding option >negOffX<
[plustek] >option negOffY 0<
[plustek] Decoding option >negOffY<
[plustek] ><
[plustek] >#<
[plustek] ># for setting the calibration strip position<
[plustek] ># (WARNING: there's no internal range check!!!)<
[plustek] ># -1 means use built in<
[plustek] >#<
[plustek] >option posShadingY -1<
[plustek] Decoding option >posShadingY<
[plustek] >option tpaShadingY -1<
[plustek] Decoding option >tpaShadingY<
[plustek] >option negShadingY -1<
[plustek] Decoding option >negShadingY<
[plustek] ><
[plustek] >#<
[plustek] ># to invert the negatives, 0 disables the feature<
[plustek] >#<
[plustek] >option invertNegatives 0<
[plustek] Decoding option >invertNegatives<
[plustek] ><
[plustek] ># for skipping calibration step<
[plustek] >option skipCalibration 0<
[plustek] Decoding option >skipCalibration<
[plustek] ><
[plustek] ># for replacing the gain values found during<
[plustek] ># calibration<
[plustek] >option red_gain -1<
[plustek] Decoding option >red_gain<
[plustek] >option green_gain -1<
[plustek] Decoding option >green_gain<
[plustek] >option blue_gain -1<
[plustek] Decoding option >blue_gain<
[plustek] ><
[plustek] >#<
[plustek] ># for adjusting the default gamma values<
[plustek] ># use values of 2.5 for CanoScan<
[plustek] >#<
[plustek] >option redGamma 1.0<
[plustek] Decoding option >redGamma<
[plustek] >option greenGamma 1.0<
[plustek] Decoding option >greenGamma<
[plustek] >option blueGamma 1.0<
[plustek] Decoding option >blueGamma<
[plustek] >option grayGamma 1.0<
[plustek] Decoding option >grayGamma<
[plustek] ><
[plustek] >#<
[plustek] ># to enable TPA (non Plustek devices only)<
[plustek] ># 0 means default behaviour as specified in the internal
tables<
[plustek] ># 1 means enable<
[plustek] >#<
[plustek] >option enableTPA 0<
[plustek] Decoding option >enableTPA<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] >device /dev/usb/scanner0<
[plustek] Decoding device name >/dev/usb/scanner0<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb] or [parport]<
[plustek] >#<
[plustek] attach (/dev/usb/scanner0, 0xbfffac90, (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] skipCalibr. : 0
[plustek] invertNegs. : 0
[plustek] pos_x : 0
[plustek] pos_y : 0
[plustek] pos_shading_y: -1
[plustek] neg_x : 0
[plustek] neg_y : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x : 0
[plustek] tpa_y : 0
[plustek] tpa_shading_y: -1
[plustek] red gain : -1
[plustek] green gain : -1
[plustek] blue gain : -1
[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 (0xbfffcd88, 0)
[plustek] sane_exit
the product is seen ie
[courtz at localhost sane.d]$ sane-find-scanner
# No SCSI scanners found. If you expected something different, make
sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04a9, product=0x2207) at /dev/usb/scanner
found USB scanner (vendor=0x04a9, product=0x2207) at /dev/usb/scanner0
found USB scanner (vendor=0x04a9, product=0x2207, chip=LM983x?) at
libusb:001:002
# Your USB scanner was (probably) detected. It may or may not be
supported by
# SANE. Try scanimage -L and read the backend's manpage.
# 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.
[courtz at localhost sane.d]$
and
[courtz at localhost sane.d]$ scanimage -L
device `plustek:/dev/usb/scanner0' is a Canon N1220U USB flatbed scanner
[courtz at localhost sane.d]$
PLease help
Thanks in advance courtney.
More information about the sane-devel
mailing list