Re: Umax 600s/Adaptec 2906 trouble

From: Mark Stewart (mstewart@atg.com)
Date: Thu Jan 25 2001 - 09:51:43 PST

  • Next message: abel deuring: "Re: Scanmaker 636"

    Hi all,

    A little update on my continuing troubles getting Sane + Umax 600s + Adaptec
    2906 to work. I tried, as Oliver suggested, running scanimage in lineart
    mode. I'll attach the debug output at the end of the email. It still isn't
    working. I didn't get a change to try greyscale yet but I'll post the
    results when I do.

    I guess I'd like to repeat my earlier question regarding the admittedly
    cheap Adeptec I'm trying to use: Does anyone have a recommended card for use
    with a Umax 600s. That is, has anyone had any luck with this model scanner
    with a (hopefully) inexpensive SCSI card?

    thanks,
    ::mark

    > > > it may be a problem of the scsi driver for the Adaptec 2906.
    > > > Do you have the chance to try if the scanner works with another
    > > > scsi card?
    > >
    > > Well, I don't actually have any other cards available at the moment. I
    guess
    > > there aren't any SANE users using this particular model? It was the
    model
    > > Adaptec was pushing for Macintosh users so I'm guessing there must be
    some
    > > LinuxPPC users that have one. I'll have to poll that list.
    > >
    > > If I were to go out and buy a replacement what would you and the rest of
    the
    > > list recommend?
    > >
    > > >
    > > > Did you ever try to scan in lineart or grayscale mode?
    > > > Does a preview scan work?
    > >
    > > I didn't but I will do so and let you know if it changes anything.
    > >
    >
    > Hi Mark,
    >
    > I have one idea that could solve the problem, but I will not be able
    > to take a closer look at it within the next days.
    >
    > I will keep you informed.
    >
    > Bye
    > Oliver
    >

    ============================
    output from scanimage in lineart mode:
    ============================
    [root@localhost sane104]# export SANE_DEBUG_UMAX=12
    [root@localhost sane104]# echo $SANE_DEBUG_UMAX
    12
    [root@localhost sane104]# lsmod
    Module Size Used by
    usb-uhci 26660 0 (unused)
    autofs 9604 1 (autoclean)
    irda 84289 1
    ppp 21292 0 (autoclean) (unused)
    slhc 4572 0 (autoclean) [ppp]
    tulip 30624 1 (autoclean)
    keybdev 1832 0 (unused)
    usbkbd 2292 0 (unused)
    input 2880 0 [keybdev usbkbd]
    usb-storage 10120 0 (unused)
    usbcore 27236 0 [usb-uhci usbkbd usb-storage]
    supermount 15112 2 (autoclean)
    [root@localhost sane104]# lsmod
    Module Size Used by
    usb-uhci 26660 0 (unused)
    autofs 9604 1 (autoclean)
    irda 84289 1
    ppp 21292 0 (autoclean) (unused)
    slhc 4572 0 (autoclean) [ppp]
    tulip 30624 1 (autoclean)
    keybdev 1832 0 (unused)
    usbkbd 2292 0 (unused)
    input 2880 0 [keybdev usbkbd]
    usb-storage 10120 0 (unused)
    usbcore 27236 0 [usb-uhci usbkbd usb-storage]
    supermount 15112 2 (autoclean)
    [root@localhost sane104]# modprobe aic7xxx
    [root@localhost sane104]# lsmod
    Module Size Used by
    aic7xxx 133176 0 (unused)
    usb-uhci 26660 0 (unused)
    autofs 9604 1 (autoclean)
    irda 84289 1
    ppp 21292 0 (autoclean) (unused)
    slhc 4572 0 (autoclean) [ppp]
    tulip 30624 1 (autoclean)
    keybdev 1832 0 (unused)
    usbkbd 2292 0 (unused)
    input 2880 0 [keybdev usbkbd]
    usb-storage 10120 0 (unused)
    usbcore 27236 0 [usb-uhci usbkbd usb-storage]
    supermount 15112 2 (autoclean)
    [root@localhost sane104]# find-scanner
    find-scanner: found scanner "UMAX Astra 600S V1.6" at device /dev/scanner
    find-scanner: found scanner "UMAX Astra 600S V1.6" at device /dev/sg0
    find-scanner: found scanner "UMAX Astra 600S V1.6" at device /dev/sga
    [root@localhost sane104]# scanimage -d umax:/dev/scanner --mode Lineart
    [sanei_init_debug]: Setting debug level of umax to 12.
    [umax] sane_init
    [umax] This is sane-umax version 1.0 build 18
    [umax] (C) 1997-2000 by Oliver Rauch
    [umax] EMAIL: Oliver.Rauch@Wolfsburg.DE
    [umax] attach_scanner: /dev/sga
    [umax] attach_scanner: opening /dev/sga
    [umax] attach_scanner: sanei_scsi_open_extended returned scsi buffer size =
    16384
    [umax] init
    [umax] backend runs on little endian machine
    [umax] variable scsi buffer size (usage of sanei_scsi_open_extended)
    [umax] initialize_values
    [umax] identify_scanner
    [umax] do_inquiry
    [umax] Found UMAX scanner Astra 600S version V1.6 on device /dev/sga
    [umax] setting up special options for Astra 600S
    [umax] - correcting wrong inquiry data
    [umax] do_new_inquiry
    [umax] - activating inversion of shading data
    [umax] get_inquiry_values
    [umax] INQUIRY:
    [umax] ========
    [umax]
    [umax] vendor........................: 'UMAX '
    [umax] product.......................: 'Astra 600S '
    [umax] version.......................: 'V1.6'
    [umax]
    [umax] CBHS value range..............: 0-255
    [umax] scanmode......................: flatbed (FB)
    [umax] inquiry block length..........: 158 bytes
    [umax]
    [umax] ISO Version (reserved).......: 0
    [umax] ECMA Version (reserved).......: 0
    [umax] ANSI Version .................: 2
    [umax]
    [umax] reserved byte 0x05 = 0
    [umax] reserved byte 0x06 = 0
    [umax]
    [umax] f/w support function:
    [umax] ---------------------
    [umax] - quality calibration
    [umax] - fast preview function
    [umax] - calibration mode control by driver
    [umax]
    [umax] reserved byte 0x36 = 0
    [umax] reserved byte 0x37 = 0
    [umax]
    [umax] scan modes:
    [umax] -----------
    [umax] - single pass color mode
    [umax] - lineart mode
    [umax] - gray mode
    [umax] - color mode
    [umax] - transparency (UTA)
    [umax] - automatic document feeder (ADF)
    [umax]
    [umax] scanner capability:
    [umax] -------------------
    [umax] - bi-level image reverse
    [umax] - support highlight function
    [umax] - paper length can reach to 14 inch
    [umax] - shading data/gain uploadable
    [umax]
    [umax] gamma download available
    [umax] gamma download type 2
    [umax] lines of gamma curve: one line (gray), three lines (color) download
    [umax] gamma input 8 bits/pixel support
    [umax] gamma output 8 bits/pixel support
    [umax]
    [umax] reserved byte 0x65 = 0
    [umax] reserved byte 0x67 = 0
    [umax]
    [umax] reserved byte 0x6b = 0
    [umax] reserved byte 0x6c = 0
    [umax]
    [umax] color sequence............................: all supported
    [umax] color ordering support....................: line with CCD distance
    [umax]
    [umax] maximum video memory......................: 228 KB
    [umax]
    [umax] reserved byte 0x72 = 0
    [umax]
    [umax] optical resolution........................: 300 dpi
    [umax] maximum x-resolution......................: 300 dpi
    [umax] maximum y-resolution......................: 600 dpi
    [umax]
    [umax] FB (flatbed-mode):
    [umax] FB maximum scan width.....................: 8.50 inch
    [umax] FB maximum scan length....................: 14.00 inch
    [umax]
    [umax] UTA (transparency-mode):
    [umax] UTA x-original point......................: 0.00 inch
    [umax] UTA y-original point......................: 0.00 inch
    [umax] UTA maximum scan width....................: 8.50 inch
    [umax] UTA maximum scan length...................: 11.70 inch
    [umax]
    [umax] reserved byte 0x82 = 0
    [umax]
    [umax] DOR (double optical resolution-mode):
    [umax] DOR optical resolution....................: 0 dpi
    [umax] DOR maximum x-resolution..................: 0 dpi
    [umax] DOR maximum y-resolution..................: 0 dpi
    [umax] DOR x-original point......................: 0.00 inch
    [umax] DOR y-original point......................: 0.00 inch
    [umax] DOR maximum scan width....................: 0.00 inch
    [umax] DOR maximum scan length...................: 0.00 inch
    [umax]
    [umax] reserved byte 0x8e = 0
    [umax]
    [umax] last calibration lamp density.............: 0
    [umax]
    [umax] reserved byte 0x90 = 0
    [umax]
    [umax] lamp warmup maximum time..................: 0 sec
    [umax] window descriptor block length............: 82 bytes
    [umax] no analog gamma function
    [umax]
    [umax] reserved byte 0x98 = 0
    [umax] reserved byte 0x99 = 0
    [umax]
    [umax] maximum calibration data lines for shading: 66
    [umax] fb/uta: color line arrangement mode.......: 32
    [umax] adf: color line arrangement mode.......: 0
    [umax] CCD line distance.........................: 8
    [umax]
    [umax] reserved byte 0x9e = 0
    [umax] attach_scanner: /dev/scanner
    [umax] attach_scanner: opening /dev/scanner
    [umax] attach_scanner: sanei_scsi_open_extended returned scsi buffer size =
    16384
    [umax] init
    [umax] backend runs on little endian machine
    [umax] variable scsi buffer size (usage of sanei_scsi_open_extended)
    [umax] initialize_values
    [umax] identify_scanner
    [umax] do_inquiry
    [umax] Found UMAX scanner Astra 600S version V1.6 on device /dev/scanner
    [umax] setting up special options for Astra 600S
    [umax] - correcting wrong inquiry data
    [umax] do_new_inquiry
    [umax] - activating inversion of shading data
    [umax] get_inquiry_values
    [umax] INQUIRY:
    [umax] ========
    [umax]
    [umax] vendor........................: 'UMAX '
    [umax] product.......................: 'Astra 600S '
    [umax] version.......................: 'V1.6'
    [umax]
    [umax] CBHS value range..............: 0-255
    [umax] scanmode......................: flatbed (FB)
    [umax] inquiry block length..........: 158 bytes
    [umax]
    [umax] ISO Version (reserved).......: 0
    [umax] ECMA Version (reserved).......: 0
    [umax] ANSI Version .................: 2
    [umax]
    [umax] reserved byte 0x05 = 0
    [umax] reserved byte 0x06 = 0
    [umax]
    [umax] f/w support function:
    [umax] ---------------------
    [umax] - quality calibration
    [umax] - fast preview function
    [umax] - calibration mode control by driver
    [umax]
    [umax] reserved byte 0x36 = 0
    [umax] reserved byte 0x37 = 0
    [umax]
    [umax] scan modes:
    [umax] -----------
    [umax] - single pass color mode
    [umax] - lineart mode
    [umax] - gray mode
    [umax] - color mode
    [umax] - transparency (UTA)
    [umax] - automatic document feeder (ADF)
    [umax]
    [umax] scanner capability:
    [umax] -------------------
    [umax] - bi-level image reverse
    [umax] - support highlight function
    [umax] - paper length can reach to 14 inch
    [umax] - shading data/gain uploadable
    [umax]
    [umax] gamma download available
    [umax] gamma download type 2
    [umax] lines of gamma curve: one line (gray), three lines (color) download
    [umax] gamma input 8 bits/pixel support
    [umax] gamma output 8 bits/pixel support
    [umax]
    [umax] reserved byte 0x65 = 0
    [umax] reserved byte 0x67 = 0
    [umax]
    [umax] reserved byte 0x6b = 0
    [umax] reserved byte 0x6c = 0
    [umax]
    [umax] color sequence............................: all supported
    [umax] color ordering support....................: line with CCD distance
    [umax]
    [umax] maximum video memory......................: 228 KB
    [umax]
    [umax] reserved byte 0x72 = 0
    [umax]
    [umax] optical resolution........................: 300 dpi
    [umax] maximum x-resolution......................: 300 dpi
    [umax] maximum y-resolution......................: 600 dpi
    [umax]
    [umax] FB (flatbed-mode):
    [umax] FB maximum scan width.....................: 8.50 inch
    [umax] FB maximum scan length....................: 14.00 inch
    [umax]
    [umax] UTA (transparency-mode):
    [umax] UTA x-original point......................: 0.00 inch
    [umax] UTA y-original point......................: 0.00 inch
    [umax] UTA maximum scan width....................: 8.50 inch
    [umax] UTA maximum scan length...................: 11.70 inch
    [umax]
    [umax] reserved byte 0x82 = 0
    [umax]
    [umax] DOR (double optical resolution-mode):
    [umax] DOR optical resolution....................: 0 dpi
    [umax] DOR maximum x-resolution..................: 0 dpi
    [umax] DOR maximum y-resolution..................: 0 dpi
    [umax] DOR x-original point......................: 0.00 inch
    [umax] DOR y-original point......................: 0.00 inch
    [umax] DOR maximum scan width....................: 0.00 inch
    [umax] DOR maximum scan length...................: 0.00 inch
    [umax]
    [umax] reserved byte 0x8e = 0
    [umax]
    [umax] last calibration lamp density.............: 0
    [umax]
    [umax] reserved byte 0x90 = 0
    [umax]
    [umax] lamp warmup maximum time..................: 0 sec
    [umax] window descriptor block length............: 82 bytes
    [umax] no analog gamma function
    [umax]
    [umax] reserved byte 0x98 = 0
    [umax] reserved byte 0x99 = 0
    [umax]
    [umax] maximum calibration data lines for shading: 66
    [umax] fb/uta: color line arrangement mode.......: 32
    [umax] adf: color line arrangement mode.......: 0
    [umax] CCD line distance.........................: 8
    [umax]
    [umax] reserved byte 0x9e = 0
    [umax] sane_open
    [umax] Using 8 bits for gamma input
    [umax] init_options
    [umax] sane_start
    [umax] sane_start: sanei_scsi_open_extended returned scsi buffer size =
    131072
    [umax] sane_start: buffer size has changed, reallocating buffer
    [umax] initialize_values
    [umax] grab_scanner
    [umax] wait_scanner
    [umax] scanner ready
    [umax] scanner reserved
    [umax] Using 8 bits for gamma input
    [umax] Using 8 bits for output
    [umax] check_values
    [umax] sane_get_parameters
    [umax] x_resolution (dpi) = 100
    [umax] y_resolution (dpi) = 100
    [umax] x_coordinate_base (dpi) = 1200
    [umax] y_coordinate_base (dpi) = 1200
    [umax] upper_left_x (xbase) = 0
    [umax] upper_left_y (ybase) = 0
    [umax] scanwidth (xbase) = 10198
    [umax] scanlength (ybase) = 16798
    [umax] width in pixels = 848
    [umax] length in pixels = 1400
    [umax] bits per pixel/color = 8
    [umax] bytes per line = 106
    [umax] pixels_per_line = 848
    [umax] lines = 1400
    [umax] negative = 0
    [umax] threshold (lineart) = 127
    [umax] brightness (halftone) = 127
    [umax] contrast (halftone) = 127
    [umax] analog_gamma = 0 0 0
    [umax] highlight = 255 255 255
    [umax] shadow = 0 0 0
    [umax] calibrat. exposure time = 0 0 0
    [umax] scan exposure time = 0 0 0
    [umax] shading type number = 3
    [umax] calibration mode number = 0
    [umax] quality calibration = 0
    [umax] fast preview function = 0
    [umax] DOR = 0
    [umax] ADF = 0
    [umax] slow scan speed = 0
    [umax] smear = 0
    [umax] set_window_param
    [umax] window descriptor block created with 82 bytes
    [umax] window(s) set
    [umax] start_scan
    [umax] starting scan
    [umax] do_calibration
    [umax] wait_scanner
    [umax] scanner reports Device busy, waiting ...
    [umax] scanner ready
    [umax] sane_get_parameters
    P4
    # SANE data follows
    848 1400
    [umax] reader_process started
    [umax] reader_process: starting to READ data
    [umax] trim_rowbufsize: row_bufsize = 131016 bytes = 1236 lines
    [umax] reading 148400 bytes in blocks of 131016 bytes
    [umax] read_image_data
    [umax] wait_scanner
    [umax] scanner ready

    Much longer movement of scanner here; sounds like it moved the scan head the
    entire length of the bed

    ...but lights are now flashing rapidly as before...

    The process table reports the following in response to 'ps -ef | grep
    scanimage':

    root 1230 1211 0 21:49 pts/2 00:00:00 scanimage -d
    umax:/dev/scanner -
    root 1231 1230 0 21:49 pts/2 00:00:00 scanimage -d
    umax:/dev/scanner -

    I run 'kill 1230':

    scanimage: stopping scanner...
    [umax] sane_cancel
    [umax] do_cancel
    [umax] killing reader_process
    [umax] reader_process: terminated by signal 15

    Killed

    But I had to do a kill -9 to actually get rid of 1230. Another to get rid of
    1231.

    --
    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 : Thu Jan 25 2001 - 09:51:28 PST