Microtek scanner not working anymore

From: Marcel Pol (mpol@gmx.net)
Date: Sat Apr 21 2001 - 11:31:06 PDT

  • Next message: Henning Meier-Geinitz: "Re: ./configure xsane is failing?"

    Hello,

    I'm using a Microtek scanner with Sane, but for some time now it's not
    working.
    The change happened when I attached the (working) scanner to another
    computer. There it didn't work, and when I put it back it still doesn't
    work.
    The kernel recognizes it (cdrecord -scanbus).
       1,6,0 106) ' ' 'Scanner 600A4 ' '2.21' Scanner

    When I turn on debugging for the Microtek2 backend it spits out the right
    messages.
    After that, the scanner just hangs.
    Well, it sounds like it tries to scan, while it seems in desperate need
    of a few drops of oil.
    When I Ctrl-C sane, and check the scanner with cdrecord -scanbus, I get
    this back:
      1,6,0 106) '' '' '' NON CCS Disk
    When I turn it off and on, I get the original kernel message, but further
    there's no change.

    Some time ago, with maybe a 2.4.0 linux kernel (now 2.4.3) it quit after
    some time, while saying "device busy".
    If I turned of the scanner while it was hanging I did get the same error.

    I'm using a Microtek2 scanner with a BusLogic BT930 scsi card.
    I'm using Sane 1.0.4 with linux 2.4.3
    I installed Windows, and it functions there without a problem.

    I suspect the backend of Sane, or the BusLogic driver.
    I heard some people about data corruption on a BusLogic scsi card, but I
    wouldn't know if that relates to my problem.

    I hope this is enough information provided, and that there is a fix for
    this.

    Greetings,

    --
    Marcel Pol
    mpol@gmx.net
    

    Debug Messages: export SANE_DEBUG_MICROTEK2=128 xsane

    [sanei_debug] Setting debug level of microtek2 to 128. [microtek2] sane_init: Microtek2 (v0.8) says hello... [microtek2] parse_config_file: fp=0x8130430 [microtek2] attach_one: name='option dump 1' [microtek2] add_device_list: device='option dump 1' [microtek2] attach: device='option dump 1' [microtek2] scsi_inquiry: mi=0x8130604, device='option dump 1' [microtek2] scsi_inquiry: 'Invalid argument' [microtek2] attach: 'Invalid argument' [microtek2] attach_one: name='/dev/sgb' [microtek2] add_device_list: device='/dev/sgb' [microtek2] attach: device='/dev/sgb' [microtek2] scsi_inquiry: mi=0x8132464, device='/dev/sgb' [microtek2] check_inquiry: md=0x8132460 [microtek2] scsi_read_attributes: mi=0x8132464, device='/dev/sgb', source=0 [microtek2] dump_attributes: mi=0x8132464 [microtek2] [microtek2] Scanner attributes from device structure [microtek2] ======================================== [microtek2] Scanner ID... [microtek2] ~~~~~~~~~~~~~ [microtek2] Vendor Name : ' ' [microtek2] Model Name : 'Scanner 600A4 ' [microtek2] Revision : '2.21' [microtek2] Model Code : 0x8c [microtek2] TR6 [microtek2] Device Type Code : 0x06 (Scanner), [microtek2] Scanner type Flatbed scanner [microtek2] Supported options : Automatic document feeder: Yes [microtek2] Transparency media adapter: Yes [microtek2] Auto paper detecting: Yes [microtek2] Advanced picture system: No [microtek2] Stripes: No [microtek2] Slides: No [microtek2] Scan button : No [microtek2] [microtek2] Imaging Capabilities... [microtek2] ~~~~~~~~~~~~~~~~~~~~~~~ [microtek2] Color scanner : Yes [microtek2] Number passes : 1 pass [microtek2] Resolution : X-max: 600 dpi Y-max: 1200 dpi [microtek2] Geometry : Geometric width: 5100 pts (8.50'') [microtek2] Geometric height: 7020 pts (11.70'') [microtek2] Optical resolution : 600 [microtek2] Modes : Lineart: Yes Halftone: Yes [microtek2] Gray: Yes Color: Yes [microtek2] Depths : Nibble Gray: No [microtek2] 10-bit-color: No [microtek2] 12-bit-color: No [microtek2] d/l of HT pattern : Yes [microtek2] Builtin HT pattern : 12 [microtek2] LUT capabilities : 1024 bytes [microtek2] [microtek2] Miscellaneous capabilities... [microtek2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [microtek2] Data format : Line by line in segregated sequence, [microtek2] with color indicator [microtek2] Color Sequence : [microtek2] B [microtek2] G [microtek2] R [microtek2] Scanning direction : [microtek2] Left to right [microtek2] CCD gap : 8 lines [microtek2] CCD pixels : 5100 [microtek2] Calib white stripe location : -144 [microtek2] Max calib space : 100 [microtek2] Number of lens : 1 [microtek2] Max number of windows : 8 [microtek2] Shading transfer function : 0 [microtek2] Red balance : 32 [microtek2] Green balance : 12846 [microtek2] Blue balance : 12849 [microtek2] Buffer type : Ring [microtek2] FEPROM : No [microtek2] scsi_read_attributes: mi=0x8132564, device='/dev/sgb', source=2 [microtek2] scsi_read_attributes: mi=0x81324e4, device='/dev/sgb', source=1 [microtek2] scsi_read_system_status: md=0x8132460, fd=-1 [microtek2] attach_one: name='/dev/sgb' [microtek2] add_device_list: device='/dev/sgb' [microtek2] add_device_list: device '/dev/sgb' already in list [microtek2] sane_get_devices: local_only=0 [microtek2] attach: device='/dev/sgb' [microtek2] scsi_inquiry: mi=0x8132464, device='/dev/sgb' [microtek2] check_inquiry: md=0x8132460 [microtek2] scsi_read_attributes: mi=0x8132464, device='/dev/sgb', source=0 [microtek2] scsi_read_attributes: mi=0x8132564, device='/dev/sgb', source=2 [microtek2] scsi_read_attributes: mi=0x81324e4, device='/dev/sgb', source=1 [microtek2] scsi_read_system_status: md=0x8132460, fd=-1 [microtek2] scsi_test_unit_ready: md=/dev/sgb [microtek2] attach: device='option dump 1' [microtek2] scsi_inquiry: mi=0x8130604, device='option dump 1' [microtek2] scsi_inquiry: 'Invalid argument' [microtek2] attach: 'Invalid argument' [microtek2] sane_get_devices: attach status 'Invalid argument' [microtek2] sane_open: device='/dev/sgb' [microtek2] add_device_list: device='/dev/sgb' [microtek2] add_device_list: device '/dev/sgb' already in list [microtek2] attach: device='/dev/sgb' [microtek2] scsi_inquiry: mi=0x8132464, device='/dev/sgb' [microtek2] check_inquiry: md=0x8132460 [microtek2] scsi_read_attributes: mi=0x8132464, device='/dev/sgb', source=0 [microtek2] scsi_read_attributes: mi=0x8132564, device='/dev/sgb', source=2 [microtek2] scsi_read_attributes: mi=0x81324e4, device='/dev/sgb', source=1 [microtek2] scsi_read_system_status: md=0x8132460, fd=-1 [microtek2] init_options: handle=0x81283c0, source=0 [microtek2] get_lut_size: mi=0x8132464 [microtek2] get_lut_size: mi=0x8132464, lut_size=1024, lut_word=1 [microtek2] set_option_dependencies: val=0x81283c8, sod=0x81284c0, mode=Color [microtek2] restore_gamma_options: val=0x81283c8, sod=0x81284c0 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=4, act=0, val=8 [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_control_option: opt=15, act=0, val=100.000000 [microtek2] sane_control_option: opt=16, act=0, val=100.000000 [microtek2] sane_control_option: opt=21, act=0, val=None [microtek2] sane_control_option: opt=32, act=0, val=Master [microtek2] sane_control_option: opt=33, act=0, val=0 [microtek2] sane_control_option: opt=34, act=0, val=128 [microtek2] sane_control_option: opt=35, act=0, val=255 [microtek2] sane_control_option: opt=45, act=0, val=0 [microtek2] sane_control_option: opt=50, act=0, val=1 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=0 [microtek2] sane_get_parameters: x_res=y_res=72.000000 [microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646 [microtek2] sane_get_parameters: format=1, last_frame=1, lines=842 [microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=4, act=0, val=8 [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_control_option: opt=15, act=0, val=100.000000 [microtek2] sane_control_option: opt=16, act=0, val=100.000000 [microtek2] sane_control_option: opt=21, act=0, val=None [microtek2] sane_control_option: opt=32, act=0, val=Master [microtek2] sane_control_option: opt=33, act=0, val=0 [microtek2] sane_control_option: opt=34, act=0, val=128 [microtek2] sane_control_option: opt=35, act=0, val=255 [microtek2] sane_control_option: opt=45, act=0, val=0 [microtek2] sane_control_option: opt=50, act=0, val=1 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=0 [microtek2] sane_get_parameters: x_res=y_res=72.000000 [microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646 [microtek2] sane_get_parameters: format=1, last_frame=1, lines=842 [microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=0 [microtek2] sane_get_parameters: x_res=y_res=72.000000 [microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646 [microtek2] sane_get_parameters: format=1, last_frame=1, lines=842 [microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=0 [microtek2] sane_get_parameters: x_res=y_res=72.000000 [microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646 [microtek2] sane_get_parameters: format=1, last_frame=1, lines=842 [microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836 [microtek2] sane_control_option: option=5, action=1, value=72.000000 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=4, act=0, val=8 [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_control_option: opt=15, act=0, val=100.000000 [microtek2] sane_control_option: opt=16, act=0, val=100.000000 [microtek2] sane_control_option: opt=21, act=0, val=None [microtek2] sane_control_option: opt=32, act=0, val=Master [microtek2] sane_control_option: opt=33, act=0, val=0 [microtek2] sane_control_option: opt=34, act=0, val=128 [microtek2] sane_control_option: opt=35, act=0, val=255 [microtek2] sane_control_option: opt=45, act=0, val=0 [microtek2] sane_control_option: opt=50, act=0, val=1 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=0 [microtek2] sane_get_parameters: x_res=y_res=72.000000 [microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646 [microtek2] sane_get_parameters: format=1, last_frame=1, lines=842 [microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=0 [microtek2] sane_get_parameters: x_res=y_res=72.000000 [microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646 [microtek2] sane_get_parameters: format=1, last_frame=1, lines=842 [microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836

    [microtek2] sane_control_option: opt=5, act=0, val=72.000000 [microtek2] sane_control_option: opt=3, act=0, val=Color [microtek2] sane_control_option: opt=10, act=0, val=0.000000 [microtek2] sane_control_option: opt=11, act=0, val=0.000000 [microtek2] sane_control_option: opt=12, act=0, val=215.899994 [microtek2] sane_control_option: opt=13, act=0, val=297.179993 [microtek2] sane_control_option: opt=4, act=0, val=8 [microtek2] sane_control_option: option=5, action=1, value=50.000000 [microtek2] sane_control_option: option=10, action=1, value=0.000000 [microtek2] sane_control_option: option=11, action=1, value=0.000000 [microtek2] sane_control_option: option=12, action=1, value=215.899994 [microtek2] sane_control_option: option=13, action=1, value=297.179993 [microtek2] sane_control_option: option=8, action=1, value=1 [microtek2] sane_start: handle=0x0x81283c0 [microtek2] scsi_read_system_status: md=0x8132460, fd=34 [microtek2] get_scan_parameters: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: handle=0x81283c0 [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=8, preview=1 [microtek2] get_scan_parameters: mode=5, depth=8, bpp_in=8, bpp_out=8 [microtek2] get_scan_parameters: yres=50, x1=0, width=5100, y1=0, height=7020 [microtek2] scsi_read_system_status: md=0x8132460, fd=34 [microtek2] scsi_send_system_status: md=0x8132460, fd=34 [microtek2] get_lut_size: mi=0x8132464 [microtek2] get_lut_size: mi=0x8132464, lut_size=1024, lut_word=1 [microtek2] calculate_gamma: ms=0x81283c0, pos=0x817bf78, color=0, mode=None [microtek2] calculate_gamma: factor=4, mult =255.000000, steps=1023.000000, mode=None [microtek2] calculate_gamma: ms=0x81283c0, pos=0x817c378, color=1, mode=None [microtek2] calculate_gamma: factor=4, mult =255.000000, steps=1023.000000, mode=None [microtek2] calculate_gamma: ms=0x81283c0, pos=0x817c778, color=2, mode=None [microtek2] calculate_gamma: factor=4, mult =255.000000, steps=1023.000000, mode=None [microtek2] scsi_send_gamma: pos=0x817bf78, size=1024, word=0, color=3 [microtek2] scsi_set_window: ms=0x81283c0, wnd=1 [microtek2] scsi_read_image_info: ms=0x81283c0 [microtek2] scsi_read_image_info: ppl=425, bpl=1284, lines=585, remain=751140 [microtek2] scsi_wait_for_image: ms=0x81283c0 [microtek2] scsi_read_image_status: ms=0x81283c0

    And here it hangs.

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Sat Apr 21 2001 - 11:30:10 PDT