Re: turning off scanner-lamp

Michael K. Johnson (johnsonm@redhat.com)
Mon, 05 May 1997 11:34:45 -0400

Andy Thaller writes:
>Or can the scsi-system cope with the scanner being turned off and on
>during runtime?

I turn my Umax scanner off and on while the computer is running, and
haven't had any problems. No promises, of course.

You can tell Linux to re-probe for a device at a specific location by
echoing something to /proc/scsi/scsi -- here's a snip from
/usr/src/linux/drivers/scsi/scsi.c:

* Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
* with "0 1 2 3" replaced by your "Host Channel Id Lun".
* Consider this feature BETA.
* CAUTION: This is not for hotplugging your peripherals. As
* SCSI was not designed for this you could damage your
* hardware !
* However perhaps it is legal to switch on an
* already connected device. It is perhaps not
* guaranteed this device doesn't corrupt an ongoing data transfer.

You should only need to do this if the scanner wasn't on (or ready)
when you booted.

michaelkjohnson

"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com