The scanner seems to make many afe calibration passes. Perhaps your LED or sensors are getting weak. I think you can bypass this part of the calibration by adding info to your sane.d/gt68xx.conf:
afe 0x0a 0x00 0x09 0x01 0x09 0x01 see 'man sane-gt68xx' for more info. allan On Thu, Aug 4, 2011 at 9:34 PM, Fritjof <fritjofl at gmail.com> wrote: > Hi! > Before scanning one page, my scanner need 20 sec for preperation, for every > page, I assume this is not normal. I've had this problems for many years. > Help? > Version:scanimage (sane-backends) 1.0.22; backend version 1.0.22 > Hardware: Packard Bell Diamond 1200 plus > OS: Ubuntu 11.04 > DEBUG: > [sanei_debug] Setting debug level of gt68xx to 4. > [gt68xx] SANE GT68xx backend version 1.0 build 84 from sane-backends 1.0.22 > [gt68xx] sane_init: reading config file `gt68xx.conf' > [gt68xx] sane_init: config file line 25: trying to attach `usb 0x05d8 > 0x4002' > [gt68xx] sane_init: config file line 85: trying to attach `usb 0x055f > 0x021e' > [gt68xx] sane_init: config file line 94: trying to attach `usb 0x055f > 0x0218' > [gt68xx] sane_init: config file line 104: trying to attach `usb 0x055f > 0x0219' > [gt68xx] sane_init: config file line 118: trying to attach `usb 0x055f > 0x021a' > [gt68xx] sane_init: config file line 125: trying to attach `usb 0x055f > 0x021d' > [gt68xx] sane_init: config file line 129: trying to attach `usb 0x055f > 0x021f' > [gt68xx] sane_init: config file line 133: trying to attach `usb 0x055f > 0x021c' > [gt68xx] attach: trying to open device `libusb:005:007' > [gt68xx] attach: device `libusb:005:007' successfully opened > [gt68xx] attach: found Mustek flatbed scanner Bearpaw 1200 CU Plus at > libusb:005:007 > [gt68xx] sane_init: config file line 144: trying to attach `usb 0x055f > 0x021b' > [gt68xx] sane_init: config file line 148: trying to attach `usb 0x055f > 0x0210' > [gt68xx] sane_init: config file line 154: trying to attach `usb 0x043d > 0x002d' > [gt68xx] sane_init: config file line 158: trying to attach `usb 0x07b3 > 0x0401' > [gt68xx] sane_init: config file line 159: trying to attach `usb 0x07b3 > 0x0400' > [gt68xx] sane_init: config file line 169: trying to attach `usb 0x07b3 > 0x0402' > [gt68xx] sane_init: config file line 170: trying to attach `usb 0x07b3 > 0x0403' > [gt68xx] sane_init: config file line 179: trying to attach `usb 0x07b3 > 0x040b' > [gt68xx] sane_init: config file line 185: trying to attach `usb 0x07b3 > 0x040e' > [gt68xx] sane_init: config file line 189: trying to attach `usb 0x07b3 > 0x0412' > [gt68xx] sane_init: config file line 195: trying to attach `usb 0x07b3 > 0x045f' > [gt68xx] sane_init: config file line 199: trying to attach `usb 0x07b3 > 0x0462' > [gt68xx] sane_init: config file line 203: trying to attach `usb 0x07b3 > 0x0413' > [gt68xx] sane_init: config file line 207: trying to attach `usb 0x07b3 > 0x0422' > [gt68xx] sane_init: config file line 211: trying to attach `usb 0x07b3 > 0x0454' > [gt68xx] sane_init: config file line 217: trying to attach `usb 0x0458 > 0x2021' > [gt68xx] sane_init: config file line 221: trying to attach `usb 0x0458 > 0x2011' > [gt68xx] sane_init: config file line 227: trying to attach `usb 0x0458 > 0x201b' > [gt68xx] sane_init: config file line 231: trying to attach `usb 0x0458 > 0x2017' > [gt68xx] sane_init: config file line 235: trying to attach `usb 0x0458 > 0x201a' > [gt68xx] sane_init: config file line 239: trying to attach `usb 0x0458 > 0x201d' > [gt68xx] sane_init: config file line 243: trying to attach `usb 0x0458 > 0x201f' > [gt68xx] sane_init: config file line 247: trying to attach `usb 0x0458 > 0x2014' > [gt68xx] sane_init: config file line 251: trying to attach `usb 0x0458 > 0x201E' > [gt68xx] sane_init: config file line 255: trying to attach `usb 0x04a7 > 0x0444' > [gt68xx] get_id: vendor id=0x021C, product id=0x055F, DID=0x00019937, > FID=0x0000 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=3531 > [gt68xx] sane_get_parameters: pixels_per_line=2563, bytes per line=2563 > [gt68xx] sane_get_parameters: pixels 2563x3531x256 > [gt68xx] sane_control_option: option 16 is inactive > [gt68xx] sane_control_option: option 16 is inactive > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] red white=255, black= 4, offset=0x13, gain=0x06, old offs=0x14, old > gain=0x07, total_white=64833 > [gt68xx] green white=255, black= 4, offset=0x13, gain=0x06, old offs=0x14, > old gain=0x07, total_white=64836 > [gt68xx] blue white=255, black= 4, offset=0x13, gain=0x06, old offs=0x14, > old gain=0x07, total_white=64825 > [gt68xx] red white=255, black= 13, offset=0x12, gain=0x06, old offs=0x13, > old gain=0x06, total_white=64842 > [gt68xx] green white=255, black= 13, offset=0x12, gain=0x06, old offs=0x13, > old gain=0x06, total_white=64843 > [gt68xx] blue white=255, black= 15, offset=0x12, gain=0x06, old offs=0x13, > old gain=0x06, total_white=64663 > [gt68xx] red white=255, black= 5, offset=0x11, gain=0x05, old offs=0x12, old > gain=0x06, total_white=64817 > [gt68xx] green white=255, black= 5, offset=0x11, gain=0x05, old offs=0x12, > old gain=0x06, total_white=64808 > [gt68xx] blue white=255, black= 7, offset=0x11, gain=0x05, old offs=0x12, > old gain=0x06, total_white=64330 > [gt68xx] red white=255, black= 6, offset=0x10, gain=0x04, old offs=0x11, old > gain=0x05, total_white=64818 > [gt68xx] green white=255, black= 7, offset=0x10, gain=0x04, old offs=0x11, > old gain=0x05, total_white=64487 > [gt68xx] blue white=255, black= 8, offset=0x10, gain=0x04, old offs=0x11, > old gain=0x05, total_white=63085 > [gt68xx] red white=255, black= 7, offset=0x0F, gain=0x03, old offs=0x10, old > gain=0x04, total_white=64822 > [gt68xx] green white=255, black= 8, offset=0x0F, gain=0x03, old offs=0x10, > old gain=0x04, total_white=63368 > [gt68xx] blue white=255, black= 9, offset=0x0F, gain=0x03, old offs=0x10, > old gain=0x04, total_white=60517 > [gt68xx] red white=255, black= 11, offset=0x0E, gain=0x02, old offs=0x0F, > old gain=0x03, total_white=64830 > [gt68xx] green white=255, black= 12, offset=0x0E, gain=0x02, old offs=0x0F, > old gain=0x03, total_white=61274 > [gt68xx] blue white=255, black= 13, offset=0x0E, gain=0x03, old offs=0x0F, > old gain=0x03, total_white=57079 > [gt68xx] red white=255, black= 15, offset=0x0D, gain=0x02, old offs=0x0E, > old gain=0x02, total_white=64841 > [gt68xx] green white=255, black= 16, offset=0x0D, gain=0x02, old offs=0x0E, > old gain=0x02, total_white=57852 > [gt68xx] blue white=255, black= 5, offset=0x0D, gain=0x02, old offs=0x0E, > old gain=0x03, total_white=55362 > [gt68xx] red white=255, black= 9, offset=0x0C, gain=0x01, old offs=0x0D, old > gain=0x02, total_white=64821 > [gt68xx] green white=255, black= 9, offset=0x0C, gain=0x01, old offs=0x0D, > old gain=0x02, total_white=56462 > [gt68xx] blue white=255, black= 10, offset=0x0C, gain=0x01, old offs=0x0D, > old gain=0x02, total_white=51857 > [gt68xx] red white=255, black= 15, offset=0x0B, gain=0x01, old offs=0x0C, > old gain=0x01, total_white=64622 > [gt68xx] green white=255, black= 15, offset=0x0B, gain=0x01, old offs=0x0C, > old gain=0x01, total_white=52690 > [gt68xx] blue white=255, black= 16, offset=0x0B, gain=0x01, old offs=0x0C, > old gain=0x01, total_white=48406 > [gt68xx] red white=255, black= 10, offset=0x0A, gain=0x00, old offs=0x0B, > old gain=0x01, total_white=64447 > [gt68xx] green white=255, black= 10, offset=0x0A, gain=0x00, old offs=0x0B, > old gain=0x01, total_white=51408 > [gt68xx] blue white=255, black= 11, offset=0x0A, gain=0x00, old offs=0x0B, > old gain=0x01, total_white=47118 > [gt68xx] red white=244, black= 17, offset=0x09, gain=0x01, old offs=0x0A, > old gain=0x00, total_white=60679 > [gt68xx] green white=245, black= 18, offset=0x09, gain=0x01, old offs=0x0A, > old gain=0x00, total_white=48012 > [gt68xx] blue white=247, black= 18, offset=0x09, gain=0x01, old offs=0x0A, > old gain=0x00, total_white=44186 > [gt68xx] red white=253, black= 0, offset=0x0A, gain=0x00, old offs=0x09, old > gain=0x01, total_white=62834 DONE > [gt68xx] green white=254, black= 0, offset=0x09, gain=0x00, old offs=0x09, > old gain=0x01, total_white=48566 > [gt68xx] blue white=255, black= 0, offset=0x09, gain=0x00, old offs=0x09, > old gain=0x01, total_white=44287 > [gt68xx] green white=240, black= 13, offset=0x09, gain=0x01, old offs=0x09, > old gain=0x00, total_white=46787 DONE > [gt68xx] blue white=242, black= 14, offset=0x09, gain=0x01, old offs=0x09, > old gain=0x00, total_white=42996 DONE > [gt68xx] red: white = 242, total_white=60336 (exposure too low) --> exposure > += 3 (=0x15a) > [gt68xx] green: white = 253, total_white=48291 (exposure too high) --> > exposure -= -3 (=0x154) > [gt68xx] blue: white = 254, total_white=44008 (exposure too high) --> > exposure -= -4 (=0x153) > [gt68xx] red: white = 241, total_white=60215 (exposure too low) --> exposure > += 4 (=0x15e) > [gt68xx] green: white = 251, total_white=47710 (exposure too high) --> > exposure -= -1 (=0x153) > [gt68xx] blue: white = 253, total_white=43308 (exposure too high) --> > exposure -= -3 (=0x150) > [gt68xx] red: white = 241, total_white=60227 (exposure too low) --> exposure > += 4 (=0x162) > [gt68xx] green: white = 251, total_white=47508 (exposure too high) --> > exposure -= -1 (=0x152) > [gt68xx] blue: white = 252, total_white=42862 (exposure too high) --> > exposure -= -2 (=0x14e) > [gt68xx] red: white = 241, total_white=60266 (exposure too low) --> exposure > += 4 (=0x166) > [gt68xx] green: white = 251, total_white=47330 (exposure too high) --> > exposure -= -1 (=0x151) > [gt68xx] blue: white = 253, total_white=42578 (exposure too high) --> > exposure -= -3 (=0x14b) > [gt68xx] red: white = 241, total_white=60336 (exposure too low) --> exposure > += 4 (=0x16a) > [gt68xx] green: white = 251, total_white=47182 (exposure too high) --> > exposure -= -1 (=0x150) > [gt68xx] blue: white = 252, total_white=42187 (exposure too high) --> > exposure -= -2 (=0x149) > [gt68xx] red: white = 241, total_white=60387 (exposure too low) --> exposure > += 4 (=0x16e) > [gt68xx] green: white = 251, total_white=47037 (exposure too high) --> > exposure -= -1 (=0x14f) > [gt68xx] blue: white = 252, total_white=41913 (exposure too high) --> > exposure -= -2 (=0x147) > [gt68xx] red: white = 241, total_white=60438 (exposure too low) --> exposure > += 4 (=0x172) > [gt68xx] green: white = 251, total_white=46918 (exposure too high) --> > exposure -= -1 (=0x14e) > [gt68xx] blue: white = 252, total_white=41681 (exposure too high) --> > exposure -= -2 (=0x145) > [gt68xx] red: white = 241, total_white=60487 (exposure too low) --> exposure > += 4 (=0x176) > [gt68xx] green: white = 251, total_white=46787 (exposure too high) --> > exposure -= -1 (=0x14d) > [gt68xx] blue: white = 252, total_white=41439 (exposure too high) --> > exposure -= -2 (=0x143) > [gt68xx] red: white = 241, total_white=60516 (exposure too low) --> exposure > += 4 (=0x17a) > [gt68xx] green: white = 251, total_white=46643 (exposure too high) --> > exposure -= -1 (=0x14c) > [gt68xx] blue: white = 250, total_white=41166 (exposure ok=0x143) > [gt68xx] red: white = 241, total_white=60526 (exposure too low) --> exposure > += 4 (=0x17e) > [gt68xx] green: white = 251, total_white=46493 (exposure too high) --> > exposure -= -1 (=0x14b) > [gt68xx] red: white = 241, total_white=60533 (exposure too low) --> exposure > += 4 (=0x182) > [gt68xx] green: white = 251, total_white=46356 (exposure too high) --> > exposure -= -1 (=0x14a) > [gt68xx] red: white = 241, total_white=60494 (exposure too low) --> exposure > += 4 (=0x186) > [gt68xx] green: white = 251, total_white=46208 (exposure too high) --> > exposure -= -1 (=0x149) > [gt68xx] red: white = 241, total_white=60516 (exposure too low) --> exposure > += 4 (=0x18a) > [gt68xx] green: white = 251, total_white=46063 (exposure too high) --> > exposure -= -1 (=0x148) > [gt68xx] red: white = 241, total_white=60536 (exposure too low) --> exposure > += 4 (=0x18e) > [gt68xx] green: white = 251, total_white=45941 (exposure too high) --> > exposure -= -1 (=0x147) > [gt68xx] red: white = 241, total_white=60533 (exposure too low) --> exposure > += 4 (=0x192) > [gt68xx] green: white = 251, total_white=45803 (exposure too high) --> > exposure -= -1 (=0x146) > [gt68xx] red: white = 241, total_white=60536 (exposure too low) --> exposure > += 4 (=0x196) > [gt68xx] green: white = 251, total_white=45668 (exposure too high) --> > exposure -= -1 (=0x145) > [gt68xx] red: white = 241, total_white=60540 (exposure too low) --> exposure > += 4 (=0x19a) > [gt68xx] green: white = 251, total_white=45506 (exposure too high) --> > exposure -= -1 (=0x144) > [gt68xx] red: white = 241, total_white=60545 (exposure too low) --> exposure > += 4 (=0x19e) > [gt68xx] green: white = 251, total_white=45384 (exposure too high) --> > exposure -= -1 (=0x143) > [gt68xx] red: white = 241, total_white=60554 (exposure too low) --> exposure > += 4 (=0x1a2) > [gt68xx] green: white = 251, total_white=45238 (exposure too high) --> > exposure -= -1 (=0x142) > [gt68xx] red: white = 241, total_white=60554 (exposure too low) --> exposure > += 4 (=0x1a6) > [gt68xx] green: white = 251, total_white=45106 (exposure too high) --> > exposure -= -1 (=0x141) > [gt68xx] red: white = 241, total_white=60520 (exposure too low) --> exposure > += 4 (=0x1aa) > [gt68xx] green: white = 250, total_white=44927 (exposure ok=0x141) > [gt68xx] red: white = 241, total_white=60542 (exposure too low) --> exposure > += 4 (=0x1ae) > [gt68xx] red: white = 241, total_white=60553 (exposure too low) --> exposure > += 4 (=0x1b2) > [gt68xx] red: white = 241, total_white=60558 (exposure too low) --> exposure > += 4 (=0x1b6) > [gt68xx] red: white = 241, total_white=60552 (exposure too low) --> exposure > += 4 (=0x1ba) > [gt68xx] red: white = 241, total_white=60549 (exposure too low) --> exposure > += 4 (=0x1be) > [gt68xx] red: white = 241, total_white=60558 (exposure too low) --> exposure > += 4 (=0x1c2) > [gt68xx] red: white = 241, total_white=60559 (exposure too low) --> exposure > += 4 (=0x1c6) > [gt68xx] red: white = 241, total_white=60567 (exposure too low) --> exposure > += 4 (=0x1ca) > [gt68xx] red: white = 241, total_white=60572 (exposure too low) --> exposure > += 4 (=0x1ce) > [gt68xx] red: white = 241, total_white=60563 (exposure too low) --> exposure > += 4 (=0x1d2) > [gt68xx] red: white = 241, total_white=60564 (exposure too low) --> exposure > += 4 (=0x1d6) > [gt68xx] red: white = 241, total_white=60565 (exposure too low) --> exposure > += 4 (=0x1da) > [gt68xx] red: white = 241, total_white=60565 (exposure too low) --> exposure > += 4 (=0x1de) > [gt68xx] red: white = 241, total_white=60555 (exposure too low) --> exposure > += 4 (=0x1e2) > [gt68xx] red: white = 241, total_white=60558 (exposure too low) --> exposure > += 4 (=0x1e6) > [gt68xx] red: white = 241, total_white=60567 (exposure too low) --> exposure > += 4 (=0x1ea) > [gt68xx] red: white = 241, total_white=60558 (exposure too low) --> exposure > += 4 (=0x1ee) > [gt68xx] red: white = 241, total_white=60570 (exposure too low) --> exposure > += 4 (=0x1f2) > [gt68xx] red: white = 241, total_white=60562 (exposure too low) --> exposure > += 4 (=0x1f6) > [gt68xx] red: white = 241, total_white=60566 (exposure too low) --> exposure > += 4 (=0x1fa) > [gt68xx] red: white = 241, total_white=60562 (exposure too low) --> exposure > += 4 (=0x1fe) > [gt68xx] red: white = 241, total_white=60518 (exposure too low) --> exposure > += 4 (=0x202) > [gt68xx] red: white = 241, total_white=60548 (exposure too low) --> exposure > += 4 (=0x206) > [gt68xx] red: white = 241, total_white=60562 (exposure too low) --> exposure > += 4 (=0x20a) > [gt68xx] red: white = 241, total_white=60573 (exposure too low) --> exposure > += 4 (=0x20e) > [gt68xx] red: white = 241, total_white=60574 (exposure too low) --> exposure > += 4 (=0x212) > [gt68xx] red: white = 241, total_white=60569 (exposure too low) --> exposure > += 4 (=0x216) > [gt68xx] red: white = 241, total_white=60571 (exposure too low) --> exposure > += 4 (=0x21a) > [gt68xx] red: white = 241, total_white=60581 (exposure too low) --> exposure > += 4 (=0x21e) > [gt68xx] gt68xx_afe_cis_auto: setting exposure reached limit > [gt68xx] gt68xx_afe_cis_auto: total_count: 63 > [gt68xx] afe 0x0a 0x00 0x09 0x01 0x09 0x01 > [gt68xx] exposure 0x21e 0x141 0x143 > [gt68xx] gt68xx_calibrator_new: enter: width=427, white_level=65535 > [gt68xx] gt68xx_calibrator_new: enter: width=427, white_level=65535 > [gt68xx] gt68xx_calibrator_new: enter: width=427, white_level=65535 > [gt68xx] gt68xx_calibrator_finish_setup: ave_black=3670.170960, > ave_diff=54390.660422 > [gt68xx] gt68xx_calibrator_finish_setup: ave_black=0.000000, > ave_diff=42925.723653 > [gt68xx] gt68xx_calibrator_finish_setup: ave_black=0.000000, > ave_diff=38721.861827 > [gt68xx] sane_start: wanted: dpi=50, x=0.0, y=0.0, width=217.0, > height=299.0, color=gray > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] sane_read: exit (line 154 of 589, byte_count 205 of 427, 65536 > bytes, 65536 total) > [gt68xx] sane_read: exit (line 307 of 589, byte_count 410 of 427, 65536 > bytes, 131072 total) > [gt68xx] sane_read: exit (line 461 of 589, byte_count 188 of 427, 65536 > bytes, 196608 total) > [gt68xx] sane_read: scan complete: 54895 bytes, 251503 total > [gt68xx] sane_read: nothing more to scan: EOF > [gt68xx] sane_cancel: scan finished, scanned 251503 bytes in 36 seconds > [gt68xx] sane_get_parameters: format=0, last_frame=1, lines=589 > [gt68xx] sane_get_parameters: pixels_per_line=427, bytes per line=427 > [gt68xx] sane_get_parameters: pixels 427x589x256 > [gt68xx] gt68xx_calibrator_free: min_clip_count=0, max_clip_count=0 > [gt68xx] gt68xx_calibrator_free: min_clip_count=0, max_clip_count=47 > [gt68xx] gt68xx_calibrator_free: min_clip_count=0, max_clip_count=0 > > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"