Trust Imagery 4800SP problem with same-1.0.4

From: Andi Brodschelm (Andreas_Brodschelm@Physik.TU-Muenchen.DE)
Date: Wed Feb 21 2001 - 10:56:34 PST

  • Next message: Andreas Rathgeber: "xsane 0.72 and automatic document feeder with Mustek MFS-12000"

    Hi,

    I'm using a Trust Imagery 4800SP scanner on a Tektram SCSI adapter. The scanner seems to start the scan process correctly but both scanimage and xscanimage report a "Device
    BUSY" message just at the end of the scan (no image received).

    What might be the problem here? The output of
    "SANE_DEBUG_MUSTEK=5 scanimage -y 10" is:

    [snip]
    [mustek] dev_open /dev/sgc
    [mustek] dev_open: /dev/sgc is a SCSI device
    [mustek] dev_open: wanted 128 kbytes, got 128 kbytes buffer
    [mustek] scsi_inquiry_wait_ready: sending INQUIRY
    [mustek] inquiry: sending INQUIRY
    [mustek] scsi_inquiry_ready: INQUIRY finished
    [mustek] inquiry: sending INQUIRY
    [mustek] area_and_windows: tlx=0 (0 mm); tly=47 (1 mm); brx=5100 (215 mm); bry=283 (11 mm)
    [mustek] adf_and_backtrack: backtrack: yes; ADF: no; TA: no
    [mustek] mode_select: resolution_code=72 (0x48)
    [mustek] gamma_correction: no custom table selected -- exititing
    [mustek] start_scan
    [mustek] start_scan: using block mode
    [mustek] gamma_correction: no custom table selected -- exititing
    [mustek] line_distance: got factor=65535, (r/g/b)=(0/4/8)
    [mustek] line_distance: fixed up to factor=65535, (r/g/b)=(0/4/8)
    [mustek] get_image_status: bytes_per_line=610, lines=29 (offset = 0)
    [mustek] sane_get_parameters: frame = 0; last_frame = true; depth = 8
    [mustek] sane_get_parameters: lines = 29; ppl = 610; bpl = 610
    P5
    # SANE data follows
    610 29
    255
    [mustek] sane_read
    [mustek] reader_process: 107 lines per buffer, 610 bytes per line, 65270 bytes per buffer
    [mustek] reader_process: limiting block read to 32 buffers (29 lines)
    [mustek] dev_block_read_start: entering block for 29 lines
    [mustek] reader_process: buffer 1: entering read request for 17690 bytes (buffer 1)
    [mustek] reader_process: buffer 1: entered (line 29 of 29, buffer 1)
    [mustek] reader_process: buffer 1: waiting for request to be ready
    [mustek] reader_process: failed to read data, status: Device busy, buffer: 1
    [mustek] sane_read: pipe was closed ... calling do_stop
    [mustek] do_stop
    [mustek] Scanning time was 7 seconds, 2 kB/s
    [mustek] do_stop: terminating reader process
    [mustek] do_stop: reader process terminated with status 0x300
    [mustek] do_stop: closing scanner
    scanimage: sane_read: Device busy
    [mustek] sane_close
    [mustek] sane_exit

    The settings in /etc/sane.d/mustek.conf are:

    scsi MUSTEK * Scanner
      option linedistance-fix # stripes may go away in color mode
      option lineart-fix # lineart may be faster with this option off.

    scsi SCANNER
      option linedistance-fix # stripes may go away in color mode
      option lineart-fix # lineart may be faster with this option off.

    /dev/scanner
      option linedistance-fix # stripes may go away in color mode
      option lineart-fix # lineart may be faster with this option off.

    [commented lines removed]

    Any help is highly appreciated.
    Best regards,
    Andi

    -- 
    Andreas Brodschelm
    TU Muenchen, Physikdepartment E11       Tel: ++49 (0)89 289 12865
    James Franck Str.                       Fax: ++49 (0)89 289 12842
    85748 Garching   //  Germany            email: abrodsch@ph.tum.de
    

    -- 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 : Wed Feb 21 2001 - 10:51:11 PST