> I have an external Yamaha CDR400t writer. The problem I have is that if I
> take the writer to another machine and my linux box boots without the
> writer, I cannot use the writer again without rebooting the linux box.
> This does not happen on the Mac, where the writer can be used even if it
> was not present at boot time.
> 
> Is there any workaround for this?

Yes, as long as you're willing to take the (slight but non-zero) risk
of plugging the drive into your system's SCSI interface while the
power is on.  This will tend to glitch the SCSI lines - if you're
transferring data to/from another SCSI peripheral at the time, you
may garble the data and/or crash your system.

Once you've done this, issue the following command as root:

  echo "scsi add-single-device FOO BAR BAZ BIFF" > /proc/scsi/scsi

replacing FOO BAT BAZ BIFF with the host, channel, ID, and LUN of
your SCSI drive.  For example, if you've got only one SCSI host
controller with a single channel, and the Yamaha is SCSI ID #5, you
would type

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

This will cause the system to re-probe this one device address and
(if a device is found) add it to the device tables.

The converse is

  echo "scsi remove-single-device FOO BAR BAZ BIFF" > /proc/scsi/scsi

which removes the drive from the system tables and will prevent any
further attempts to access it.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to