Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DeviceIoControl : Error 1117 on SCSI scanner device

417 views
Skip to first unread message

Hans ter Horst

unread,
Jun 6, 1996, 3:00:00 AM6/6/96
to

I'm using the DeviceIoControl API to interface with a SCSI scanner and I run
into error code 1117 (I/O error on device) in certain cases when using a fast
system with Adaptec AIC7850 installed. On another system with an Adaptec
AH1542, the same scanner works fine. I believe that error 1117 is in fact a
timeout on the IOCTL_SCSI_PASS_THROUGH_DIRECT command with which I try to read
the data from the scanner.
The problem occurs mainly when I try to scan in a low DPI, i.e., the scanner
needs more time to fill the data buffer. I set the timeout on the IOCTL
command to the max (100 seconds) but the command completes long before that.

Windows NT Workstation 3.51 (service pack 4)
Pentium 133 MHz

Any help is appreciated,

Hans.


Hans ter Horst

unread,
Jun 7, 1996, 3:00:00 AM6/7/96
to

I found an article (PSS ID # Q139357, dated 96/11/15) on the MS TechNet CD
covering the problem. In my event log I found for each 1117 returned a message
"The device, \Device\ScsiPort0, did not respond within the timeout period". The
article basically states that this is a problem in WinNT 3,5 and 3,51 and that
it is under investigation.
Has a bypass or solution been provided by Microsoft?

Thanks,

Hans.


Daniel Polfer

unread,
Jun 11, 1996, 3:00:00 AM6/11/96
to

Is the scanner on the same SCSI bus as a disk drive with a swap file?

I have run into a problem before where scanners which do not
disconnect during calibrations or longer scans will cause swap file
I/O to timeout. The swap file is fairly intolerant of these delays
(I'm trying to remember, but it was about 3 seconds I think). If that
I/O times out then a full reset of the SCSI bus will occur and your
scanner I/O will be tagged as timed out. Because you don't really
know when the swap file will be hit, the problem will be intermittent,
etc.

So, what do you do? Make sure the scanner supports disconnects on
*ALL* its operations (and make sure you haven't disabled disconnects
in Adaptec's SCSISelect). If it doesn't, then your only option is to
put it on a different SCSI bus from the hard drive and complain to the
vendor about their firmware.

Dan Polfer

0 new messages