Re: 2.6.18-rc2, problem to wake up spinned down drive?

From: Tejun Heo
Date: Sun Aug 06 2006 - 23:05:24 EST


Pavel Machek wrote:
echo 1 > /sys/bus/scsi/devices/1:0:0:0/power/state

Really? I thought power/state takes 0/3 (for D0 and D3)

Yes, of course. My mistake. Sorry about the confusion. The correct command is 'echo -n 3 > /sys/bus/scsi/devices/x:y:z:w/power/state'.

--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/