1      :       2ms  GET DEVICE DESCRIPTOR
                                                                     Release =  2.0.0   Version of the USB protocol.
                                                                       Class =   0xff   Class is vendor specific.
                                                                    Subclass =   0xff   Subclass is vendor specific.
                                                                    Protocol =   0xff   Protocol is vendor specific.
                                                                   Maxpacket =     64   Maximum Packet Size for endpoint0 (the control endpoint).
                                                                      Vendor = 0x04a9   The product vendor: Canon
                                                                     Product = 0x221c   The product model: LiDE 60
                                                                  Devrelease =  3.0.6   Release number of this device.
                                                                      Imanuf =   0x01   Index to string describing the manufacturer.
                                                                    Iproduct =   0x02   Index to string describing the product.
                                                                     Iserial =   0x00   Index to string describing the device's serial number.
                                                                     Numconf =   0x01   Number of configurations for this device.
    2      :       3ms  GET CONFIG DESCRIPTOR
                                                                  Totalength =     39   Total bytes returned for this configuration, its interfaces and endpoints.
                                                                     NumIntf =   0x01   Number of interfaces supported by this configuration.
                                                                   ConfigVal =   0x01   Value to use to select this configuration.
                                                                     Iconfig =   0x00   Index to string describing this configuration.
                                                                      Attrib =   0xa0   Attributes: Remote_wakeup  
                                                                      MaxPwr =  500mA   Maximum operational power required by this device.
    3      :       4ms  GET CONFIG DESCRIPTOR
                                                                  Totalength =     39   Total bytes returned for this configuration, its interfaces and endpoints.
                                                                     NumIntf =   0x01   Number of interfaces supported by this configuration.
                                                                   ConfigVal =   0x01   Value to use to select this configuration.
                                                                     Iconfig =   0x00   Index to string describing this configuration.
                                                                      Attrib =   0xa0   Attributes: Remote_wakeup  
                                                                      MaxPwr =  500mA   Maximum operational power required by this device.
                                                               GET INTFCE DESCRIPTOR
                                                                     IntfNum =   0x00   Number of this interface.
                                                                      AltSet =   0x00   Value used to select alternative setting for this interface.
                                                                     NumEndp =   0x03   Number of end points supported by this interface (excluding control endpoint).
                                                                      Iclass =   0xff   Class is vendor specific.
                                                                   Isubclass =   0xff   Subclass is vendor specific.
                                                                   Iprotocol =   0xff   Protocol is vendor specific.
                                                                      Iindex =   0x00   Index to string describing this interface.
                                                               GET ENDPNT DESCRIPTOR
                                                                    EndpAddr =   0x81   Endpoint Address: number=1 direction=read
                                                                      Attrib =   0x02   Attributes: Transfer=bulk  Synch=no syncronisation  Usage=data
                                                                   Maxpacket =     64   Maximum Packet Size for endpoint.
                                                                    Interval =   0x00   Polling interval for this endpoint.
                                                               GET ENDPNT DESCRIPTOR
                                                                    EndpAddr =   0x02   Endpoint Address: number=2 direction=write
                                                                      Attrib =   0x02   Attributes: Transfer=bulk  Synch=no syncronisation  Usage=data
                                                                   Maxpacket =     64   Maximum Packet Size for endpoint.
                                                                    Interval =   0x00   Polling interval for this endpoint.
                                                               GET ENDPNT DESCRIPTOR
                                                                    EndpAddr =   0x83   Endpoint Address: number=3 direction=read
                                                                      Attrib =   0x03   Attributes: Transfer=interrupt  Synch=no syncronisation  Usage=data
                                                                   Maxpacket =      1   Maximum Packet Size for endpoint.
                                                                    Interval =   0x08   Polling interval for this endpoint.
    4      :     242ms  SELECT CONFIGURATION     See raw log for details
    5      :     242ms  READ SOMETHING???   12
    6      :     266ms  READ SOME SORT OF DESCRIPTOR
                                                                 GET CONFIG DESCRIPTOR
                                                                    Totalength =     39   Total bytes returned for this configuration, its interfaces and endpoints.
                                                                       NumIntf =   0x01   Number of interfaces supported by this configuration.
                                                                     ConfigVal =   0x01   Value to use to select this configuration.
                                                                       Iconfig =   0x00   Index to string describing this configuration.
                                                                        Attrib =   0xa0   Attributes: Remote_wakeup  
                                                                        MaxPwr =  500mA   Maximum operational power required by this device.
                                                                 GET INTFCE DESCRIPTOR
                                                                       IntfNum =   0x00   Number of this interface.
                                                                        AltSet =   0x00   Value used to select alternative setting for this interface.
                                                                       NumEndp =   0x03   Number of end points supported by this interface (excluding control endpoint).
                                                                        Iclass =   0xff   Class is vendor specific.
                                                                     Isubclass =   0xff   Subclass is vendor specific.
                                                                     Iprotocol =   0xff   Protocol is vendor specific.
                                                                        Iindex =   0x00   Index to string describing this interface.
                                                                 GET ENDPNT DESCRIPTOR
                                                                      EndpAddr =   0x81   Endpoint Address: number=1 direction=read
                                                                        Attrib =   0x02   Attributes: Transfer=bulk  Synch=no syncronisation  Usage=data
                                                                     Maxpacket =     64   Maximum Packet Size for endpoint.
                                                                      Interval =   0x00   Polling interval for this endpoint.
                                                                 GET ENDPNT DESCRIPTOR
                                                                      EndpAddr =   0x02   Endpoint Address: number=2 direction=write
                                                                        Attrib =   0x02   Attributes: Transfer=bulk  Synch=no syncronisation  Usage=data
                                                                     Maxpacket =     64   Maximum Packet Size for endpoint.
                                                                      Interval =   0x00   Polling interval for this endpoint.
                                                                 GET ENDPNT DESCRIPTOR
                                                                      EndpAddr =   0x83   Endpoint Address: number=3 direction=read
                                                                        Attrib =   0x03   Attributes: Transfer=interrupt  Synch=no syncronisation  Usage=data
                                                                     Maxpacket =      1   Maximum Packet Size for endpoint.
                                                                      Interval =   0x08   Polling interval for this endpoint.GET DEVICE DESCRIPTOR
                                                                       Release =  2.0.0   Version of the USB protocol.
                                                                         Class =   0xff   Class is vendor specific.
                                                                      Subclass =   0xff   Subclass is vendor specific.
                                                                      Protocol =   0xff   Protocol is vendor specific.
                                                                     Maxpacket =     64   Maximum Packet Size for endpoint0 (the control endpoint).
                                                                        Vendor = 0x04a9   The product vendor: Canon
                                                                       Product = 0x221c   The product model: LiDE 60
                                                                    Devrelease =  3.0.6   Release number of this device.
                                                                        Imanuf =   0x01   Index to string describing the manufacturer.
                                                                      Iproduct =   0x02   Index to string describing the product.
                                                                       Iserial =   0x00   Index to string describing the device's serial number.
                                                                       Numconf =   0x01   Number of configurations for this device.
    7      :     282ms   0x10 -> [gl841:misc_setup]    Write clocks and interface setup.
                                                                    nWait delay                              : no delay
                                                                    short CCD SH(TG) period for film scanning: disable
                                                                    EPP interface speed for USB2.0           : normal
                                                                    scan direction enable                    : forwards
                                                                   *system clock frequency                   : 30MHz
                                                                    unit of motor table counter              : pixel count
    8      :     283ms  WRITE SOMETHING??? (index=0x10)  164
    9-   10:     284ms  [gl841:pixels_setup] ->  0x00     Read pixel clock setup.
                                                                                        gl841 test mode      : normal mode (to capture image from AFE)
                                                                                        digital sharing gain : 8 times system (4 times is more precise)
                                                                                        power on             : off
                                                                                        scanning mode        : 12 clocks/pixel normal mode for scanning (pixel rate colour, fine grey and fine line art)
   11      :     286ms   0x18 -> [gl841:pixels_setup]    Write pixel clock setup.
                                                                     gl841 test mode      : normal mode (to capture image from AFE)
                                                                    *digital sharing gain : 4 times system (4 times is more precise)
                                                                    *power on             : on
                                                                     scanning mode        : 12 clocks/pixel normal mode for scanning (pixel rate colour, fine grey and fine line art)
   12      :     336ms  READ SOMETHING???   12
   13-   14:     337ms  [gl841:scanner_setup] ->  0x00     Read scanner setup.
                                                                                         scan process                  : disable
                                                                                         shading area                  : whole line
                                                                                         DRAM size                     : 4Mx1
                                                                                         DRAM size                     : 4M or 8M
                                                                                         shading                       : disable
                                                                                         watchdog timer (register 0x1e): disable
                                                                                         scanner type                  : CCD
   15-   16:     339ms  [gl841:scanner_status] ->  0xd8     Read scanner status.
                                                                                         motor is           : not processing
                                                                                         front end is       : not busy (ready to read/write)
                                                                                         lamp is            : off
                                                                                        *scanner is position: home
                                                                                        *scanning is        : finished
                                                                                         motor feeding      : not finished
                                                                                        *image buffer is    : empty
                                                                                         power              : on
   17      :     341ms   0x40 -> [gl841:lamp_setup]    Write lamp behaviour setup.
                                                                     lamp on time           : 0 minutes
                                                                     lamp power             : off
                                                                     transparency lamp power: off
                                                                    *dpi function           : deletion
                                                                     lamp sleeping mode     : disable
   18      :     342ms   0x00 -> [gl841:gpio8_1_data]    Write state of GPIO pins 8 to 1.
                                                                     gpio9 : 0
                                                                     gpio10: 0
                                                                     gpio11: 0
                                                                     gpio12: 0
                                                                     gpio13: 0
                                                                     gpio14: 0
                                                                     gpio15: 0
                                                                     gpio16: 0
   19      :     343ms   0x81 -> [gl841:gpio16_9_data]    Write state of GPIO pins 16 to 9.
                                                                    *gpio9 : 1
                                                                     gpio10: 0
                                                                     gpio11: 0
                                                                     gpio12: 0
                                                                     gpio13: 0
                                                                     gpio14: 0
                                                                     gpio15: 0
                                                                    *gpio16: 1
   20      :     344ms   0x02 -> [gl841:motor_gpio17_18]    Write Set motor pins and GPIO17-18.
                                                                     GPO17    : 0
                                                                    *GPO18    : 1
                                                                     GPOM11   : select as GPIO11
                                                                     GPOM12   : select as GPIO12
                                                                     GPOM13   : select as GPIO13
                                                                     Multifilm: motor phase normal
   21      :     345ms   0x81 -> [gl841:gpio16_9_data]    Write state of GPIO pins 16 to 9.
                                                                     gpio9 : 1
                                                                     gpio10: 0
                                                                     gpio11: 0
                                                                     gpio12: 0
                                                                     gpio13: 0
                                                                     gpio14: 0
                                                                     gpio15: 0
                                                                     gpio16: 1
   22      :     346ms   0x80 -> [gl841:gpio8_1_dir]    Write direction of GPIO pins 8 to 1.
                                                                     gpio1 : in
                                                                     gpio2 : in
                                                                     gpio3 : in
                                                                     gpio4 : in
                                                                     gpio5 : in
                                                                     gpio6 : in
                                                                     gpio7 : in
                                                                    *gpio8 : out
   23      :     347ms   0x00 -> [gl841:gpio13_18_led_control]    Write setup for GPIO pins 13 to 18 for normal or LED (blinking) operation.
                                                                     gpio13: Normal
                                                                     gpio14: Normal
                                                                     gpio15: Normal
                                                                     gpio16: Normal
                                                                     gpio17: Normal
                                                                     gpio18: Normal
   24      :     348ms   0x02 -> [gl841:motor_gpio17_18]    Write Set motor pins and GPIO17-18.
                                                                     GPO17    : 0
                                                                     GPO18    : 1
                                                                     GPOM11   : select as GPIO11
                                                                     GPOM12   : select as GPIO12
                                                                     GPOM13   : select as GPIO13
                                                                     Multifilm: motor phase normal
   25      :     349ms   0xef -> [gl841:gpio16_9_dir]    Write direction of GPIO pins 16 to 9.
                                                                    *gpio9 : out
                                                                    *gpio10: out
                                                                    *gpio11: out
                                                                    *gpio12: out
                                                                     gpio13: in
                                                                    *gpio14: out
                                                                    *gpio15: out
                                                                    *gpio16: out
   26      :     350ms   0x00 -> [gl841:gpio13_18_led_control]    Write setup for GPIO pins 13 to 18 for normal or LED (blinking) operation.
                                                                     gpio13: Normal
                                                                     gpio14: Normal
                                                                     gpio15: Normal
                                                                     gpio16: Normal
                                                                     gpio17: Normal
                                                                     gpio18: Normal
   27      :     351ms   0x00 -> [gl841:gpio13_18_led_control]    Write setup for GPIO pins 13 to 18 for normal or LED (blinking) operation.
                                                                     gpio13: Normal
                                                                     gpio14: Normal
                                                                     gpio15: Normal
                                                                     gpio16: Normal
                                                                     gpio17: Normal
                                                                     gpio18: Normal
   28      :     352ms   0x02 -> [gl841:motor_gpio17_18]    Write Set motor pins and GPIO17-18.
                                                                     GPO17    : 0
                                                                     GPO18    : 1
                                                                     GPOM11   : select as GPIO11
                                                                     GPOM12   : select as GPIO12
                                                                     GPOM13   : select as GPIO13
                                                                     Multifilm: motor phase normal
   29      :     353ms   0xef -> [gl841:gpio16_9_dir]    Write direction of GPIO pins 16 to 9.
                                                                     gpio9 : out
                                                                     gpio10: out
                                                                     gpio11: out
                                                                     gpio12: out
                                                                     gpio13: in
                                                                     gpio14: out
                                                                     gpio15: out
                                                                     gpio16: out
   30      :     451ms   0x80 -> [gl841:gpio8_1_data]    Write state of GPIO pins 8 to 1.
                                                                    *gpio9 : 0
                                                                     gpio10: 0
                                                                     gpio11: 0
                                                                     gpio12: 0
                                                                     gpio13: 0
                                                                     gpio14: 0
                                                                     gpio15: 0
                                                                     gpio16: 1
   31      :     551ms   0x80 -> [gl841:gpio16_9_data]    Write state of GPIO pins 16 to 9.
                                                                     gpio9 : 0
                                                                     gpio10: 0
                                                                     gpio11: 0
                                                                     gpio12: 0
                                                                     gpio13: 0
                                                                     gpio14: 0
                                                                     gpio15: 0
                                                                     gpio16: 1
   32      :     552ms   0x03 -> [gl841:motor_gpio17_18]    Write Set motor pins and GPIO17-18.
                                                                    *GPO17    : 1
                                                                     GPO18    : 1
                                                                     GPOM11   : select as GPIO11
                                                                     GPOM12   : select as GPIO12
                                                                     GPOM13   : select as GPIO13
                                                                     Multifilm: motor phase normal
   33      :     651ms   0x82 -> [gl841:gpio16_9_data]    Write state of GPIO pins 16 to 9.
                                                                     gpio9 : 0
                                                                    *gpio10: 1
                                                                     gpio11: 0
                                                                     gpio12: 0
                                                                     gpio13: 0
                                                                     gpio14: 0
                                                                     gpio15: 0
                                                                     gpio16: 1
   34-   60:     652ms  Setup WM8199 UNKNOWN, Offset DACs and PGA Gains
   61      :     683ms   0x80 -> [gl841:scanner_setup]    Write scanner setup.
                                                                     scan process                  : disable
                                                                     shading area                  : whole line
                                                                     DRAM size                     : 4Mx1
                                                                     DRAM size                     : 4M or 8M
                                                                     shading                       : disable
                                                                     watchdog timer (register 0x1e): disable
                                                                    *scanner type                  : CIS
   62      :     684ms   0x38 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                     deceleration curve                                   : table 4
                                                                     deceleration on home sensor                          : rising edge
                                                                     motor direction                                      : forwards
                                                                    *number of tables to use for accelaration/deceleration: 2
                                                                    *motor power and phase                                : on
                                                                    *auto homing at end of scan                           : enable
                                                                     forward/backward movement on buffer full             : disable
                                                                     on auto-homing, go to home position                  : yes
   63      :     685ms   0x40 -> [gl841:lamp_setup]    Write lamp behaviour setup.
                                                                     lamp on time           : 0 minutes
                                                                     lamp power             : off
                                                                     transparency lamp power: off
                                                                     dpi function           : deletion
                                                                     lamp sleeping mode     : disable
   64      :     686ms   0x10 -> [gl841:front_end_setup]    Write analog front end setup.
                                                                     front end operation type       : ESIC type 1
                                                                     scan colour type               : colour
                                                                    *analog front end operation mode: mono/colour pixel-by-pixel
                                                                     bits per channel               : 8
                                                                     number of colours              : colour/grey
   65      :     687ms   0x40 -> [gl841:ccd_cis_setup]    Write scanner transducer setup.
                                                                     CCD pixel duration: 0 CCD pixel/system pixel
                                                                     gamma correction  : bypass
                                                                     lamp time out     : 1*lamptim = 0 minutes
                                                                    *CCD/CIS resolution: 1200dpi
   66      :     688ms   0x18 -> [gl841:pixels_setup]    Write pixel clock setup.
                                                                     gl841 test mode      : normal mode (to capture image from AFE)
                                                                     digital sharing gain : 4 times system (4 times is more precise)
                                                                     power on             : on
                                                                     scanning mode        : 12 clocks/pixel normal mode for scanning (pixel rate colour, fine grey and fine line art)
   67      :     689ms   0x00 -> [gl841:dma_setup]    Write DRAM DMA access setup.
                                                                     DMA direction under command mode          : write
                                                                     DMA/MPU access to dram under command mode : MPU
                                                                     clock per DMA access                      : 4 clocks/access (4clocks/16 bits or 4clocks/8 bits)
                                                                     DMA access type (SRAM/DRAM)               : dram
   68      :     690ms   0x00 -> [gl841:gamma_table_setup]    Write gamma table setup.
                                                                     blue  channel gamma table address 0x00 is a special value: no
                                                                     green channel gamma table address 0x00 is a special value: no
                                                                     red   channel gamma table address 0x00 is a special value: no
                                                                     blue  channel gamma table address 0xff is a special value: no
                                                                     green channel gamma table address 0xff is a special value: no
                                                                     red   channel gamma table address 0xff is a special value: no
                                                                     gamma table type                                         : increment
   69      :     691ms   0x10 -> [gl841:misc_setup]    Write clocks and interface setup.
                                                                     nWait delay                              : no delay
                                                                     short CCD SH(TG) period for film scanning: disable
                                                                     EPP interface speed for USB2.0           : normal
                                                                     scan direction enable                    : forwards
                                                                     system clock frequency                   : 30MHz
                                                                     unit of motor table counter              : pixel count
   70      :     692ms   0x00 -> [gl841:ram_setup]    Write image buffer memory setup.
                                                                     image buffer external memory type: dram
   71      :     693ms   0x01 -> [gl841:clear_line_count]    Write byte to clear line count.
                                                                    *Set count of lines scanned to zero.
   72-   76:     694ms   Set exposure time (2047, 3721, 3237) -> (R,G,B).
   78      :     700ms   0x00 -> [gl841:tg_clock_setup]    Write TG clock setup.
                                                                     CP and RS signals when the CCD is in the TG position : enable
                                                                     clock 1/2 signals when the CCD is in the TG position : enable
                                                                     CCD CP and RS polarity                               : normal
                                                                     clock 2 polarity                                     : normal
                                                                     clock 1 polarity                                     : normal
                                                                     tg polarity                                          : normal
                                                                     image sensor type                                    : not a toshiba CIS
                                                                     CCD CP and RS state when TG is high                  : low
   79      :     701ms   0x01 -> [gl841:tg_width]    Write CCD TG width and mode.
                                                                    *CCD TG width: 1
                                                                     CCD TG mode : without dummy line CCD TG type
   80      :     702ms   0x00 -> [gl841:clock_setup]    Write clock behaviour.
                                                                     CCD clock speed multiple for image capture : 1
                                                                     System clocks to delay by for CCD clock 1/2: 0
                                                                     Cycles per pixel for CCD clock 1/2         : half
                                                                     CCD clock speed multiple for dummy line    : 1
                                                                     clock/TG style                             : non-Canon CIS
   81      :     703ms   0x50 -> [gl841:expdmy]    Write exposure time for dummy line (80 *256*pixel_time) to the GL841.
   82      :     704ms   0x00 -> [gl841:clock_setup_2]    Write clock setup.
                                                                     CCD clamping             : pixel
                                                                     clock 3 polarity         : normal
                                                                     clock 4 polarity         : normal
                                                                     CCD clocks 1 and 2 output: automatic
                                                                     CCD clocks 3 and 4 output: automatic
   83      :     705ms   0x00 -> [gl841:ccd_clk1]    Write clock speeds and toggle settings.
                                                                     CCD Line Period  : 1*lperiod (= 0)
                                                                     Watch dog timeout: single
                                                                     CCD clock speed  : doesn't depend on scan area
                                                                     CCD clock 1      : don't use toggle function
                                                                     CCD clock 3      : don't use toggle function
                                                                     CCD clock 4      : don't use toggle function
   84      :     706ms   0x01 -> [gl841:tg_shoulder]    Write CCD TG shoulder width and clock polarities.
                                                                    *CCD TG shoulder width: 1
                                                                     CCD CLKs 2 and 1     : high
                                                                     CCD CLKs 3           : high
                                                                     CCD CLKs 4           : high
   85      :     707ms   0x10 -> [gl841:watchdog]    Write watchdog timer time and CIS vertical DPI.
                                                                     CIS vertical dpi or CCD dummy lines: cis: full dpi,   ccd: no dummy line
                                                                    *Watchdog time                      : 30seconds
   86      :     708ms   1 -> [gl841:scanfed]    Write move to scanning position using table one under two table operation (1) to the GL841.
   87      :     709ms   32 -> [gl841:bufsel]    Write buffer forward/backward movement condition (131072 words) to the GL841.
   88-   91:     710ms   Setup motor movement profile.
                                                                                         forward  steps: 32
                                                                                         backward steps: 32
                                                                                         length of table 1 (forward  accel/decel): 5
                                                                                         length of table 2 (backward accel/decel): 5
   92-   94:     714ms      1224 -> [gl841:lincnt]    Write the scan lines number (1224) to the GL841.
   95      :     717ms   0xff -> [gl841:lamppwm]    Write PWM duty cycle (256/256=1.000) to set lamp power to the GL841.
   96-   97:     718ms   0x4b0 -> [gl841:dpiset]    Write resolution (1200 dpi) to the GL841.
   98      :     720ms   128 -> [gl841:bwhi]    Write black and white high threshold (128) to the GL841.
   99      :     721ms   128 -> [gl841:bwlow]    Write black and white low threshold (128) to the GL841.
  100-  101:     722ms   0x007f -> [gl841:strpixel]    Write the beginning pixel position (124 pixels) to the GL841.
  102-  103:     724ms   0x288a -> [gl841:endpixel]    Write the end pixel position (10375 pixels) to the GL841.
  104      :     726ms   0x7e -> [gl841:dummy]    Write the dummy/optical_black pixel position (123 pixels) to the GL841.
  105-  107:     727ms     15302 -> [gl841:maxwd]    Write  Write the number of words per scanline (15302), the scanner will pause scanning if the image buffer has less than this amount of free space, to the GL841.
  108-  109:     730ms   0x4fc1 -> [gl841:lperiod]    Write line period (20417 pixels) to the GL841.
  110-  112:     732ms         1 -> [gl841:feedl]    Write the number of lines to feed during motor move (1) to the GL841.
  113      :     735ms   0x03 -> [gl841:rhi]    Write setup to read the MSB of the red   channel R[15:8] on phase 3 of the ADC sequence to the GL841.
  114      :     736ms   0x05 -> [gl841:rlow]    Write setup to read the LSB of the red   channel R[7:0]  on phase 5 of the ADC sequence to the GL841.
  115      :     737ms   0x02 -> [gl841:ghi]    Write setup to read the MSB of the green channel G[15:8] on phase 2 of the ADC sequence to the GL841.
  116      :     738ms   0x05 -> [gl841:glow]    Write setup to read the LSB of the green channel G[7:0]  on phase 5 of the ADC sequence to the GL841.
  117      :     739ms   0x02 -> [gl841:bhi]    Write setup to read the MSB of the blue  channel B[15:8] on phase 2 of the ADC sequence to the GL841.
  118      :     740ms   0x05 -> [gl841:blow]    Write setup to read the LSB of the blue  channel B[7:0]  on phase 5 of the ADC sequence to the GL841.
  119      :     741ms   0x03 -> [gl841:vsmp_setup]    Write setup of image sampling.
                                                                     *pulse width: 3
                                                                      phase      : 0  (3 phase/pixel)
  120      :     742ms   0x03 -> [gl841:bsmp_setup]    Write setup of dark voltage sampling.
                                                                     *pulse width: 3
                                                                      phase      : 0  (3 phase/pixel)
  121      :     743ms   0x40 -> [gl841:adc_clocks]    Write setup of ADC clocks.
                                                                      front-end reset level clamp for line rate scanning: 0
                                                                      front-end CDSREF for line rate scanning           : 0
                                                                     *reset level clamp on a pixel by pixel basis       : select
                                                                      ADC clocm polarity                                : normal
  122      :     744ms   0x02 -> [gl841:accel_decel]    Write setup of acceleration/deceleration.
                                                                     *acceleration/deceleration stop time  : 2
                                                                      deceleration step whenever going home: 1 steps
  123      :     745ms   5 -> [gl841:fmovdec]    Write length of acceleration table 5 (go home fast deceleration) to 5 to the GL841.
  124-  126:     746ms         0 -> [gl841:z1mod]    Write slope curve table mode under buffer full moving (0) to the GL841.
  127-  129:     749ms         0 -> [gl841:z2mod]    Write slope curve table mode moving to start of scan (0) to the GL841.
  130      :     752ms   0xff -> [gl841:phfreq]    Write PWM frequency for uni-polar motor phase of 0.023438MHz to the GL841.
  131      :     753ms   0x7f -> [gl841:stepmov]    Write step and duty cycle for scanning movement (table 1).
                                                                     *PWM duty cycle for uni-polar motor phase: 64/64 (=1.00)
                                                                     *Step selection                          : half step (bi-polar) / half step (uni-polar)
  132      :     754ms   0x7f -> [gl841:fastmov]    Write step and duty cycle for fast movement (table 2).
                                                                     *PWM duty cycle for uni-polar motor phase: 64/64 (=1.00)
                                                                     *Step selection                          : half step (bi-polar) / half step (uni-polar)
  133      :     755ms   5 -> [gl841:fshdec]    Write length of acceleration table 3 (scan finish deceleration) to 5 to the GL841.
  134      :     756ms   5 -> [gl841:fmovno]    Write length of acceleration table 4 (fast moving accel/deccl) to 5 to the GL841.
  135      :     757ms   0x03 -> [gl841:motor_gpio17_18]    Write Set motor pins and GPIO17-18.
                                                                      GPO17    : 1
                                                                      GPO18    : 1
                                                                      GPOM11   : select as GPIO11
                                                                      GPOM12   : select as GPIO12
                                                                      GPOM13   : select as GPIO13
                                                                      Multifilm: motor phase normal
  136      :     758ms   0x82 -> [gl841:gpio16_9_data]    Write state of GPIO pins 16 to 9.
                                                                      gpio9 : 0
                                                                      gpio10: 1
                                                                      gpio11: 0
                                                                      gpio12: 0
                                                                      gpio13: 0
                                                                      gpio14: 0
                                                                      gpio15: 0
                                                                      gpio16: 1
  137      :     759ms   0x80 -> [gl841:gpio8_1_data]    Write state of GPIO pins 8 to 1.
                                                                      gpio9 : 0
                                                                     *gpio10: 0
                                                                      gpio11: 0
                                                                      gpio12: 0
                                                                      gpio13: 0
                                                                      gpio14: 0
                                                                      gpio15: 0
                                                                      gpio16: 1
  138      :     760ms   0xef -> [gl841:gpio16_9_dir]    Write direction of GPIO pins 16 to 9.
                                                                      gpio9 : out
                                                                      gpio10: out
                                                                      gpio11: out
                                                                      gpio12: out
                                                                      gpio13: in
                                                                      gpio14: out
                                                                      gpio15: out
                                                                      gpio16: out
  139      :     761ms   0x80 -> [gl841:gpio8_1_dir]    Write direction of GPIO pins 8 to 1.
                                                                      gpio1 : in
                                                                      gpio2 : in
                                                                      gpio3 : in
                                                                      gpio4 : in
                                                                      gpio5 : in
                                                                      gpio6 : in
                                                                      gpio7 : in
                                                                      gpio8 : out
  140      :     762ms   0x00 -> [gl841:rsh]    Write CCD RS rising edge position (0) to the GL841.
  141      :     763ms   0x00 -> [gl841:rsl]    Write CCD RS falling edge position (0) to the GL841.
  142      :     764ms   0x00 -> [gl841:cph]    Write CP rising edge position (0) to the GL841.
  143      :     765ms   0x00 -> [gl841:cpl]    Write CP falling edge position (0) to the GL841.
  144-  146:     766ms   0x00000 -> [gl841:ck1map]    Write CCD clock 1 mapping bits (0x00000) to the GL841.
  147-  149:     769ms   0x00000 -> [gl841:ck3map]    Write CCD clock 3 mapping bits (0x00000) to the GL841.
  150-  152:     772ms   0x00000 -> [gl841:ck4map]    Write CCD clock 4 mapping bits (0x00000) to the GL841.
  153      :     775ms   0x00 -> [gl841:clock_pos]    Write setup for position of clocks relative to system clock.
                                                                      delay vsmp and bsmp outputs                                                     : no delay
                                                                      position AFE dark sample pulse (vsmp) on the following edge of the system clock : positive
                                                                      position AFE video sample pulse (bsmp) on the following edge of the system clock: positive
                                                                      position CCD CP pulse on the following edge of the system clock                 : positive
                                                                      position CCD RS pulse on the following edge of the system clock                 : positive
                                                                      position clock 4 pulse on the following edge of the system clock                : positive
                                                                      position clock 3 pulse on the following edge of the system clock                : positive
                                                                      position clocks 1 and 2 pulse (vsmp) on the following edge of the system clock  : positive
  154      :     776ms   0x00 -> [gl841:gpio13_18_led_control]    Write setup for GPIO pins 13 to 18 for normal or LED (blinking) operation.
                                                                      gpio13: Normal
                                                                      gpio14: Normal
                                                                      gpio15: Normal
                                                                      gpio16: Normal
                                                                      gpio17: Normal
                                                                      gpio18: Normal
  155      :     777ms   0x00 -> [gl841:delays]    Write setup delays.
                                                                      led blinking speed: 0 ms
                                                                      vsmp output delay : no delay
                                                                      bsmp output delay : no delay
  156      :     778ms   0x00 -> [gl841:vref]    Write setup reference voltages of the motor driver IC.
                                                                      go home moving     : 0
                                                                      fast forward moving: 0
                                                                      backward moving    : 0
                                                                      scan forward moving: 0
  157-  158:     779ms   0x000 -> [gl841:roffset]    Write offset for the   red channel (0) to the GL841.
  159-  160:     781ms   0x000 -> [gl841:goffset]    Write offset for the green channel (0) to the GL841.
  161-  162:     783ms   0x000 -> [gl841:boffset]    Write offset for the  blue channel (0) to the GL841.
  163      :     785ms   0x00 -> [gl841:led_array]    Write various bits.
                                                                      Automatic channel offset configuration or RLC/ACYC pulsing for CIS colour scan : disable
                                                                      select ADCCLK output by                                                        : default
                                                                      CIS LED grey mode                                                              : normal grey (controlling CIS single colour LED array)
                                                                      automatic offset configuration for CIS scanning                                : disable
                                                                      generate RLC/ACYC pulse to trigger WM8199 auto-cycling for line-by-line colour scanning : disable
                                                                      output PH_Y status                                                             : disable
                                                                      PH_Y output of the YBIT                                                        : disable
  164      :     786ms  WRITE SOMETHING??? (index=0x0f)   1
  165-  218:     787ms  Setup WM8199 long sequence including Offset DACs and PGA Gains.
  219-  220:     842ms  [gl841:scanner_status] ->  0xc8     Read scanner status.
                                                                                           motor is           : not processing
                                                                                           front end is       : not busy (ready to read/write)
                                                                                           lamp is            : off
                                                                                           scanner is position: home
                                                                                          *scanning is        : not finished
                                                                                           motor feeding      : not finished
                                                                                           image buffer is    : empty
                                                                                           power              : on
  221-  222:     892ms  [gl841:scanner_status] ->  0xc8     Read scanner status.
                                                                                           motor is           : not processing
                                                                                           front end is       : not busy (ready to read/write)
                                                                                           lamp is            : off
                                                                                           scanner is position: home
                                                                                           scanning is        : not finished
                                                                                           motor feeding      : not finished
                                                                                           image buffer is    : empty
                                                                                           power              : on
  223-  226:     943ms   0b 11 1000 0010  -> [gpio18..9]   set GPIO18-9 to known state (includes pins which control motor?)
  227-  228:     947ms  [gl841:scanner_status] ->  0xc8     Read scanner status.
                                                                                           motor is           : not processing
                                                                                           front end is       : not busy (ready to read/write)
                                                                                           lamp is            : off
                                                                                           scanner is position: home
                                                                                           scanning is        : not finished
                                                                                           motor feeding      : not finished
                                                                                           image buffer is    : empty
                                                                                           power              : on
  229-  234:     962ms   Check motor status [0x40]=0x00 [0x02]=0x38 [0x41]=0xc8.
  235-  240:     968ms   Check motor status [0x40]=0x00 [0x02]=0x38 [0x41]=0xc8.
  241-  247:     974ms  Write motor slope curve mapping table 1 (1200dpi) to image buffer  (20 bytes at address 0x10000)
  248-  254:     981ms  Write motor slope curve mapping table 2 (1200dpi) to image buffer  (20 bytes at address 0x10200)
  255-  261:     988ms  Write motor slope curve mapping table 3 (1200dpi) to image buffer  (20 bytes at address 0x10400)
  262-  268:     995ms  Write motor slope curve mapping table 4 (1200dpi) to image buffer  (20 bytes at address 0x10600)
  269-  275:    1002ms  Write motor slope curve mapping table 5 (1200dpi) to image buffer  (20 bytes at address 0x10800)
  276-  302:    1009ms  Setup WM8199 UNKNOWN, Offset DACs and PGA Gains
  303      :    1036ms   0x02 -> [gl841:tg_shoulder]    Write CCD TG shoulder width and clock polarities.
                                                                      *CCD TG shoulder width: 2
                                                                       CCD CLKs 2 and 1     : high
                                                                       CCD CLKs 3           : high
                                                                       CCD CLKs 4           : high
  304-  305:    1037ms   0x12c -> [gl841:dpiset]    Write resolution (300 dpi) to the GL841.
  306-  307:    1039ms   0x19f8 -> [gl841:lperiod]    Write line period (6648 pixels) to the GL841.
  308-  309:    1041ms       480 -> [gl841:feedl]    Write the number of lines to feed during motor move (480) to the GL841.
  310      :    1043ms   0x05 -> [gl841:rhi]    Write setup to read the MSB of the red   channel R[15:8] on phase 5 of the ADC sequence to the GL841.
  311      :    1044ms   0x07 -> [gl841:rlow]    Write setup to read the LSB of the red   channel R[7:0]  on phase 7 of the ADC sequence to the GL841.
  312      :    1045ms   0x03 -> [gl841:ghi]    Write setup to read the MSB of the green channel G[15:8] on phase 3 of the ADC sequence to the GL841.
  313      :    1046ms   0x3a -> [gl841:vsmp_setup]    Write setup of image sampling.
                                                                      *pulse width: 2
                                                                      *phase      : 7  (9 phase/pixel)
  314      :    1047ms   0x25 -> [gl841:phfreq]    Write PWM frequency for uni-polar motor phase of 0.157895MHz to the GL841.
  315      :    1048ms   0x30 -> [gl841:stepmov]    Write step and duty cycle for scanning movement (table 1).
                                                                      *PWM duty cycle for uni-polar motor phase: 49/64 (=0.77)
                                                                      *Step selection                          : full step (bi-polar) / two phase on full step (uni-polar)
  316      :    1049ms   0x30 -> [gl841:fastmov]    Write step and duty cycle for fast movement (table 2).
                                                                      *PWM duty cycle for uni-polar motor phase: 49/64 (=0.77)
                                                                      *Step selection                          : full step (bi-polar) / two phase on full step (uni-polar)
  317      :    1050ms   0x1a -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                      *deceleration on home sensor                          : falling edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                       motor power and phase                                : on
                                                                      *auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  318      :    1051ms   Start motor movement.
  319-  376:    1052ms  Wait for scanner to reach home position. ([0x41] bit 3)==1
  377      :    1302ms   0x0a -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : falling edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                      *motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  378      :    1303ms   0x0a -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : falling edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  379-  384:    1304ms   Check motor status [0x40]=0x00 [0x02]=0x0a [0x41]=0xc0.
  385-  386:    1310ms   0x00fb -> [gl841:strpixel]    Write the beginning pixel position (246 pixels) to the GL841.
  387-  388:    1312ms   0x28db -> [gl841:endpixel]    Write the end pixel position (10454 pixels) to the GL841.
  389-  394:    1323ms   Check motor status [0x40]=0x00 [0x02]=0x0a [0x41]=0xc0.
  395-  397:    1329ms       180 -> [gl841:feedl]    Write the number of lines to feed during motor move (180) to the GL841.
  398      :    1332ms   0x1a -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : falling edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                      *motor power and phase                                : on
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  399      :    1333ms   0x18 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                      *deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                       motor power and phase                                : on
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  400      :    1334ms   Start motor movement.
  401-  796:    1335ms  Wait for motor to stop processing (with other checks??). ([0x41] bit 0)==1
  797      :    1733ms   0x08 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                      *motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  798      :    1734ms   32 -> [gl841:bufsel]    Write buffer forward/backward movement condition (131072 words) to the GL841.
  799      :    1735ms   0x08 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 2
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  800      :    1736ms   0x40 -> [gl841:lamp_setup]    Write lamp behaviour setup.
                                                                       lamp on time           : 0 minutes
                                                                       lamp power             : off
                                                                       transparency lamp power: off
                                                                       dpi function           : deletion
                                                                       lamp sleeping mode     : disable
  801      :    1737ms   0x18 -> [gl841:pixels_setup]    Write pixel clock setup.
                                                                       gl841 test mode      : normal mode (to capture image from AFE)
                                                                       digital sharing gain : 4 times system (4 times is more precise)
                                                                       power on             : on
                                                                       scanning mode        : 12 clocks/pixel normal mode for scanning (pixel rate colour, fine grey and fine line art)
  802      :    1738ms   0x18 -> [gl841:front_end_setup]    Write analog front end setup.
                                                                       front end operation type       : ESIC type 1
                                                                      *scan colour type               : green
                                                                       analog front end operation mode: mono/colour pixel-by-pixel
                                                                       bits per channel               : 8
                                                                       number of colours              : colour/grey
  803      :    1739ms   0x40 -> [gl841:ccd_cis_setup]    Write scanner transducer setup.
                                                                       CCD pixel duration: 0 CCD pixel/system pixel
                                                                       gamma correction  : bypass
                                                                       lamp time out     : 1*lamptim = 0 minutes
                                                                       CCD/CIS resolution: 1200dpi
  804-  809:    1740ms   Check motor status [0x40]=0x00 [0x02]=0x08 [0x41]=0xe0.
  810-  836:    1746ms  Setup WM8199 UNKNOWN, Offset DACs and PGA Gains
  837      :    1773ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                      *number of tables to use for accelaration/deceleration: 1
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  838      :    1774ms   0x10 -> [gl841:front_end_setup]    Write analog front end setup.
                                                                       front end operation type       : ESIC type 1
                                                                      *scan colour type               : colour
                                                                       analog front end operation mode: mono/colour pixel-by-pixel
                                                                       bits per channel               : 8
                                                                       number of colours              : colour/grey
  839-  840:    1775ms   Setup number of forward steps (100) and backward steps (100) for scan head in the GL841.
  841-  842:    1777ms   0x258 -> [gl841:dpiset]    Write resolution (600 dpi) to the GL841.
  843      :    1779ms   0x69 -> [gl841:dummy]    Write the dummy/optical_black pixel position (100 pixels) to the GL841.
  844      :    1780ms         2 -> [gl841:feedl]    Write the number of lines to feed during motor move (2) to the GL841.
  845      :    1781ms   0x02 -> [gl841:ghi]    Write setup to read the MSB of the green channel G[15:8] on phase 2 of the ADC sequence to the GL841.
  846      :    1782ms   0x02 -> [gl841:gpio16_9_data]    Write state of GPIO pins 16 to 9.
                                                                       gpio9 : 0
                                                                       gpio10: 1
                                                                       gpio11: 0
                                                                       gpio12: 0
                                                                       gpio13: 0
                                                                       gpio14: 0
                                                                       gpio15: 0
                                                                      *gpio16: 0
  847-  852:    1783ms   Check motor status [0x40]=0x00 [0x02]=0x00 [0x41]=0xc0.
  853-  859:    1789ms  Write motor slope curve mapping table 4 (1200dpi) to image buffer  (256 bytes at address 0x10600)
  860-  866:    1796ms  Write motor slope curve mapping table 5 (1200dpi) to image buffer  (256 bytes at address 0x10800)
  867-  873:    1803ms  Write motor slope curve mapping table 1 (1200dpi) to image buffer  (20 bytes at address 0x10000)
  874-  880:    1810ms  Write motor slope curve mapping table 2 (1200dpi) to image buffer  (20 bytes at address 0x10200)
  881-  887:    1817ms  Write motor slope curve mapping table 3 (1200dpi) to image buffer  (20 bytes at address 0x10400)
  888      :    1824ms   0x10 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                      *motor power and phase                                : on
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  889      :    1825ms   64 -> [gl841:fmovdec]    Write length of acceleration table 5 (go home fast deceleration) to 64 to the GL841.
  890      :    1826ms   0x7f -> [gl841:stepmov]    Write step and duty cycle for scanning movement (table 1).
                                                                      *PWM duty cycle for uni-polar motor phase: 64/64 (=1.00)
                                                                      *Step selection                          : half step (bi-polar) / half step (uni-polar)
  891      :    1827ms   0x7f -> [gl841:fastmov]    Write step and duty cycle for fast movement (table 2).
                                                                      *PWM duty cycle for uni-polar motor phase: 64/64 (=1.00)
                                                                      *Step selection                          : half step (bi-polar) / half step (uni-polar)
  892      :    1828ms   64 -> [gl841:fmovno]    Write length of acceleration table 4 (fast moving accel/deccl) to 64 to the GL841.
  893-  897:    1829ms   Set exposure time (3335, 3335, 3335) -> (R,G,B).
  899      :    1835ms   0x50 -> [gl841:lamp_setup]    Write lamp behaviour setup.
                                                                       lamp on time           : 0 minutes
                                                                      *lamp power             : on
                                                                       transparency lamp power: off
                                                                       dpi function           : deletion
                                                                       lamp sleeping mode     : disable
  900-  905:    1836ms   Check motor status [0x40]=0x00 [0x02]=0x10 [0x41]=0xc4.
  906      :    1842ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                      *motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  907-  908:    1843ms         3 -> [gl841:lincnt]    Write the scan lines number (3) to the GL841.
  909      :    1845ms   0x006a -> [gl841:strpixel]    Write the beginning pixel position (101 pixels) to the GL841.
  910-  911:    1846ms   0x145e -> [gl841:endpixel]    Write the end pixel position (5209 pixels) to the GL841.
  912-  913:    1848ms      7662 -> [gl841:maxwd]    Write  Write the number of words per scanline (7662), the scanner will pause scanning if the image buffer has less than this amount of free space, to the GL841.
  914-  919:    1850ms   Check motor status [0x40]=0x00 [0x02]=0x00 [0x41]=0xc4.
  920-  921:    1856ms   0x1100 -> [gl841:ramaddr]    Write start address for image RAM access (0x11000) to the GL841.
  922      :    1858ms   0x01 -> [gl841:clear_line_count]    Write byte to clear line count.
                                                                       Set count of lines scanned to zero.
  923-  924:    1859ms  [gl841:motor_setup] ->  0x00     Read motor behaviour setup.
                                                                                            deceleration curve                                   : table 4
                                                                                            deceleration on home sensor                          : rising edge
                                                                                            motor direction                                      : forwards
                                                                                            number of tables to use for accelaration/deceleration: 1
                                                                                            motor power and phase                                : off
                                                                                            auto homing at end of scan                           : disable
                                                                                            forward/backward movement on buffer full             : disable
                                                                                            on auto-homing, go to home position                  : yes
  925      :    1861ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  926      :    1862ms   0x81 -> [gl841:scanner_setup]    Write scanner setup.
                                                                      *scan process                  : enable
                                                                       shading area                  : whole line
                                                                       DRAM size                     : 4Mx1
                                                                       DRAM size                     : 4M or 8M
                                                                       shading                       : disable
                                                                       watchdog timer (register 0x1e): disable
                                                                       scanner type                  : CIS
  927      :    1863ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  928      :    1864ms   Start motor movement.
  929-  948:    1865ms  Wait for image buffer to contain data. ([0x41] bit 6)==1
  949-  954:    1885ms  [gl841:maxwd]     ->    7662    Read  Write the number of words per scanline (7662), the scanner will pause scanning if the image buffer has less than this amount of free space, from the GL841.
  955-  960:    1891ms  [gl841:validword]     ->    3820    Read number of bytes available to read from the image buffer (3820) from the GL841.
  961-  963:    1897ms  Multiple reads from image buffer  (7662 bytes)
  964      :    1909ms   0x80 -> [gl841:scanner_setup]    Write scanner setup.
                                                                      *scan process                  : disable
                                                                       shading area                  : whole line
                                                                       DRAM size                     : 4Mx1
                                                                       DRAM size                     : 4M or 8M
                                                                       shading                       : disable
                                                                       watchdog timer (register 0x1e): disable
                                                                       scanner type                  : CIS
  965-  970:    1910ms  [gl841:validword]     ->       0    Read number of bytes available to read from the image buffer (0) from the GL841.
  971-  972:    1916ms  [gl841:scanner_status] ->  0xd4     Read scanner status.
                                                                                           *motor is           : not processing
                                                                                            front end is       : not busy (ready to read/write)
                                                                                            lamp is            : on
                                                                                            scanner is position: not home
                                                                                           *scanning is        : finished
                                                                                           *motor feeding      : not finished
                                                                                           *image buffer is    : empty
                                                                                            power              : on
  973      :    1918ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  974-  978:    1919ms   Set exposure time (1679, 1679, 1679) -> (R,G,B).
  980-  985:    1925ms   Check motor status [0x40]=0x00 [0x02]=0x00 [0x41]=0xd4.
  986-  987:    1931ms   0x1100 -> [gl841:ramaddr]    Write start address for image RAM access (0x11000) to the GL841.
  988      :    1934ms   0x01 -> [gl841:clear_line_count]    Write byte to clear line count.
                                                                       Set count of lines scanned to zero.
  989-  990:    1935ms  [gl841:motor_setup] ->  0x00     Read motor behaviour setup.
                                                                                            deceleration curve                                   : table 4
                                                                                            deceleration on home sensor                          : rising edge
                                                                                            motor direction                                      : forwards
                                                                                            number of tables to use for accelaration/deceleration: 1
                                                                                            motor power and phase                                : off
                                                                                            auto homing at end of scan                           : disable
                                                                                            forward/backward movement on buffer full             : disable
                                                                                            on auto-homing, go to home position                  : yes
  991      :    1937ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  992      :    1938ms   0x81 -> [gl841:scanner_setup]    Write scanner setup.
                                                                      *scan process                  : enable
                                                                       shading area                  : whole line
                                                                       DRAM size                     : 4Mx1
                                                                       DRAM size                     : 4M or 8M
                                                                       shading                       : disable
                                                                       watchdog timer (register 0x1e): disable
                                                                       scanner type                  : CIS
  993      :    1939ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                       deceleration curve                                   : table 4
                                                                       deceleration on home sensor                          : rising edge
                                                                       motor direction                                      : forwards
                                                                       number of tables to use for accelaration/deceleration: 1
                                                                       motor power and phase                                : off
                                                                       auto homing at end of scan                           : disable
                                                                       forward/backward movement on buffer full             : disable
                                                                       on auto-homing, go to home position                  : yes
  994      :    1940ms   Start motor movement.
  995- 1012:    1941ms  Wait for image buffer to contain data. ([0x41] bit 6)==1
 1013- 1018:    1959ms  [gl841:maxwd]     ->    7662    Read  Write the number of words per scanline (7662), the scanner will pause scanning if the image buffer has less than this amount of free space, from the GL841.
 1019- 1024:    1965ms  [gl841:validword]     ->    3820    Read number of bytes available to read from the image buffer (3820) from the GL841.
 1025- 1027:    1971ms  Multiple reads from image buffer  (7662 bytes)
 1028      :    1983ms   0x80 -> [gl841:scanner_setup]    Write scanner setup.
                                                                       *scan process                  : disable
                                                                        shading area                  : whole line
                                                                        DRAM size                     : 4Mx1
                                                                        DRAM size                     : 4M or 8M
                                                                        shading                       : disable
                                                                        watchdog timer (register 0x1e): disable
                                                                        scanner type                  : CIS
 1029- 1034:    1983ms  [gl841:validword]     ->       0    Read number of bytes available to read from the image buffer (0) from the GL841.
 1035- 1036:    1989ms  [gl841:scanner_status] ->  0xd4     Read scanner status.
                                                                                             *motor is           : not processing
                                                                                              front end is       : not busy (ready to read/write)
                                                                                              lamp is            : on
                                                                                              scanner is position: not home
                                                                                             *scanning is        : finished
                                                                                             *motor feeding      : not finished
                                                                                             *image buffer is    : empty
                                                                                              power              : on
 1037      :    1991ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                        deceleration curve                                   : table 4
                                                                        deceleration on home sensor                          : rising edge
                                                                        motor direction                                      : forwards
                                                                        number of tables to use for accelaration/deceleration: 1
                                                                        motor power and phase                                : off
                                                                        auto homing at end of scan                           : disable
                                                                        forward/backward movement on buffer full             : disable
                                                                        on auto-homing, go to home position                  : yes
 1038- 1042:    1992ms   Set exposure time (2507, 2507, 851) -> (R,G,B).
 1044- 1049:    1998ms   Check motor status [0x40]=0x00 [0x02]=0x00 [0x41]=0xd4.
 1050- 1051:    2004ms   0x1100 -> [gl841:ramaddr]    Write start address for image RAM access (0x11000) to the GL841.
 1052      :    2006ms   0x01 -> [gl841:clear_line_count]    Write byte to clear line count.
                                                                        Set count of lines scanned to zero.
 1053- 1054:    2007ms  [gl841:motor_setup] ->  0x00     Read motor behaviour setup.
                                                                                              deceleration curve                                   : table 4
                                                                                              deceleration on home sensor                          : rising edge
                                                                                              motor direction                                      : forwards
                                                                                              number of tables to use for accelaration/deceleration: 1
                                                                                              motor power and phase                                : off
                                                                                              auto homing at end of scan                           : disable
                                                                                              forward/backward movement on buffer full             : disable
                                                                                              on auto-homing, go to home position                  : yes
 1055      :    2009ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                        deceleration curve                                   : table 4
                                                                        deceleration on home sensor                          : rising edge
                                                                        motor direction                                      : forwards
                                                                        number of tables to use for accelaration/deceleration: 1
                                                                        motor power and phase                                : off
                                                                        auto homing at end of scan                           : disable
                                                                        forward/backward movement on buffer full             : disable
                                                                        on auto-homing, go to home position                  : yes
 1056      :    2010ms   0x81 -> [gl841:scanner_setup]    Write scanner setup.
                                                                       *scan process                  : enable
                                                                        shading area                  : whole line
                                                                        DRAM size                     : 4Mx1
                                                                        DRAM size                     : 4M or 8M
                                                                        shading                       : disable
                                                                        watchdog timer (register 0x1e): disable
                                                                        scanner type                  : CIS
 1057      :    2011ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                        deceleration curve                                   : table 4
                                                                        deceleration on home sensor                          : rising edge
                                                                        motor direction                                      : forwards
                                                                        number of tables to use for accelaration/deceleration: 1
                                                                        motor power and phase                                : off
                                                                        auto homing at end of scan                           : disable
                                                                        forward/backward movement on buffer full             : disable
                                                                        on auto-homing, go to home position                  : yes
 1058      :    2012ms   Start motor movement.
 1059- 1076:    2013ms  Wait for image buffer to contain data. ([0x41] bit 6)==1
 1077- 1082:    2031ms  [gl841:maxwd]     ->    7662    Read  Write the number of words per scanline (7662), the scanner will pause scanning if the image buffer has less than this amount of free space, from the GL841.
 1083- 1088:    2037ms  [gl841:validword]     ->    3820    Read number of bytes available to read from the image buffer (3820) from the GL841.
 1089- 1091:    2044ms  Multiple reads from image buffer  (7662 bytes)
 1092      :    2056ms   0x80 -> [gl841:scanner_setup]    Write scanner setup.
                                                                       *scan process                  : disable
                                                                        shading area                  : whole line
                                                                        DRAM size                     : 4Mx1
                                                                        DRAM size                     : 4M or 8M
                                                                        shading                       : disable
                                                                        watchdog timer (register 0x1e): disable
                                                                        scanner type                  : CIS
 1093- 1098:    2056ms  [gl841:validword]     ->       0    Read number of bytes available to read from the image buffer (0) from the GL841.
 1099- 1100:    2062ms  [gl841:scanner_status] ->  0xd4     Read scanner status.
                                                                                             *motor is           : not processing
                                                                                              front end is       : not busy (ready to read/write)
                                                                                              lamp is            : on
                                                                                              scanner is position: not home
                                                                                             *scanning is        : finished
                                                                                             *motor feeding      : not finished
                                                                                             *image buffer is    : empty
                                                                                              power              : on
 1101      :    2064ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                        deceleration curve                                   : table 4
                                                                        deceleration on home sensor                          : rising edge
                                                                        motor direction                                      : forwards
                                                                        number of tables to use for accelaration/deceleration: 1
                                                                        motor power and phase                                : off
                                                                        auto homing at end of scan                           : disable
                                                                        forward/backward movement on buffer full             : disable
                                                                        on auto-homing, go to home position                  : yes
 1102- 1106:    2065ms   Set exposure time (2093, 2093, 1265) -> (R,G,B).
 1108- 1113:    2071ms   Check motor status [0x40]=0x00 [0x02]=0x00 [0x41]=0xd4.
 1114- 1115:    2077ms   0x1100 -> [gl841:ramaddr]    Write start address for image RAM access (0x11000) to the GL841.
 1116      :    2079ms   0x01 -> [gl841:clear_line_count]    Write byte to clear line count.
                                                                        Set count of lines scanned to zero.
 1117- 1118:    2080ms  [gl841:motor_setup] ->  0x00     Read motor behaviour setup.
                                                                                              deceleration curve                                   : table 4
                                                                                              deceleration on home sensor                          : rising edge
                                                                                              motor direction                                      : forwards
                                                                                              number of tables to use for accelaration/deceleration: 1
                                                                                              motor power and phase                                : off
                                                                                              auto homing at end of scan                           : disable
                                                                                              forward/backward movement on buffer full             : disable
                                                                                              on auto-homing, go to home position                  : yes
 1119      :    2082ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                        deceleration curve                                   : table 4
                                                                        deceleration on home sensor                          : rising edge
                                                                        motor direction                                      : forwards
                                                                        number of tables to use for accelaration/deceleration: 1
                                                                        motor power and phase                                : off
                                                                        auto homing at end of scan                           : disable
                                                                        forward/backward movement on buffer full             : disable
                                                                        on auto-homing, go to home position                  : yes
 1120      :    2083ms   0x81 -> [gl841:scanner_setup]    Write scanner setup.
                                                                       *scan process                  : enable
                                                                        shading area                  : whole line
                                                                        DRAM size                     : 4Mx1
                                                                        DRAM size                     : 4M or 8M
                                                                        shading                       : disable
                                                                        watchdog timer (register 0x1e): disable
                                                                        scanner type                  : CIS
 1121      :    2084ms   0x00 -> [gl841:motor_setup]    Write motor behaviour setup.
                                                                        deceleration curve                                   : table 4
                                                                        deceleration on home sensor                          : rising edge
                                                                        motor direction                                      : forwards
                                                                        number of tables to use for accelaration/deceleration: 1
                                                                        motor power and phase