Re: xcam/xcanimage cannot se the scanner (continued) and I/O error on PP scanner 330CX

From: Bernard MICHAUD (michaud-b@wanadoo.fr)
Date: Fri Jul 21 2000 - 10:34:15 PDT

  • Next message: Henning Meier-Geinitz: "Re: Current compilation status"

    Hi, Bernhard,
    I just got the same problem few days ago ( with a PP scanner Microtek
    Phantom 330CX).

    It has been said that the solution was
    "export LD_LIBRARY_PATH=/usr/local/lib" to find the correct sane
    library. You may put that in your .bashrc, type it on the command line,
    or put it elsewhere if you want.

    You can retrieve the original message in the archives, maybe last month
    or previous.

    Again, with my phantom 330CX PP microtek scanner, I got the same I/O
    error as other people with microtek V300. Here are the traces : It is
    rather long but gives all the indications on the process. Everything
    goes well until ..
    I tried a "scanimage -d microtek2:/dev/sga >ww ". I do not know if
    "option dump 1" is correctly set in microtek2.conf.

    **********************************************************

    sanei_init_debug]: Setting debug level of microtek2 to 30.
    [microtek2] sane_init: Microtek2 (v0.8) says hello...
    [microtek2] parse_config_file: fp=0x804e078
    [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=0x804e174, device='option dump 1'
    [microtek2] scsi_inquiry: 'Invalid argument'
    [microtek2] attach: 'Invalid argument'
    [microtek2] attach_one: name='/dev/sga'
    [microtek2] add_device_list: device='/dev/sga'
    [microtek2] attach: device='/dev/sga'
    [microtek2] scsi_inquiry: mi=0x804ea6c, device='/dev/sga'
    [microtek2] check_inquiry: md=0x804ea68
    [microtek2] scsi_read_attributes: mi=0x804ea6c, device='/dev/sga',
    source=0
    [microtek2] dump_attributes: mi=0x804ea6c

    Scanner attributes from device structure
    ========================================

    Scanner ID...
    ~~~~~~~~~~~~~
      Vendor Name : ' '
      Model Name : ' scanner 330CS '
      Revision : '1.26'
      Model Code : 0x94 (Phantom 330cx or Phantom 336cx)
      Device Type Code : 0x06 (Scanner),
      Scanner type : Flatbed scanner
      Supported options : Automatic document feeder: No
                                       Transparency media adapter: No
                                       Auto paper detecting: No
                                       Advanced picture system: Yes
                                       Stripes: No
                                       Slides: No
      Scan button : No

    Imaging Capabilities...
    ~~~~~~~~~~~~~~~~~~~~~~~
      Color scanner : Yes
      Number passes : 1 pass
      Resolution : X-max: 300 dpi
                                       Y-max: 600 dpi
      Geometry : Geometric width: 2550 pts (8.50'')
                                       Geometric height: 3495 pts (11.65'')
      Optical resolution : 300
      Modes : Lineart: No
                                       Halftone: No
                                       Gray: Yes
                                       Color: Yes
      Depths : Nibble Gray: No
                                       10-bit-color: Yes
                                       12-bit-color: No
      d/l of HT pattern : No
      Builtin HT pattern : 44
      LUT capabilities: : 1024 words
     4096 bytes

    Miscellaneous capabilities...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Data format : Line by line in segregated sequence,
                                       with color indicator
      Color Sequence : G - B - R
      Scanning direction : Right to left
      CCD gap : 8 lines
      CCD pixels : 11308
      Calib white stripe location : 741092365
      Max calib space : 218959117
      Number of lens : 13
      Max number of windows : 13
      Shading transfer function : 3
      Red balance : 2550
      Green balance : 512
      Blue balance : 4351
      Buffer type : Ping-Pong
      FEPROM : No
    [microtek2] scsi_read_system_status: md=0x804ea68, fd=-1
    [microtek2] attach_one: name='/dev/sga'
    [microtek2] add_device_list: device='/dev/sga'
    [microtek2] add_device_list: device '/dev/sga' already in list
    [microtek2] sane_open: device='/dev/sga'
    [microtek2] add_device_list: device='/dev/sga'
    [microtek2] add_device_list: device '/dev/sga' already in list
    [microtek2] attach: device='/dev/sga'
    [microtek2] scsi_inquiry: mi=0x804ea6c, device='/dev/sga'
    [microtek2] check_inquiry: md=0x804ea68
    [microtek2] scsi_read_attributes: mi=0x804ea6c, device='/dev/sga',
    source=0
    [microtek2] scsi_read_attributes: mi=0x804eaec, device='/dev/sga',
    source=1
    [microtek2] scsi_read_system_status: md=0x804ea68, fd=-1
    [microtek2] init_options: handle=0x804f4c0, source=0
    [microtek2] get_lut_size: mi=0x804ea6c
    [microtek2] get_lut_size: mi=0x804ea6c, lut_size=4096, lut_word=1
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=0
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=1
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=2
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=3
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=4
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=5
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=6
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=7
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=8
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=9
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=10
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=11
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=12
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=13
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=14
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=15
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=16
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=17
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=18
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=19
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=20
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=21
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=22
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=23
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=24
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=25
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=26
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=27
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=28
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=29
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=30
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=31
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=32
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=33
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=34
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=35
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=36
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=37
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=38
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=39
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=40
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=41
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=42
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=43
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=44
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=45
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=46
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=47
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=48
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=49
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=50
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=51
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=52
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=53
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=54
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=3
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=3
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=12
    [microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=13
    [microtek2] sane_start: handle=0x0x804f4c0
    [microtek2] scsi_read_system_status: md=0x804ea68, fd=6
    [microtek2] get_scan_parameters: handle=0x804f4c0
    [microtek2] get_scan_mode_and_depth: handle=0x804f4c0
    [microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
    bits_pp_out=8, preview=0
    [microtek2] get_scan_parameters: mode=5, depth=8, bpp_in=8, bpp_out=8
    [microtek2] get_scan_parameters: yres=72, x1=0, width=2550, y1=0,
    height=3495
    [microtek2] scsi_read_system_status: md=0x804ea68, fd=6
    [microtek2] scsi_send_system_status: md=0x804ea68, fd=6
    [microtek2] scsi_send_system_status: 'Error during device I/O'
    [microtek2] cleanup_scanner: ms=0x804f4c0
    scanimage: sane_start: Error during device I/O
    [microtek2] sane_cancel: handle=0x804f4c0
    [microtek2] sane_close: ms=0x804f4c0
    [microtek2] cleanup_scanner: ms=0x804f4c0
    [microtek2] sane_exit:
    [microtek2] sane_get_devices: local_only=0
    [microtek2] sane_get_devices: sd_list_freed
    [microtek2] sane_exit: MICROTEK2 says goodbye.
    ***************************************************************** end of
    trace

    It is the same kind error as our friend Doug Wilson, but maybe for
    another reason.
    BTW does ppscsi with onscsi need an interrupt to drive the parallel
    port?

    I would be very happy if someboby could solve this microtek problem.
    Thanks

    B.Michaud

    PS I'm just on the list so I could not post in "the right thread" on 300
    CX I/O error. Forgive me please

    Bernhard Mogens Ege a écrit :
    >
    > I am not sure if it matters, but I just found the find-scanner tool
    > and this is what it reports:
    >
    > ./find-scanner
    > # You may want to run this program as super-user to find all devices.
    > # Once you found the scanner devices, be sure to adjust access
    > # permissions as necessary.
    >
    > find-scanner: found processor "HP C5100A R032" at device /dev/scanner
    > find-scanner: found processor "HP C5100A R032" at device /dev/sg0
    > find-scanner: found processor "HP C5100A R032" at device /dev/sga
    >
    > Apparently sane believes my scanner to be a processor and not a
    > scanner. Could this be the reason that xcam/xscanimage wont accept my
    > scanner?
    >
    > regards,
    >
    > Bernhard Ege
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    -- 
    Venez me voir a http://www.fortunecity.fr/assem/budget/1
    Vous serez les bienvenus
    B.M
    

    -- 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 : Fri Jul 21 2000 - 10:34:19 PDT