[sane-devel] Genius ColorPage Vivid3 - annoying issue

Joao Dias joaodias@fastmail.fm
Sat, 19 Mar 2005 14:46:25 -0000


Hi again,

I made a first scan wich was ok and then waited for lamp to go off
and repeated scan wich was this time bad.

This happens even if I made the two without lamp going off between,
but quite often the first two scans went good and the next bad then good
again..., so don't know really if that is actually happening randomly.

The first scan is ALWAYS good (by first I mean the first after rebooting
computer)

Here is the the debug log you asked me.
Hope this helps figure out something,

regards,
Joao

[joao@neptuno ~]$ export SANE_DEBUG_U12=20;xsane
[sanei_debug] Setting debug level of u12 to 20.
[u12] U12 backend V0.02-8, part of sane-backends 1.0.14
[u12] ># U12-SANE Backend configuration file<
[u12] >#<
[u12] ><
[u12] ># each device needs at least two lines:<
[u12] ># - [usb] vendor-ID and product-ID<
[u12] ># - device devicename<
[u12] ># i.e. for Plustek (0x07B3) U1212 (0x0001)<
[u12] ># [usb] 0x07B3 0x0001<
[u12] ># device /dev/usb/scanner0<
[u12] ># or<
[u12] ># device libusb:bbb:ddd<
[u12] ># where bbb is the busnumber and ddd the device number<
[u12] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
[u12] >#<
[u12] ># additionally you can specify some options<
[u12] ># warmup, lOffOnEnd, lampOff<
[u12] >#<
[u12] ># For autodetection use<
[u12] ># [usb]<
[u12] ># device /dev/usb/scanner0<
[u12] >#<
[u12] ># or simply<
[u12] >#[usb]<
[u12] >#<
[u12] ># or if you want a specific device but you have no idea about the<
[u12] ># device node or you use libusb, simply set vendor- and product-ID<
[u12] ><
[u12] >[usb] 0x0458 0x2004<
[u12] next device is a USB device (0x0458-0x2004)
[u12] ... next device
[u12] >device auto<
[u12] Decoding device name >auto<
[u12] ><
[u12] >#<
[u12] ># NOTE: autodetection is safe, as it uses the info it got<
[u12] >#       from the USB subsystem. If you're not using the<
[u12] >#       autodetection, you MUST have attached that device<
[u12] >#       at your USB-port, that you have specified...<
[u12] >#<
[u12] ><
[u12] ># auto deteccao<
[u12] ># [usb]<
[u12] ><
[u12] >#<
[u12] ># options for the previous USB entry<
[u12] >#<
[u12] ># switch lamp off after xxx secs, 0 disables the feature<
[u12] >option lampOff 30<
[u12] Decoding option >lampOff<
[u12] ><
[u12] ># warmup period in seconds, 0 means no warmup<
[u12] >option warmup 15<
[u12] Decoding option >warmup<
[u12] ><
[u12] ># 0 means leave lamp-status untouched, not 0 means switch off<
[u12] ># on sane_close<
[u12] >option lOffOnEnd 0<
[u12] Decoding option >lOffOnEnd<
[u12] ><
[u12] >#<
[u12] ># for adjusting the default gamma values<
[u12] >#<
[u12] >#option redGamma         1.5<
[u12] >#option greenGamma       1.5<
[u12] >#option blueGamma        1.5<
[u12] >#option grayGamma        1.5<
[u12] ><
[u12] >#<
[u12] ># and of course the device-name<
[u12] >#<
[u12] >#device auto<
[u12] ><
[u12] >#<
[u12] ># to define a new device, start with a new section:<
[u12] ># [usb]<
[u12] >#<
[u12] attach (auto, 0xfeee2f20, (nil))
[u12] Device configuration:
[u12] device name  : >auto<
[u12] USB-ID       : >0x0458-0x2004<
[u12] warmup       : 15s
[u12] lampOff      : 30
[u12] lampOffOnEnd : no
[u12] red Gamma    : 1.00
[u12] green Gamma  : 1.00
[u12] blue Gamma   : 1.00
[u12] gray Gamma   : 1.00
[u12] ---------------------
[u12] u12if_open(auto,0x0458-0x2004)
[u12] Found device at >libusb:001:002<
[u12] Vendor ID=0x0458, Product ID=0x2004
[u12] u12io_IsConnected()
[u12] * tmp1 = 0x78
[u12] * REG_ASICID = 0x08
[u12] * Scanner is NOT connected!
[u12] * tmp2 = 0x78
[u12] * REG_ASICID = 0x08
[u12] u12io_OpenScanPath()
[u12] * REG_STATUS2 = 0xc1
[u12] * Normal lamp is ON
[u12] u12hw_Memtest()
[u12] * Memtest passed.
[u12] Detected vendor & product ID: 0x0458-0x2004
[u12] Vendor adjusted to: >KYE/Genius<
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[0]
[u12]  * 29 regs * 0 (intermediate)
[u12] u12hw_InitAsic done.
[u12] CCD-Stop
[u12] u12if_getCaps()
[u12] Scanner information:
[u12] Vendor : KYE/Genius
[u12] Model  : Colorpage HR6
[u12] Flags  : 0x00000000
[u12] u12if_SetupBuffer()
[u12] drvClose()
[u12] u12if_stopScan()
[u12] u12hw_CancelSequence()
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[29]
[u12]  * 29 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] Waiting for Sensor to be back in position
[u12] - done !
[u12] CCD-Stop
[u12] Device reset (0)!!!
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x00, CCD-ID=0x00, DAC-TYPE=0x00
[u12] Default Model: U12
[u12] CCD & DAC init
[u12] * DAC: WOLFSON 8143
[u12] * CCD-3797
[u12] * Programming DAC (10 regs)
[u12] * [0x01] = 0x03
[u12] * [0x02] = 0x04
[u12] * [0x03] = 0x42
[u12] * [0x05] = 0x12
[u12] * [0x20] = 0xd0
[u12] * [0x21] = 0xd0
[u12] * [0x22] = 0xd0
[u12] * [0x24] = 0x00
[u12] * [0x25] = 0x00
[u12] * [0x26] = 0x00
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0x05
[u12] * Model1Cntrl  = 0x02
[u12] u12hw_ProgramCCD: 0xf6cddf40[25]
[u12]  * 25 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] CCD-Stop
[u12] u12io_CloseScanPath()
[u12] Lamp-Timer started (using ITIMER)
[u12] u12if_close()
[u12] u12io_CloseScanPath()
[u12] attach: model = >Colorpage HR6<
[u12] sane_get_devices (0xfeee4ff8, 0)
[u12] sane_open - libusb:001:002
[u12] Presetting Gamma tables (len=4096)
[u12] ----------------------------------
[u12] Presetting Gamma tables (len=4096)
[u12] ----------------------------------
[u12] sane_start
[u12] u12if_open(libusb:001:002,0x0458-0x2004)
[u12] Vendor ID=0x0458, Product ID=0x2004
[u12] u12io_IsConnected()
[u12] * tmp1 = 0x78
[u12] * REG_ASICID = 0x08
[u12] * Scanner is NOT connected!
[u12] * tmp2 = 0x78
[u12] * REG_ASICID = 0x08
[u12] u12io_OpenScanPath()
[u12] * REG_STATUS2 = 0xc1
[u12] * Normal lamp is ON
[u12] Detected vendor & product ID: 0x0458-0x2004
[u12] Vendor adjusted to: >KYE/Genius<
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[0]
[u12]  * 29 regs * 0 (intermediate)
[u12] u12hw_InitAsic done.
[u12] CCD-Stop
[u12] u12if_getCaps()
[u12] scanmode = 2
[u12] brightness 0, contrast 0
[u12] u12image_SetupScanSettings()
[u12] imageSetupScanSettings()
[u12] * DataInf.dwScanFlag = 0x00000000
[u12] u12image_GetImageInfo()
[u12] * xyPhyDpi.x = 150, xyPhyDpi.y = 150
[u12] * crArea.x = 931, crArea.y = 36
[u12] * crArea.cx = 803, crArea.cy = 730
[u12] AppLinesPerArea    = 365
[u12] AppPixelsPerLine   = 401
[u12] AppPhyBytesPerLine = 1203
[u12] AppBytesPerLine    = 1203
[u12] AsicPixelsPerPlane = 401
[u12] AsicBytesPerPlane  = 401
[u12] AsicBytesPerLine   = 1203
[u12] Physical Bytes     = 401
[u12] * Scan settings:
[u12] * ImageInfo: (x=1862,y=36,dx=803,dy=730)
[u12] * brightness = 0
[u12] * RD_ThresholdControl = 128
[u12] u12image_SetupScanStateVariables(1)
[u12] * Sample every line
[u12] * PixelPerLine = 401
[u12] * BytesPerLine = 1203
[u12] * Lines        = 365
[u12] u12if_startScan()
[u12] Lamp-Timer stopped
[u12] u12hw_SetGeneralRegister()
[u12] * Using SAME Lamp --> no warmup needed
[u12] TIME START
[u12] reader_process started (forked)
[u12] reader_process:starting to READ data (439095 bytes)
[u12] buf = 0xf6563008
[u12] u12if_prepare()
[u12] Waiting for Sensor to be back in position
[u12] sane_start done
[u12] - done !
[u12] u12hw_WarmupLamp()
[u12] * skipped
[u12] u12shading_DoCalibration()
[u12] u12hw_InitAsic(1)
[u12] sane_set_io_mode: non_blocking=1
[u12] sane_set_io_mode done
[u12] sane_get_select_fd
[u12] sane_get_select_fd done
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[0]
[u12]  * 29 regs * 0 (intermediate)
[u12] u12hw_InitAsic done.
[u12] u12motor_GotoShadingPosition()
[u12] u12motor_ModuleToHome()
[u12] * done.
[u12] u12shading_DownloadShadingTable()
[u12] * wExposure = 96
[u12] * wXStep    = 12
[u12] u12shading_AdjustRGBGain()
[u12] u12shadingAdjustDark()
[u12] u12shading_AdjustShadingWaveForm()
[u12] u12shading_DownloadShadingTable()
[u12] u12map_Adjust(0)
[u12] * brightness   = 0 -> 0
[u12] * contrast*100 = 0 -> 100
[u12] u12map_Adjust(1)
[u12] * brightness   = 0 -> 0
[u12] * contrast*100 = 0 -> 100
[u12] u12map_Adjust(2)
[u12] * brightness   = 0 -> 0
[u12] * contrast*100 = 0 -> 100
[u12] u12Motor_BackToHomeSensor()
[u12] * LineCtrl=0x60, XStepTime=0x60
[u12] u12shading_DoCalibration() - done.
[u12] APP-DPIX=150, MAX-DPIX=600
[u12] u12image_PrepareScaling: DISABLED
[u12] u12motor_ForceToLeaveHomePos()
[u12] u12_SetupScanningCondition()
[u12] u12hw_SetGeneralRegister()
[u12] * MinReadFifo=1024, MaxReadFifo=1224
[u12] * bRefresh = 2
[u12] * RD_ScanControl = 0x15
[u12] * ImageInfo: x=1862,y=36,dx=803,dy=730
[u12] * RD_MotorTotalSteps = 0x0b98
[u12] * RD_ScanControl1 = 0x0f
[u12] * RD_Origin = 2036, RD_Pixels = 401
[u12] u12motor_PositionYProc()
[u12] u12motor_PositionYProc() - done
[u12] * oldScanState = 5
[u12] u12if_prepare() done.
[u12] reader_process: finished reading data
[u12] (SIG) Child is down (signal=17)
[u12] drvClose()
[u12] TIME END 1: 15s
[u12] u12if_stopScan()
[u12] u12hw_CancelSequence()
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[29]
[u12]  * 29 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] Waiting for Sensor to be back in position
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[29]
[u12]  * 29 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] - done !
[u12] CCD-Stop
[u12] Device reset (0)!!!
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x00, CCD-ID=0x00, DAC-TYPE=0x00
[u12] Default Model: U12
[u12] CCD & DAC init
[u12] * DAC: WOLFSON 8143
[u12] * CCD-3797
[u12] * Programming DAC (10 regs)
[u12] * [0x01] = 0x03
[u12] * [0x02] = 0x04
[u12] * [0x03] = 0x42
[u12] * [0x05] = 0x12
[u12] * [0x20] = 0xd0
[u12] * [0x21] = 0xd0
[u12] * [0x22] = 0xd0
[u12] * [0x24] = 0x00
[u12] * [0x25] = 0x00
[u12] * [0x26] = 0x00
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0x05
[u12] * Model1Cntrl  = 0x02
[u12] u12hw_ProgramCCD: 0xf6cddf40[25]
[u12]  * 25 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] CCD-Stop
[u12] u12io_CloseScanPath()
[u12] Lamp-Timer started (using ITIMER)
[u12] u12if_close()
[u12] u12io_CloseScanPath()
[u12] drvClosePipes(r_pipe)
[u12] sane_cancel
[u12] do_cancel
[u12] TIME END 2: 18s
[u12] *** LAMP OFF!!! ***
[u12] u12io_IsConnected()
[u12] * tmp1 = 0x78
[u12] * REG_ASICID = 0x08
[u12] * Scanner is NOT connected!
[u12] * tmp2 = 0x78
[u12] * REG_ASICID = 0x08
[u12] u12io_OpenScanPath()
[u12] * Normal lamp is ON
[u12] u12io_CloseScanPath()
[u12] sane_start
[u12] u12if_open(libusb:001:002,0x0458-0x2004)
[u12] Vendor ID=0x0458, Product ID=0x2004
[u12] u12io_IsConnected()
[u12] * tmp1 = 0x78
[u12] * REG_ASICID = 0x08
[u12] * Scanner is NOT connected!
[u12] * tmp2 = 0x78
[u12] * REG_ASICID = 0x08
[u12] u12io_OpenScanPath()
[u12] * REG_STATUS2 = 0xc0
[u12] Detected vendor & product ID: 0x0458-0x2004
[u12] Vendor adjusted to: >KYE/Genius<
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[0]
[u12]  * 29 regs * 0 (intermediate)
[u12] u12hw_InitAsic done.
[u12] CCD-Stop
[u12] u12if_getCaps()
[u12] scanmode = 2
[u12] brightness 0, contrast 0
[u12] u12image_SetupScanSettings()
[u12] imageSetupScanSettings()
[u12] * DataInf.dwScanFlag = 0x00000000
[u12] u12image_GetImageInfo()
[u12] * xyPhyDpi.x = 150, xyPhyDpi.y = 150
[u12] * crArea.x = 931, crArea.y = 36
[u12] * crArea.cx = 803, crArea.cy = 730
[u12] AppLinesPerArea    = 365
[u12] AppPixelsPerLine   = 401
[u12] AppPhyBytesPerLine = 1203
[u12] AppBytesPerLine    = 1203
[u12] AsicPixelsPerPlane = 401
[u12] AsicBytesPerPlane  = 401
[u12] AsicBytesPerLine   = 1203
[u12] Physical Bytes     = 401
[u12] * Scan settings:
[u12] * ImageInfo: (x=1862,y=36,dx=803,dy=730)
[u12] * brightness = 0
[u12] * RD_ThresholdControl = 128
[u12] u12image_SetupScanStateVariables(1)
[u12] * Sample every line
[u12] * PixelPerLine = 401
[u12] * BytesPerLine = 1203
[u12] * Lines        = 365
[u12] u12if_startScan()
[u12] Lamp-Timer stopped
[u12] u12hw_SetGeneralRegister()
[u12] * Using SAME Lamp --> no warmup needed
[u12] TIME START
[u12] reader_process started (forked)
[u12] reader_process:starting to READ data (439095 bytes)
[u12] buf = 0xf6563008
[u12] u12if_prepare()
[u12] Waiting for Sensor to be back in position
[u12] sane_start done
[u12] - done !
[u12] u12hw_WarmupLamp()
[u12] * skipped
[u12] u12shading_DoCalibration()
[u12] u12hw_InitAsic(1)
[u12] sane_set_io_mode: non_blocking=1
[u12] sane_set_io_mode done
[u12] sane_get_select_fd
[u12] sane_get_select_fd done
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[0]
[u12]  * 29 regs * 0 (intermediate)
[u12] u12hw_InitAsic done.
[u12] u12motor_GotoShadingPosition()
[u12] u12motor_ModuleToHome()
[u12] * done.
[u12] u12shading_DownloadShadingTable()
[u12] * wExposure = 96
[u12] * wXStep    = 12
[u12] u12shading_AdjustRGBGain()
[u12] u12shadingAdjustDark()
[u12] u12shading_AdjustShadingWaveForm()
[u12] u12shading_DownloadShadingTable()
[u12] u12map_Adjust(0)
[u12] * brightness   = 0 -> 0
[u12] * contrast*100 = 0 -> 100
[u12] u12map_Adjust(1)
[u12] * brightness   = 0 -> 0
[u12] * contrast*100 = 0 -> 100
[u12] u12map_Adjust(2)
[u12] * brightness   = 0 -> 0
[u12] * contrast*100 = 0 -> 100
[u12] u12Motor_BackToHomeSensor()
[u12] * LineCtrl=0x60, XStepTime=0x60
[u12] u12shading_DoCalibration() - done.
[u12] APP-DPIX=150, MAX-DPIX=600
[u12] u12image_PrepareScaling: DISABLED
[u12] u12motor_ForceToLeaveHomePos()
[u12] u12_SetupScanningCondition()
[u12] u12hw_SetGeneralRegister()
[u12] * MinReadFifo=1024, MaxReadFifo=1224
[u12] * bRefresh = 2
[u12] * RD_ScanControl = 0x15
[u12] * ImageInfo: x=1862,y=36,dx=803,dy=730
[u12] * RD_MotorTotalSteps = 0x0b98
[u12] * RD_ScanControl1 = 0x0f
[u12] * RD_Origin = 2036, RD_Pixels = 401
[u12] u12motor_PositionYProc()
[u12] u12motor_PositionYProc() - done
[u12] * oldScanState = 61
[u12] u12if_prepare() done.
[u12] reader_process: finished reading data
[u12] (SIG) Child is down (signal=17)
[u12] drvClose()
[u12] TIME END 1: 35s
[u12] u12if_stopScan()
[u12] u12hw_CancelSequence()
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[29]
[u12]  * 29 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] Waiting for Sensor to be back in position
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x90, CCD-ID=0x01, DAC-TYPE=0x05
[u12] Scanner has 2 Buttons
[u12] CCD & DAC init
[u12] * DAC: SAMSUNG 8531
[u12] * CCD-3799
[u12] * Programming DAC (9 regs)
[u12] * [0x00] = 0x51
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x55
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] * [0x00] = 0x59
[u12] * [0x02] = 0x01
[u12] * [0x01] = 0x80
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0xd4
[u12] * Model1Cntrl  = 0x0a
[u12] u12hw_ProgramCCD: 0xf6cddac0[29]
[u12]  * 29 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] - done !
[u12] CCD-Stop
[u12] Device reset (0)!!!
[u12] u12motor_PositionModuleToHome()
[u12] u12hw_InitAsic(0)
[u12] * PCB-ID=0x00, CCD-ID=0x00, DAC-TYPE=0x00
[u12] Default Model: U12
[u12] CCD & DAC init
[u12] * DAC: WOLFSON 8143
[u12] * CCD-3797
[u12] * Programming DAC (10 regs)
[u12] * [0x01] = 0x03
[u12] * [0x02] = 0x04
[u12] * [0x03] = 0x42
[u12] * [0x05] = 0x12
[u12] * [0x20] = 0xd0
[u12] * [0x21] = 0xd0
[u12] * [0x22] = 0xd0
[u12] * [0x24] = 0x00
[u12] * [0x25] = 0x00
[u12] * [0x26] = 0x00
[u12] CCD & DAC init done.
[u12] * MotorDrvType = 0x05
[u12] * Model1Cntrl  = 0x02
[u12] u12hw_ProgramCCD: 0xf6cddf40[25]
[u12]  * 25 regs * 1 (intermediate)
[u12] u12hw_InitAsic done.
[u12] CCD-Stop
[u12] u12io_CloseScanPath()
[u12] Lamp-Timer started (using ITIMER)
[u12] u12if_close()
[u12] u12io_CloseScanPath()
[u12] drvClosePipes(r_pipe)
[u12] sane_cancel
[u12] do_cancel
[u12] TIME END 2: 42s
[u12] *** LAMP OFF!!! ***
[u12] u12io_IsConnected()
[u12] * tmp1 = 0x78
[u12] * REG_ASICID = 0x08
[u12] * Scanner is NOT connected!
[u12] * tmp2 = 0x78
[u12] * REG_ASICID = 0x08
[u12] u12io_OpenScanPath()
[u12] * Normal lamp is ON
[u12] u12io_CloseScanPath()