From: "Keld Jørn Simonsen" <keld-6PR53cSIHaE@public.gmane.org>
To: Dino Klein <dinoklein-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
Cc: "Keld Jørn Simonsen" <keld-6PR53cSIHaE@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: turning off individual devices
Date: Sun, 7 Mar 2004 10:06:22 +0100 [thread overview]
Message-ID: <20040307090622.GA14593@rap.rap.dk> (raw)
In-Reply-To: <Law11-OE414phnpK9h70002b8bd-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
On Fri, Mar 05, 2004 at 11:21:37PM -0500, Dino Klein wrote:
> check kernel/Documentation/power/devices.txt
> the value there indicates in which state to put the device after the driver detaches from it.
Yes, I did read that document before posting. That document says that:
A value of 4 indicates that the device should be shutdown, so
->shutdown() will be called for that device.
But it does not seem to have an effect.
And I do not seem to have a driver running for that device.
But does that matter whether the device is in use or not?
Or should there be an error message if the device is in use?
> ----- Original Message -----
> From: "Keld Jørn Simonsen" <keld-6PR53cSIHaE@public.gmane.org>
> To: <acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
> Sent: Friday, March 05, 2004 5:21 PM
> Subject: [ACPI] turning off individual devices
>
>
> > I try to turn off individual devices by saying
> >
> > echo -n 4 > /sys/devices/pci0000:00/0000:00:1f.6/detach_state
> >
> > But it seems that nothing happens. Am I missing something?
> > Kernel 2.6.3
> >
> > Keld
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
next prev parent reply other threads:[~2004-03-07 9:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-05 22:21 turning off individual devices Keld Jørn Simonsen
2004-03-06 4:21 ` Dino Klein
[not found] ` <Law11-OE414phnpK9h70002b8bd-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2004-03-07 9:06 ` Keld Jørn Simonsen [this message]
2004-03-07 17:14 ` Dino Klein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040307090622.GA14593@rap.rap.dk \
--to=keld-6pr53csihae@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=dinoklein-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox