Thanx for the info! I saw this command in the latest CD-Writing HOW-TO, but it
didn't explain what the numbers were. It also said this was unstable, but that
is based on dated info. I currently using 2.2.13 kernel. I did have a look in
scsi.c, as this is what was referenced in th HOW-TO, but didn't find it in the
first few minutes. At the top of the scsi.c code, it does say something about
hot-swapping scsi devices, but not how to do it. As I get more familiar with
linux, I'll probably set-up something to make switching the scanner on and off a
little more automatic, but I've got a very steep learning curve to climb still.
Then again, I just love a challenge!
"Jakma, Paul" <Paul.Jakma at compaq.com> on 07/01/2000 15:16:29
Sent by: "Jakma, Paul" <Paul.Jakma at compaq.com>
To: John Gay/IE/3Com, ilug at linux.ie
Subject: RE: [ILUG] Printers, scanners, CD-RW's and such. I just love Debi an's
> and reported no errors!?! I had to re-boot, as my scanner
> wasn't turned on
not a problem on linux. As root:
echo "scsi add-single-device c b t u" > /proc/scsi/scsi
c = controller
b = bus
t = target/id
u = unit/lun
eg, scanner set to ID4 on primary scsi replace "c b t u" with "0 0 4 0"
and before you turn it off, tell linux with:
echo "scsi remove-single-device c b t u" > /proc/scsi/scsi
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!