RE: please help. Microtek v300 device I/O error

From: Marcel Pol (
Date: Tue Jul 18 2000 - 10:40:25 PDT

  • Next message: Henning Meier-Geinitz: "Re: --enable-warnings behaviour"

    On 18-Jul-00 Doug Wilson wrote:
    > The scanner is a Microtek Scanmaker V300 parallel port scanner. I'm
    > running Linux Mandrake 2.2.9-19mdk. It was quite a struggle, but I
    > managed to install the ppscsi kernel patches. I can load ppscsi, sg,
    > and onscsi with insmod without a problem. When I run 'scanimage -d
    > microtek2:/dev/sga', however, I get "Error during device I/O." I looked
    > through the san-devel mailing list archives and found that someone else
    > had a similar problem, but I never saw an answer ... just advice to set
    > SANE_DEBUG_MICROTEK2=30 and publish the results. I did that.
    > Here are the last few lines of output, where the errors are displayed:
    > ...
    > [microtek2] dump_area: SenseBuffer
    > 0: f00005ffffffe91f 0000000024000000 ........ ....$...
    > 16: 2800830060000000 0000000102030405 (...`... ........
    > 32: 060708090a0b ......
    > [microtek2] scsi_sense_handler: info: ' f'
    > [microtek2] scsi_sense_handler: Invalid field in CDB
    > [microtek2] scsi_read_image_status: 'Error during device I/O'
    > [microtek2] scsi_wait_for_image: 'Error during device I/O'
    > [microtek2] cleanup_scanner: ms=0x80561b0
    > scanimage: sane_start: Error during device I/O
    > [microtek2] sane_cancel: handle=0x80561b0
    > [microtek2] cleanup_scanner: ms=0x80561b0
    > [microtek2] sane_close: ms=0x80561b0
    > [microtek2] cleanup_scanner: ms=0x80561b0
    > [microtek2] sane_exit:
    > [microtek2] sane_get_devices: local_only=0
    > [microtek2] sane_get_devices: sd_list_freed
    > [microtek2] sane_exit: MICROTEK2 says goodbye.
    > Does anyone have any ideas? Am I doing something completely stupid?
    > Does no-one have an answer for this problem? Is the scanner hardware
    > bad and should I just chuck it and forget about it?

    It happens to me too that i get i/o errors.
    Strange thing is it happens even more with Sane 1.0.2 then with Sane 1.0.1.
    The firmware could make a difference, you should at least use Firmware 1.60 is
    what i've heard. There was just a mailing about that this week. My scanner has
    firmware 2.1 but it still happens, but well, maybe less then with older
    versions of the firmware.
    i tried my scanner with the cheap adaptec isa card, and it didn't seem to make
    much difference, so a cheap scsi card might not be the solution. I don't know
    if an expensive scsi card would make a difference.

    For me it is functional, allthough some scans i have to do over again. And with
    an i/o error i have to turn the scanner off/on. Sometimes even rmmod and insmod
    the onscsi module.
    I hope it will become functional for you too.
    Marcel Pol
    Suse 6.3 Kernel 2.2.16

    Peace, means to reload a gun
    Rest, I won't before I'm done

    Source code, list archive, and docs:
    To unsubscribe: echo unsubscribe sane-devel | mail

    This archive was generated by hypermail 2b29 : Tue Jul 18 2000 - 10:36:27 PDT