[ltp] Ultrabay re-power?

Nils linux-thinkpad@linux-thinkpad.org
Thu, 2 Aug 2007 21:48:08 +0200


Hi,

is there any command to re-power an ultrabay device ?

I have dvd-rom and use the following commands:
echo 1 > /sys/class/scsi_device/1:0:0:0/device/delete
echo eject > /sys/devices/platform/bay.0/eject

The ultrabay led is off and now I can use the eject  lever.to remove and 
reinsert the device and after 
echo "0 0 0" > /sys/class/scsi_host/host1/scan 
I can use it again.

But if I don't remove the device is there any command like:
echo 1 > /sys/devices/platform/bay.0/insert ?? 
for re-power the ultrabay?

Thanks for any help,
Nils