plustek: help using a Canonscan LiDE 20


Previous by date: 7 Feb 2003 17:39:55 -0000 Re: Epson 1250 with scanimage, Anthony J DeStefano
Next by date: 7 Feb 2003 17:39:55 -0000 I Saw A (scanning) Light After Kernel Install - cooker, Stefan
Previous in thread: 7 Feb 2003 17:39:55 -0000 Re: help using a Canonscan LiDE 20, Gerhard Jaeger
Next in thread: 7 Feb 2003 17:39:55 -0000 Re: help using a Canonscan LiDE 20, Gerhard Jaeger

Subject: Re: help using a Canonscan LiDE 20
From: Bret Comstock Waldow ####@####.####
Date: 7 Feb 2003 17:39:55 -0000
Message-Id: <1044639010.1134.15.camel@ganesha>

Thanks for your help. 

I searched on the web for Canonscan LiDE 20, and read the pages I
found.  None of them mentioned dll.conf.  Should I be reading something
else as well? 

On Fri, 2003-02-07 at 02:34, Gerhard Jaeger wrote: 
> Hi,
> 
> what's the output of sane-findscanner?
  # 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=0x220d) at libusb:001:002
  # A USB device was detected. This program can't be sure if it's really
  # a scanner. If it is your scanner, 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.


> Is Plustek enabled in /etc/sane.d/dll.conf?
dll.conf:
# enable the next line if you want to allow access through the network:
net
abaton
agfafocus
apple
avision
artec
as6e
bh
canon
canon630u
#canon_pp
coolscan
coolscan2
#dc25
#dc210
#dc240
dmc
epson
fujitsu
hp
leo
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
nec
pie
pint
plustek
#pnm
qcam
ricoh
s9036
sceptre
sharp
sm3600
snapscan
sp15c
#st400
tamarack
teco1
umax
#umax_pp
umax1220u
v4l

> Try the following plustek.conf:
> [usb]
> device auto
Same result as sane-find-scanner above and below (once I turned debugging on)

> Enable the backend debug output and send it to us:
> SANE_DEBUG_PLUSTEK=12 ; scanimage -L
[sanei_debug] Setting debug level of plustek to 12.
[plustek] Plustek backend V0.45-4, part of sane-backends 1.0.10
[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/usbscanner<
[plustek] ># or<
[plustek] ># device libusb:bbb:ddd<
[plustek] ># where bbb is the busnumber and ddd the device number<
[plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
[plustek] >#<
[plustek] ># additionally you can specify some options<
[plustek] ># warmup, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] ># [usb]<
[plustek] ># device /dev/usbscanner<
[plustek] >#<
[plustek] ># or simply<
[plustek] ># [usb]<
[plustek] >#<
[plustek] ># or if you want a specific device but you have no idea about<
[plustek] ># the device node or you use libusb, simply set vendor- and product-ID<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device auto<
[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]<
[plustek] attach (/dev/pt_drv, 0xbfffd3e0, (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] skipFine     : 0
[plustek] skipFineWhite: 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 (autodetection)
[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 300<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ># warmup period in seconds, 0 means no warmup<
[plustek] >option warmup 15<
[plustek] Decoding option >warmup<
[plustek] ><
[plustek] ># 0 means leave lamp-status untouched, not 0 means switch off<
[plustek] ># on sane_close<
[plustek] >option lOffOnEnd 1<
[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 whole calibration step<
[plustek] >option skipCalibration 0<
[plustek] Decoding option >skipCalibration<
[plustek] ><
[plustek] ># for skipping entire fine calibration step<
[plustek] ># coarse calibration is done<
[plustek] >option skipFine 0<
[plustek] Decoding option >skipFine<
[plustek] ><
[plustek] ># discard the result of the fine white calibration<
[plustek] >option skipFineWhite 0<
[plustek] Decoding option >skipFineWhite<
[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] >#<
[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/usbscanner<
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb] or [parport]<
[plustek] >#<
[plustek] attach (auto, 0xbfffd3e0, (nil))
[plustek] Device configuration:
[plustek] device name  : >auto<
[plustek] porttype     : 1
[plustek] USB-ID       : ><
[plustek] warmup       : 15s
[plustek] lampOff      : 300
[plustek] lampOffOnEnd : 1
[plustek] skipCalibr.  : 0
[plustek] skipFine     : 0
[plustek] skipFineWhite: 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(auto,)
[plustek] Autodetection...
[plustek] Found device at >libusb:001:002<
[plustek] open failed: -1
[plustek] sane_get_devices (0xbffff4f8, 0)
[plustek] sane_exit
device `v4l:/dev/video0' is a Noname BT848( *** UNKNOWN/GENERIC **) virtual device

Note: The system I'm working with has a BT848 video camera installed (you probably guessed that).

Bret

> 
> Cheers
>   Gerhard
> 
> 
> On Donnerstag, 6. Februar 2003 05:05, Bret Comstock Waldow wrote:
> > Hi,
> >
> > I downloaded, made, and installed sane 1.0.10.  I made the configuration
> > changes (below) in /etc/sane.d/plustek.conf.
> >
> > I even rebooted.
> >
> > xsane says there's no scanner. cat /proc/bus/usb/devices says there is
> > (as below).
> >
> > What now?
> >
> > Thanks in advance,
> > Bret
> >
> > On Tue, 2003-02-04 at 07:56, Gerhard Jaeger wrote:
> > > Hi,
> > >
> > > On Montag, 3. Februar 2003 22:07, Bret Comstock Waldow wrote:
> > > [SNIPSNAP]
> > >
> > > > I've made the module and installed it from
> > > > plustek-module-0_42_9.tar.gz.  There were no errors reported and the
> > > > build completed as did "make install".
> > >
> > > see Eriks' mail! Only needed for the parallelport devices!!!
> > >
> > > > Here are some things I think would be relevant from what I've read:
> > > > [root@ganesha temp]# cat /etc/modules.conf
> > > >
> > > > # for Canonscan LiDE 20
> > > > options scanner vendor=0x04a9 product=0x220d
> > >
> > > looks okay!
> > >
> > > > [root@ganesha plustek_driver]# rpm --query sane-backends
> > > > sane-backends-1.0.8-5
> > > > [root@ganesha plustek_driver]# rpm --query sane-frontends
> > > > sane-frontends-1.0.8-4
> > >
> > > Here's the problem, you'll need SANE-1.0.10!!!!
> > >
> > > Cheers
> > >   Gerhard
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: ####@####.####
> > > For additional commands, e-mail: ####@####.####
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 


Previous by date: 7 Feb 2003 17:39:55 -0000 Re: Epson 1250 with scanimage, Anthony J DeStefano
Next by date: 7 Feb 2003 17:39:55 -0000 I Saw A (scanning) Light After Kernel Install - cooker, Stefan
Previous in thread: 7 Feb 2003 17:39:55 -0000 Re: help using a Canonscan LiDE 20, Gerhard Jaeger
Next in thread: 7 Feb 2003 17:39:55 -0000 Re: help using a Canonscan LiDE 20, Gerhard Jaeger


Powered by ezmlm-browse 0.20.