Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 12:08:07 -0800
From:      Nate Lawson <nate@root.org>
To:        Warner Losh <imp@rover.village.org>
Cc:        rafan@infor.org
Subject:   Re: current powerstate and manually turn on/off?
Message-ID:  <41BDF6A7.3040702@root.org>
In-Reply-To: <20041213.121233.104111469.imp@harmony.village.org>
References:  <20041213190604.GA81993@svm.csie.ntu.edu.tw> <20041213.121233.104111469.imp@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
>>By using sysctl, I do know what's the current powerstate
>>of each device. I wounder is there any command or sysctl
>>that can manually turn device on or off?
> 
> 
> Not really, no.

I think this is something the drivers should handle and we don't need to 
add user access to power states since it's probably the biggest way to 
shoot yourself in the foot.  We already power down devices with no 
driver attached and once drivers get smart about powering down devices 
that are idle, this would cover all scenarios.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41BDF6A7.3040702>