From: Zhang Rui <rui.zhang@intel.com>
To: Phil Endecott <phil_hmpau_endecott@chezphil.org>
Cc: linux acpi <linux-acpi@vger.kernel.org>
Subject: Re: Toggling VGA out on Eee 901
Date: Wed, 17 Sep 2008 13:47:03 +0800 [thread overview]
Message-ID: <1221630423.3441.147.camel@rzhang-dt> (raw)
In-Reply-To: <1221601392651@dmwebmail.dmwebmail.chezphil.org>
Hi, phil,
On Tue, 2008-09-16 at 22:43 +0100, Phil Endecott wrote:
> Dear Experts,
>
> I'm trying to work out how to get console video out toggling working on
> my ASUS EEE 901 (running Debian). I get the feeling that I may be the
> first person to try to do this, and I knew almost nothing about ACPI
> until a couple of hours ago. Can anyone help?
> Output toggling for X works fine, but that doesn't use ACPI.
well, ACPI control method for video output switching seldom works.
And we use xrandr to switch the display in X.
I'm not sure but I'm afraid we don't have the plan to support video
output switch in console mode.
thanks,
rui
> If the
> machine is booted with an external monitor connected, console VGA out
> is enabled; if the monitor is not connected it's not enabled. Looking
> in /proc/acpi/video/VGA/CRTD/state I see
>
> state: 0x1f
> query: 0x01
>
> when the machine was booted with the monitor connected and
>
> state: 0x0d
> query: 0x00
>
> when the machine was booted without the monitor. Following the advice
> of an old ACPI HOWTO I tried to store 0x80000001 in that file:
>
> # /bin/echo 0x80000001 > /proc/acpi/video/VGA/CRTD/state
> /bin/echo: write error: Bad address
>
> I had a look at my iasl-disassembled /proc/dsdt and found this:
>
> Device (VGA)
> {
> .....
> Name (DONE, Zero)
> .....
>
> Device (CRTD)
> {
> .....
> Method (_DSS, 1, NotSerialized)
> {
> If (And (Arg0, 0x40000000))
> {
> If (And (Arg0, 0x80000000))
> {
> Store (One, DONE)
> }
> }
> }
> }
> }
>
> I have never looked at this stuff before, but I don't get the
> impression that it's actually going to do anything to the hardware
> registers, is it? Am I looking in the wrong place? Based on that I
> did try to store 0xC0000000 and 0xC0000001, and in this case there was
> no "Bad address" error - but no output change either.
>
> Can someone point me in the right direction?
> I have put the complete dsdt.dsl here: http://chezphil.org/tmp/eee_901_dsdt.dsl
>
>
> Many thanks, Phil.
>
> (Please cc: me in any replies)
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-09-17 5:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 21:43 Toggling VGA out on Eee 901 Phil Endecott
2008-09-17 5:47 ` Zhang Rui [this message]
2008-09-17 10:52 ` Phil Endecott
2008-09-18 2:47 ` Zhang Rui
[not found] <71cd59b00809170813hba237e8y2bb3b4b2e7604d04@mail.gmail.com>
2008-09-17 19:31 ` Phil Endecott
2008-09-17 19:47 ` Corentin Chary
2008-09-17 21:08 ` Phil Endecott
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=1221630423.3441.147.camel@rzhang-dt \
--to=rui.zhang@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=phil_hmpau_endecott@chezphil.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