[PLUG] SCSI Scanner question

Kevin Cosgrove kevinc at doink.com
Mon Mar 17 15:57:01 UTC 2003


On 17 March 2003 at 15:32, Richard Seymour <richard at freegeek.org> wrote:

> If I power on my SCSI scanner before I power on the computer, when linux 
> comes up, the scanner is detected. If I leave the scanner off until 
> after the SCSI card is detected, then the scanner isn't detected and not 
> available later on.


I tell my kernel that the scanner is connected using:

echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi

My scanner is SCSI ID 6.

I tell my kernel that the scanner is disconnected using:

echo "scsi remove-single-device 0 0 6 0" > /proc/scsi/scsi



> I'm wondering if there's a way to disconnect one scanner, connect a 
> different one, and have the second scanner get detected, without 
> powering down the system? Or at least to detect the scanner without 
> power cycling?


I'm not sure that you can connect a different type of scanner.  I'm 
also not sure about hot-plugging SCSI.  YMMV....







More information about the PLUG mailing list