[sane-devel] New Epson Scanners

Till Kamppeter till.kamppeter@gmx.net
Thu, 03 Oct 2002 19:36:20 +0200


This is a multi-part message in MIME format.
--------------080600000004080602050907
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Sorry, for the delay, our release and the www.linux-kongress.de needed 
to much time. But now I tested the Epson Perfection 1260. In terms of 
the rating of linuxprinting.org 
(http://www.linuxprinting.org/database.html) I would say it works 
"Mostly". Scanning of normal paper documents works, but the transparency 
light is not recognized.

I have connected the transparency light to the scanner, plugged the 
power and USB in, and then I loaded the USB scanner module with

    modprobe scanner vendor=0x04b8 product=0x011d

edited /etc/sane.d/dll.conf to only contain one line "plustek". In the 
/etc/sane.d/plustek.conf I added vendor and product ID to the "[usb]" 
line, set "enableTPA 1" and left all the rest at its default velues.

Both "xscanimage" and "xsane" do not show a button to switch to the 
transparencty unit. Also not under "Advanced options". Kooka has a 
button for that, but at the button there is a warning that the choices 
do not necessarily all work and when I choose transparency there, the 
scanner stillscans with the internal light for normal paper.

I use SANE 1.0.9pre1 (source from SANE home page, both frontends and 
backends) on a Mandrake 9.0 machine. I have attached the debug output 
(level 12, the maximum as described on 
http://www.gjaeger.de/scanner/usb/Plustek-USB.txt) of "scanimage -L".\

    Till


G. Jaeger wrote:
> So go to the download page at
> http://www.gjaeger.de/scanner/plustek.html
> and fetch the latest 0.43-7 tar-ball and replace all the backend-stuff
> from the 1.0.8 with the ones from the tarball. Then replace the
> tar-balls plustek-devs.c by the one I've sent you...
> The other way is to use the latest CVS-Sane stuff...
> 
> Hope this helps so far
>   Gerhard
> 
> 

--------------080600000004080602050907
Content-Type: text/plain;
 name="debug.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="debug.out"

[sanei_debug] Setting debug level of dll to 12.
[dll] sane_init: SANE dll backend version 1.0.6 from sane-backends-1.0.9-pre1
[dll] add_backend: adding backend `plustek'
[dll] load: searching backend `plustek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek.so.1'
[dll] init: initializing backend `plustek'
[sanei_debug] Setting debug level of plustek to 12.
[plustek] sane_init: sane-backends 1.0.9-pre1
[plustek] sane_init, ># Plustek-SANE Backend configuration file<
[plustek] sane_init, ># For use with Plustek parallel-port scanners and<
[plustek] sane_init, ># LM9831/2/3 based USB scanners<
[plustek] sane_init, >#<
[plustek] sane_init, ># For parport devices use the parport section<
[plustek] sane_init, >#<
[plustek] sane_init, >[parport]<
[plustek] next device is a PARPORT device
[plustek] sane_init, >#device /dev/pt_drv<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># leave the default values as specified in /etc/modules.conf<
[plustek] sane_init, >#<
[plustek] sane_init, >#option warmup    -1<
[plustek] sane_init, >#option lOffOnEnd -1<
[plustek] sane_init, >#option lampOff   -1<
[plustek] sane_init, ><
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># The USB section:<
[plustek] sane_init, ># each device needs at least two lines:<
[plustek] sane_init, ># - [usb] vendor-ID and product-ID<
[plustek] sane_init, ># - device devicename<
[plustek] sane_init, ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)<
[plustek] sane_init, ># [usb] 0x07B3 0x0017<
[plustek] sane_init, ># device /dev/usbscanner<
[plustek] sane_init, >#<
[plustek] sane_init, ># additionally you can specify some options<
[plustek] sane_init, ># warmup, lOffOnEnd, lampOff<
[plustek] sane_init, >#<
[plustek] sane_init, ># For autodetection use<
[plustek] sane_init, ># [usb]<
[plustek] sane_init, ># device /dev/usb/scanner0<
[plustek] sane_init, >#<
[plustek] sane_init, ># NOTE: autodetection is safe, as it uses the info it got<
[plustek] sane_init, >#       from the USB subsystem. If you're not using the<
[plustek] sane_init, >#       autodetection, you MUST have attached that device<
[plustek] sane_init, >#       at your USB-port, that you have specified...<
[plustek] sane_init, >#<
[plustek] sane_init, ><
[plustek] sane_init, >[usb] 0x04B8 0x011D<
[plustek] next device is a USB device (0x04B8-0x011D)
[plustek] next device is an USB device
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># options for the previous USB entry<
[plustek] sane_init, >#<
[plustek] sane_init, ># switch lamp off after xxx secs, 0 disables the feature<
[plustek] sane_init, >option lampOff 0<
[plustek] Decoding option >lampOff<
[plustek] sane_init, ><
[plustek] sane_init, ># warmup period in seconds, 0 means no warmup<
[plustek] sane_init, >option warmup 30<
[plustek] Decoding option >warmup<
[plustek] sane_init, ><
[plustek] sane_init, ># 0 means leave lamp-status untouched, not 0 means switch off<
[plustek] sane_init, ># on sane_close<
[plustek] sane_init, >option lOffOnEnd 0<
[plustek] Decoding option >lOffOnEnd<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># options to tweak the image start-position<
[plustek] sane_init, ># (WARNING: there's no internal range check!!!)<
[plustek] sane_init, >#<
[plustek] sane_init, ># for the normal scan area<
[plustek] sane_init, >#<
[plustek] sane_init, >option posOffX 0<
[plustek] Decoding option >posOffX<
[plustek] sane_init, >option posOffY 0<
[plustek] Decoding option >posOffY<
[plustek] sane_init, ><
[plustek] sane_init, ># for transparencies<
[plustek] sane_init, >option tpaOffX 0<
[plustek] Decoding option >tpaOffX<
[plustek] sane_init, >option tpaOffY 0<
[plustek] Decoding option >tpaOffY<
[plustek] sane_init, ><
[plustek] sane_init, ># for negatives<
[plustek] sane_init, >option negOffX 0<
[plustek] Decoding option >negOffX<
[plustek] sane_init, >option negOffY 0<
[plustek] Decoding option >negOffY<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># for adjusting the default gamma values<
[plustek] sane_init, ># use values of 2.5 for CanoScan<
[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] sane_init, >#<
[plustek] sane_init, ># to enable TPA (non Plustek devices only)<
[plustek] sane_init, ># 0 means default behaviour as specified in the internal tables<
[plustek] sane_init, ># 1 means enable<
[plustek] sane_init, >#<
[plustek] sane_init, >enableTPA 1<
[plustek] ignoring >enableTPA 1<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># and of course the device-name<
[plustek] sane_init, >#<
[plustek] sane_init, >device /dev/usb/scanner0<
[plustek] Decoding device name >/dev/usb/scanner0<
[plustek] sane_init, ><
[plustek] sane_init, >#<
[plustek] sane_init, ># to define a new device, start with a new section:<
[plustek] sane_init, ># [usb] or [parport]<
[plustek] sane_init, >#<
[plustek] attach (/dev/usb/scanner0, 0xbfffd320, (nil))
[plustek] Device configuration:
[plustek] device name  : >/dev/usb/scanner0<
[plustek] porttype     : 1
[plustek] USB-ID       : >0x04B8-0x011D<
[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,0x04B8-0x011D)
[plustek] Vendor ID=0x04B8, Product ID=0x011D
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek] Device description for >0x04B8-0x011D< found.
[plustek] usb_initDev(32,0x04b8)
[plustek] Vendor adjusted to: >Epson<
[plustek] REG[0x5b] = 0x94 (msk=0x80)
[plustek] LAMP-STATUS: 0x00000001
[plustek] RESETTING REGISTERS
[plustek] usb_SetScanParameters()
[plustek] HDPI: 8.000
[plustek] DataPixelStart=69, LineEnd=69
[plustek] Full Steps to Skip at Start = 0x0000
[plustek] usb_GetMCLKDivider()
[plustek] Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] Current MCLK Divider = 4.000000
[plustek] PC-Rate mclkdiv=1.000000
[plustek] MOTOR-Settings: PWM=0x01, PWM_DUTY=0x30
[plustek] PL=295, coeffsize=216, scaler=1
[plustek] PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] usbDev_getLensInfo()
[plustek] wMAX=19200, WPHYMAX=2400
[plustek] Scanner information:
[plustek] Model  : Perfection 1260
[plustek] Asic   : 0x42
[plustek] Flags  : 0x00000206
[plustek] Version: 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan(mode=0)
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >Perfection 1260<
[dll] init: backend `plustek' is version 1.0.0
[plustek] sane_get_devices (0xbffff3f8, 0)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek's exit function
[plustek] sane_exit
[plustek] Shutdown called (dev->fd=-1, /dev/usb/scanner0)
[plustek] Waiting for scanner-ready...
[plustek] Lamp-Timer stopped
[dll] sane_exit: finished
device `plustek:/dev/usb/scanner0' is a Epson Perfection 1260 USB flatbed scanner

--------------080600000004080602050907--