spunti@Wohnheim:~> export SANE_DEBUG_PLUSTEK=20 ; scanimage > /dev/null
[sanei_debug] Setting debug level of plustek to 20.
[plustek] Plustek backend V0.47-11, part of sane-backends 1.0.14
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ><
[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 the<
[plustek] ># 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] next device uses autodetection
[plustek] ... next device
[plustek] ><
[plustek] ><
[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] >#<
[plustek] ># to save/restore coarse calibration data<
[plustek] >#<
[plustek] >option cacheCalData 0<
[plustek] Decoding option >cacheCalData<
[plustek] ><
[plustek] >#<
[plustek] ># use alternate calibration routines<
[plustek] >#<
[plustek] >option altCalibration 0<
[plustek] Decoding option >altCalibration<
[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] >usb 0x400 0x1000<
[plustek] ignoring >usb 0x400 0x1000<
[plustek] ># soll andere firmware von mustek1200 verwenden<
[plustek] ># option mov 1<
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb]<
[plustek] >#<
[plustek] ># [usb]<
[plustek] >#device auto<
[plustek] >#usb 0x400 0x1001<
[plustek] ># soll andere firmware von mustek1200 verwenden<
[plustek] >#option mov 1<
[plustek] attach (auto, 0xbfff3fa0, (nil))
[plustek] Device configuration:
[plustek] device name : >auto<
[plustek] USB-ID : ><
[plustek] model ovr. : 0
[plustek] warmup : 15s
[plustek] lampOff : 300
[plustek] lampOffOnEnd : yes
[plustek] cacheCalData : no
[plustek] altCalibrate : no
[plustek] skipCalibr. : no
[plustek] skipFine : no
[plustek] skipFineWhite: no
[plustek] invertNegs. : no
[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 lampoff : -1
[plustek] green lampoff: -1
[plustek] blue lampoff : -1
[plustek] red Gamma : 1.00
[plustek] green Gamma : 1.00
[plustek] blue Gamma : 1.00
[plustek] gray Gamma : 1.00
[plustek] ---------------------
[plustek] usbDev_open(auto,)
[plustek] Autodetection...
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0016
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0007
[plustek] Checking for 0x07b3-0x000f
[plustek] Checking for 0x07b3-0x000f
[plustek] Checking for 0x07b3-0x0005
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0012
[plustek] Checking for 0x0400-0x1000
[plustek] Found device at >libusb:001:002<
[plustek] Vendor ID=0x0400, Product ID=0x1000
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9831
[plustek] Detected vendor & product ID: 0x0400-0x1000
[plustek] BearPaw device: 0x0400-0x1000-0 (15)
[plustek] Device description for >0x0400-0x1000-0< found.
[plustek] usb_initDev(21,0x0400,-1)
[plustek] Device WAF: 0x00000000
[plustek] Vendor adjusted to: >Mustek<
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(-1)
[plustek] SETTING THE MISC I/Os
[plustek] MISC I/O after RESET: 0x44, 0x44, 0x4f
[plustek] Calibration file-name set to:
[plustek] >/home/ronny/.sane/Mustek-BearPaw_1200.cal<
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 4.000
[plustek] * XDPI=150, HDPI=4.000
[plustek] * YDPI=150, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=140
[plustek] >> End-Start=0, HDPI=4.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 166 (0x00a6)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 337, 0x46=0x01 0x47=0x51
[plustek] * DPD =132 (0x0084)
[plustek] * DPD =5249 (0x1481), step size=337, steps2rev=30
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=4.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 166, [0x48] = 0x00, [0x49] = 0xa6
[plustek] * PhyBytes = 2
[plustek] * PhyLines = 2
[plustek] * TotalBytes = 4
[plustek] * PL=295, coeffsize=216, scaler=1
[plustek] * PauseLimit = 2, [0x4e] = 0x01, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] Scanner information:
[plustek] Vendor : Mustek
[plustek] Model : BearPaw 1200
[plustek] Flags : 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >BearPaw 1200<
[plustek] sane_get_devices (0xbfff60a8, 0)
[plustek] sane_open - libusb:001:002
[plustek] Presetting Gamma tables (len=4096)
[plustek] * Channel[0], gamma 1.000
[plustek] * Channel[1], gamma 1.000
[plustek] * Channel[2], gamma 1.000
[plustek] * Channel[3], gamma 1.000
[plustek] ----------------------------------
[plustek] sane_start
[plustek] usbDev_open(libusb:001:002,)
[plustek] Vendor ID=0x0400, Product ID=0x1000
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9831
[plustek] Detected vendor & product ID: 0x0400-0x1000
[plustek] BearPaw device: 0x0400-0x1000-0 (15)
[plustek] Device description for >0x0400-0x1000-0< found.
[plustek] usb_initDev(21,0x0400,21)
[plustek] Device WAF: 0x00000000
[plustek] Vendor adjusted to: >Mustek<
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(21)
[plustek] USING MISC I/O settings
[plustek] MISC I/O after RESET: 0x44, 0x44, 0x4f
[plustek] usbDev_getCaps()
[plustek] scanmode = 3
[plustek] usbDev_getCropInfo()
[plustek] usb_GetImageInfo()
[plustek] PPL = 248
[plustek] LPA = 150
[plustek] BPL = 744
[plustek] brightness 0, contrast 0
[plustek] usbDev_setScanEnv()
[plustek] usb_SaveImageInfo()
[plustek] dwFlag = 0x00000400
[plustek] usb_GetImageInfo()
[plustek] * Preview Mode NOT set!
[plustek] Setting map[0] at 0x080637e4
[plustek] Setting map[1] at 0x080677e4
[plustek] Setting map[2] at 0x0806b7e4
[plustek] usbDev_startScan()
[plustek] * HDPI: 12.000
[plustek] * XDPI=50, HDPI=12.000
[plustek] * YDPI=150, MinDPIY=150
[plustek] LAMP-STATUS: 0x00000000
[plustek] Switching Lamp on
[plustek] Warmup-Timer started
[plustek] LAMP-STATUS: 0x00000001
[plustek] Lamp-Timer stopped
[plustek] dwflag = 0x40000400 dwBytesPerLine = 744
[plustek] TIME START
[plustek] reader_process started (forked)
[plustek] reader_process:starting to READ data (111600 bytes)
[plustek] buf = 0x0806fb10
[plustek] usbDev_PrepareScan()
[plustek] sane_start done
[plustek] usb_DoCalibration()
[plustek] goto shading position
[plustek] ShadingOriginY=20
[plustek] MotorDPI=600, MaxMoveSpeed=1.250, FFStepSize=333, Steps=40
[plustek] MOTOR: PWM=0x03, PWM_DUTY=0x20 0x45=0x13 0x48=0x01, 0x49=0x4d
[plustek] MCLK_FFW = 6 --> 0x0a
[plustek] shading position reached
[plustek] kNEC8861 adjustments
[plustek] SETMCLK[4/2], using entry 6: 11.500000, 600
[plustek] No Plustek model: 50dpi
[plustek] SETMCLK[4/2], using entry 0: 3.500000, 50
[plustek] Settings done, so start...
[plustek] ###### ADJUST GAIN (COARSE)#######
[plustek] usb_AdjustGain()
[plustek] Coarse Calibration Strip:
[plustek] Lines = 1
[plustek] Pixels = 5100
[plustek] Bytes = 30600
[plustek] Origin.X = 70
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 190 (0x00be)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 2 (HDPI=1.000,MCLKD=3.500)
[plustek] * Stepsize = 2023, 0x46=0x07 0x47=0xe7
[plustek] * DPD =369 (0x0171)
[plustek] * DPD =5012 (0x1394), step size=2023, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 3.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 95, [0x48] = 0x00, [0x49] = 0x5f
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] Warmup: Waiting 15 seconds
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 05 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 02 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 07 e7 00 5f 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 94 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 00 25 18 51 02 06 28 48 00 03 00 00 30 00 00 02
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-0.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x1274(4724), 0x17d1(6097), 0x254d(9549)
[plustek] MIN(R,G,B)= 0x0d23(3363), 0x104e(4174), 0x1936(6454)
[plustek] CUR(R,G,B)= 0x1274(4724), 0x17d1(6097), 0x254d(9549)
[plustek] Gain internally limited! (50.000-> 31)
[plustek] Gain internally limited! (36.000-> 31)
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 166 (0x00a6)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 2 (HDPI=1.000,MCLKD=4.000)
[plustek] * Stepsize = 2023, 0x46=0x07 0x47=0xe7
[plustek] * DPD =369 (0x0171)
[plustek] * DPD =5012 (0x1394), step size=2023, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 83, [0x48] = 0x00, [0x49] = 0x53
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 06 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 02 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 07 e7 00 53 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 94 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 00 22 18 00 02 06 28 48 00 03 00 00 b0 00 00 06
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-1.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x15cd(5581), 0x1c25(7205), 0x2aa8(10920)
[plustek] MIN(R,G,B)= 0x0fce(4046), 0x1352(4946), 0x1ccb(7371)
[plustek] CUR(R,G,B)= 0x15cd(5581), 0x1c25(7205), 0x2aa8(10920)
[plustek] Gain internally limited! (40.000-> 31)
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 148 (0x0094)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 2 (HDPI=1.000,MCLKD=4.500)
[plustek] * Stepsize = 2023, 0x46=0x07 0x47=0xe7
[plustek] * DPD =369 (0x0171)
[plustek] * DPD =5012 (0x1394), step size=2023, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 4.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 74, [0x48] = 0x00, [0x49] = 0x4a
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 07 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 02 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 07 e7 00 4a 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 94 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 00 62 18 cc 02 06 28 48 00 03 00 00 10 00 00 00
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-2.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x17d2(6098), 0x1f7d(8061), 0x3037(12343)
[plustek] MIN(R,G,B)= 0x119e(4510), 0x1605(5637), 0x2067(8295)
[plustek] CUR(R,G,B)= 0x17d2(6098), 0x1f7d(8061), 0x3037(12343)
[plustek] Gain internally limited! (36.000-> 31)
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 133 (0x0085)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 2 (HDPI=1.000,MCLKD=5.000)
[plustek] * Stepsize = 2023, 0x46=0x07 0x47=0xe7
[plustek] * DPD =369 (0x0171)
[plustek] * DPD =5012 (0x1394), step size=2023, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 5.000000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 66, [0x48] = 0x00, [0x49] = 0x42
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 08 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 02 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 07 e7 00 42 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 94 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 00 65 18 b5 02 06 28 48 00 03 00 00 b0 00 00 05
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-3.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x1966(6502), 0x231d(8989), 0x33ef(13295)
[plustek] MIN(R,G,B)= 0x12b5(4789), 0x178e(6030), 0x2279(8825)
[plustek] CUR(R,G,B)= 0x1966(6502), 0x231d(8989), 0x33ef(13295)
[plustek] Gain internally limited! (32.000-> 31)
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 121 (0x0079)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=1.000,MCLKD=5.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 5.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 121, [0x48] = 0x00, [0x49] = 0x79
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 09 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 79 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 22 28 79 b2 44 28 48 00 03 00 00 30 00 00 02
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-4.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x167e(5758), 0x2152(8530), 0x3463(13411)
[plustek] MIN(R,G,B)= 0x0f90(3984), 0x153a(5434), 0x217f(8575)
[plustek] CUR(R,G,B)= 0x167e(5758), 0x2152(8530), 0x3463(13411)
[plustek] Gain internally limited! (39.000-> 31)
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 111 (0x006f)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=1.000,MCLKD=6.000)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.000000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 111, [0x48] = 0x00, [0x49] = 0x6f
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0a 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 6f 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 63 28 65 b2 44 28 48 00 03 00 00 b0 00 00 01
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-5.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x1894(6292), 0x2535(9525), 0x3977(14711)
[plustek] MIN(R,G,B)= 0x10ea(4330), 0x1804(6148), 0x23e8(9192)
[plustek] CUR(R,G,B)= 0x1894(6292), 0x2535(9525), 0x3977(14711)
[plustek] Gain internally limited! (34.000-> 31)
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 102 (0x0066)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=1.000,MCLKD=6.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 102, [0x48] = 0x00, [0x49] = 0x66
[plustek] * PhyBytes = 30602
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 30602
[plustek] * PL=290, coeffsize=192, scaler=1
[plustek] * PauseLimit = 30, [0x4e] = 0x0d, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 0d 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 22 28 47 b2 44 28 48 00 03 00 00 30 00 00 00
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] PhyBytes = 30602
[plustek] PhyPixels = 5100
[plustek] Creating file 'coarse-gain-6.raw'
[plustek] > X=5100, Y=1, depth=16
[plustek] MAX(R,G,B)= 0x1a95(6805), 0x2939(10553), 0x3f18(16152)
[plustek] MIN(R,G,B)= 0x123c(4668), 0x1a54(6740), 0x281c(10268)
[plustek] CUR(R,G,B)= 0x1a95(6805), 0x2939(10553), 0x3f18(16152)
[plustek] REG[0x3b] = 62
[plustek] REG[0x3c] = 46
[plustek] REG[0x3d] = 36
[plustek] after tweaking:
[plustek] REG[0x3b] = 62
[plustek] REG[0x3c] = 46
[plustek] REG[0x3d] = 36
[plustek] red_lamp_on = 0
[plustek] red_lamp_off = 16383
[plustek] green_lamp_on = 0
[plustek] green_lamp_off = 0
[plustek] blue_lamp_on = 0
[plustek] blue_lamp_off = 16383
[plustek] usb_AdjustGain() done.
[plustek] ###### ADJUST OFFSET (COARSE) ####
[plustek] usb_AdjustOffset()
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=600, HDPI=1.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=14, LineEnd=2564
[plustek] >> End-Start=2550, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 102 (0x0066)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=1.000,MCLKD=6.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 102, [0x48] = 0x00, [0x49] = 0x66
[plustek] * PhyBytes = 15302
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 15302
[plustek] * PL=305, coeffsize=192, scaler=1
[plustek] * PauseLimit = 15, [0x4e] = 0x05, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] S.dwPixels = 2550
[plustek] dwPixels = 15
[plustek] dwPhyBytes = 15302
[plustek] dwPhyPixels = 2550
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(4)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 0e 0a 04 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 00 00 00 3e 2e 24 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 05 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 60 28 4e b2 44 28 48 00 03 00 00 90 00 00 05
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Creating file 'coarse-off-0.raw'
[plustek] > X=2550, Y=1, depth=16
[plustek] RedSum = 294692, ave = 19646
[plustek] GreenSum = 142160, ave = 9477
[plustek] BlueSum = 119268, ave = 7951
[plustek] RedExpect = 0
[plustek] GreenExpect = 0
[plustek] BlueExpect = 0
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(4)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 0e 0a 04 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 30 30 30 3e 2e 24 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 05 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 65 28 4e b2 44 28 48 00 03 00 00 90 00 00 00
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Creating file 'coarse-off-1.raw'
[plustek] > X=2550, Y=1, depth=16
[plustek] RedSum = 79220, ave = 5281
[plustek] GreenSum = 8756, ave = 583
[plustek] BlueSum = 29552, ave = 1970
[plustek] RedExpect = 48
[plustek] GreenExpect = 48
[plustek] BlueExpect = 48
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(4)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 0e 0a 04 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 38 28 28 3e 2e 24 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 05 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 20 28 ae b2 44 28 48 00 03 00 00 30 00 00 00
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Creating file 'coarse-off-2.raw'
[plustek] > X=2550, Y=1, depth=16
[plustek] RedSum = 1736, ave = 115
[plustek] GreenSum = 61652, ave = 4110
[plustek] BlueSum = 68792, ave = 4586
[plustek] RedExpect = 48
[plustek] GreenExpect = 40
[plustek] BlueExpect = 40
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(4)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 0e 0a 04 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 34 2c 2c 3e 2e 24 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 05 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 63 28 5f b2 44 28 48 00 03 00 00 b0 00 00 03
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Creating file 'coarse-off-3.raw'
[plustek] > X=2550, Y=1, depth=16
[plustek] RedSum = 32032, ave = 2135
[plustek] GreenSum = 29064, ave = 1937
[plustek] BlueSum = 50640, ave = 3376
[plustek] RedExpect = 48
[plustek] GreenExpect = 40
[plustek] BlueExpect = 40
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(4)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 20 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 0e 0a 04 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 32 2a 2a 3e 2e 24 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 05 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 60 28 ae b2 44 a8 48 00 03 00 00 90 00 00 06
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Creating file 'coarse-off-4.raw'
[plustek] > X=2550, Y=1, depth=16
[plustek] RedSum = 51284, ave = 3418
[plustek] GreenSum = 51808, ave = 3453
[plustek] BlueSum = 59160, ave = 3944
[plustek] RedExpect = 50
[plustek] GreenExpect = 40
[plustek] BlueExpect = 42
[plustek] REG[0x38] = 50
[plustek] REG[0x39] = 40
[plustek] REG[0x3a] = 42
[plustek] usb_AdjustOffset() done.
[plustek] ###### ADJUST DARK (FINE) ########
[plustek] usb_AdjustDarkShading()
[plustek] MCLK = 6.500000 (scanparam-MCLK=6.500000)
[plustek] * HDPI: 12.000
[plustek] * XDPI=50, HDPI=12.000
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 4.000
[plustek] * XDPI=150, HDPI=4.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=4.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 102 (0x0066)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=4.000,MCLKD=6.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 102, [0x48] = 0x00, [0x49] = 0x66
[plustek] * PhyBytes = 7652
[plustek] * PhyLines = 1
[plustek] * TotalBytes = 7652
[plustek] * PL=312, coeffsize=192, scaler=1
[plustek] * PauseLimit = 8, [0x4e] = 0x02, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(2)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 00 00 XX XX 03 0b 24 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 00 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 32 28 2a 3e 2e 24 00 00
[plustek] 0x40: 40 00 20 00 00 03 05 45 00 66 00 00 00 00 02 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 60 28 2e b2 44 a8 48 00 03 00 00 d0 00 00 00
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Creating file 'fine-black.raw'
[plustek] > X=1275, Y=1, depth=16
[plustek] Color[0] (Dark) : min=59422(0) max=59422(0) ave=59422
[plustek] 5%: 56450 (0), 62393 (0)
[plustek] Color[1] (Dark) : min=39452(0) max=39452(0) ave=39452
[plustek] 5%: 37479 (0), 41424 (0)
[plustek] Color[2] (Dark) : min=58904(0) max=58904(0) ave=58904
[plustek] 5%: 55958 (0), 61849 (0)
[plustek] ###### ADJUST WHITE (FINE) #######
[plustek] * HDPI: 12.000
[plustek] * XDPI=50, HDPI=12.000
[plustek] FINE WHITE Calibration Strip: fine-white.raw
[plustek] Shad.-Lines = 64
[plustek] Lines = 32
[plustek] Pixels = 1275
[plustek] Bytes = 7650
[plustek] Origin.X = 0
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 4.000
[plustek] * XDPI=150, HDPI=4.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=4.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 102 (0x0066)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=4.000,MCLKD=6.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 102, [0x48] = 0x00, [0x49] = 0x66
[plustek] * PhyBytes = 7652
[plustek] * PhyLines = 32
[plustek] * TotalBytes = 244864
[plustek] * PL=312, coeffsize=192, scaler=1
[plustek] * PauseLimit = 240, [0x4e] = 0x76, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(3)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 08 00 XX XX 03 0b 24 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 32 28 2a 3e 2e 24 00 00
[plustek] 0x40: 40 00 24 00 00 13 05 45 00 66 00 00 00 00 76 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 25 28 16 b2 44 28 48 00 03 00 00 d0 00 00 05
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] TotalBytes = 244864
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] Creating file 'fine-white.raw'
[plustek] > X=1275, Y=32, depth=16
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 4.000
[plustek] * XDPI=150, HDPI=4.000
[plustek] * YDPI=600, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=5240
[plustek] >> End-Start=5100, HDPI=4.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 102 (0x0066)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 1349, 0x46=0x05 0x47=0x45
[plustek] * DPD =270 (0x010e)
[plustek] * DPD =5111 (0x13f7), step size=1349, steps2rev=0
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=4.000,MCLKD=6.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 102, [0x48] = 0x00, [0x49] = 0x66
[plustek] * PhyBytes = 7652
[plustek] * PhyLines = 32
[plustek] * TotalBytes = 244864
[plustek] * PL=312, coeffsize=192, scaler=1
[plustek] * PauseLimit = 240, [0x4e] = 0x76, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(3)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 81 08 00 XX XX 03 0b 24 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 14 78 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 32 28 2a 3e 2e 24 00 00
[plustek] 0x40: 40 00 24 00 00 13 05 45 00 66 00 00 00 00 76 01
[plustek] 0x50: 00 fc 13 f7 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 50 60 28 57 b2 44 28 48 00 03 00 00 d0 00 00 01
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] TotalBytes = 244864
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] usbDev_ScanEnd(), start=1, park=0
[plustek] Color[0] (White) : min=90(440) max=65376(650) ave=32814
[plustek] 5%: 31173 (353), 34454 (355)
[plustek] Color[1] (White) : min=74(157) max=65373(527) ave=34140
[plustek] 5%: 32432 (350), 35847 (364)
[plustek] Color[2] (White) : min=85(217) max=65382(21) ave=33881
[plustek] 5%: 32186 (343), 35575 (359)
[plustek] MotorDPI=600, MaxMoveSpeed=1.250, FFStepSize=333, Steps=2
[plustek] MOTOR: PWM=0x10, PWM_DUTY=0x04 0x45=0x13 0x48=0x01, 0x49=0x4d
[plustek] MCLK_FFW = 6 --> 0x0a
[plustek] MotorDPI=600, MaxMotorSpeed=1.250, FFStepSize=333
[plustek] MOTOR: PWM=0x04, PWM_DUTY=0x04 0x45=0x13 0x48=0x01, 0x49=0x4d
[plustek] MCLK_FFW = 6 --> 0x0a
[plustek] Calibration done
[plustek] -----------------------
[plustek] Static Gain:
[plustek] REG[0x3b] = 62
[plustek] REG[0x3c] = 46
[plustek] REG[0x3d] = 36
[plustek] Static Offset:
[plustek] REG[0x38] = 50
[plustek] REG[0x39] = 40
[plustek] REG[0x3a] = 42
[plustek] -----------------------
[plustek] calibration done.
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 12.000
[plustek] * XDPI=50, HDPI=12.000
[plustek] * YDPI=150, MinDPIY=150
[plustek] * DataPixelStart=140, LineEnd=3116
[plustek] >> End-Start=2976, HDPI=12.00
[plustek] * Full Steps to Skip at Start = 0x0104
[plustek] * StepSize(Preset) = 102 (0x0066)
[plustek] * Scan calculations...
[plustek] * LineLength=5381, LineRateColor=1
[plustek] * Stepsize = 337, 0x46=0x01 0x47=0x51
[plustek] * DPD =132 (0x0084)
[plustek] * DPD =5249 (0x1481), step size=337, steps2rev=30
[plustek] * llen=5381, lineRateColor=1, qtcnt=3, hfcnt=3
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=12.000,MCLKD=6.500)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 6.500000
[plustek] * MOTOR-Settings: PWM=0x10, PWM_DUTY=0x04
[plustek] * FFStepSize = 102, [0x48] = 0x00, [0x49] = 0x66
[plustek] * PhyBytes = 746
[plustek] * PhyLines = 452
[plustek] * TotalBytes = 337192
[plustek] * PL=295, coeffsize=216, scaler=1
[plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] ImageProc is: ColorDuplicate8
[plustek] usb_ScanBegin()
[plustek] usb_MapDownload()
[plustek] * brightness = 0 -> 0
[plustek] * contrast = 0 -> 1.000
[plustek] * downloading map 0...
[plustek] * downloading map 1...
[plustek] * downloading map 2...
[plustek] usb_MapDownload() done.
[plustek] usb_DownloadShadingData(0)
[plustek] Downloading 1275 pixels
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 80 09 00 XX XX 03 0b 1f 00 02 7c 3f 15 04
[plustek] 0x10: 16 01 02 05 06 00 00 0a 16 00 01 01 00 00 00 00
[plustek] 0x20: 14 f9 00 8c 0c 2c 00 00 03 01 04 91 00 00 3f ff
[plustek] 0x30: 00 00 00 00 00 00 00 00 32 28 2a 3e 2e 24 00 00
[plustek] 0x40: 40 00 26 00 00 13 01 51 00 66 01 04 00 00 91 01
[plustek] 0x50: 1e fc 14 81 00 13 10 04 00 44 44 4f 00 00 00 00
[plustek] 0x60: 40 60 0c 34 b2 44 28 48 00 03 00 00 d0 00 00 00
[plustek] 0x70: 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00
[plustek] SampleY Flag set (50 != 150, wSumY=100)
[plustek] Creating file 'plustek-pic.raw'
[plustek] > X=248, Y=150, depth=8
[plustek] Reading the data now!
[plustek] PhyDpi.x = 50
[plustek] UserDpi.y = 50
[plustek] NumberOfScanBufs = 5622
[plustek] LinesPerScanBufs = 11244
[plustek] dwPhyBytes = 746
[plustek] dwPhyPixels = 248
[plustek] dwTotalBytes = 337192
[plustek] dwPixels = 248
[plustek] dwBytes = 744
[plustek] dwValidPixels = 248
[plustek] dwBytesScanBuf = 1492
[plustek] dwLinesDiscard = 2
[plustek] dwLinesToSkip = 3
[plustek] dwLinesUser = 150
[plustek] dwBytesLine = 744
[plustek] usb_IsDataAvailableInDRAM()
[plustek] Data is available
[plustek] drvclose()
[plustek] TIME END 1: 37s
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=1, park=1
[plustek] reader_process: finished reading data
[plustek] (SIG) Child is down (signal=17)
[plustek] MotorDPI=600, MaxMotorSpeed=1.250, FFStepSize=333
[plustek] MOTOR: PWM=0x04, PWM_DUTY=0x04 0x45=0x13 0x48=0x01, 0x49=0x4d
[plustek] MCLK_FFW = 6 --> 0x0a
[plustek] Lamp-Timer started (using ITIMER)
[plustek] usbDev_close()
[plustek] close_pipe (r_pipe)
[plustek] sane_cancel
[plustek] do_cancel
[plustek] TIME END 2: 37s
[plustek] sane_close
[plustek] sane_exit
[plustek] Shutdown called (dev->fd=-1, libusb:001:002)
[plustek] Waiting for scanner-ready...
[plustek] Switching lamp off...
[plustek] LAMP-STATUS: 0x00000001
[plustek] Switching Lamp off
[plustek] LAMP-STATUS: 0x00000000
[plustek] Lamp-Timer stopped
Wie gesagt, er scannt etwas. Rot sieht normal aus und ich hab noch ein bißchen Gelb, alles andere ist nicht zu sehen. Auch keine schwarze Schrift.