mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrei Gaponenko <andrei.gaponenko@cern.ch>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-kernel@vger.kernel.org, corentincj@iksaif.net,
	sziwan@users.sourceforge.net
Subject: Re: video breaks asus-laptop display switching
Date: Sat, 22 Dec 2007 00:21:57 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0712220013030.31611@roof> (raw)
In-Reply-To: <1198309997.9550.2.camel@acpi-sony>


On Sat, 22 Dec 2007, Zhang Rui wrote:

> On Sat, 2007-12-22 at 06:36 +0800, Andrei Gaponenko wrote:
>>
>> With 2.6.23 or newer (including 2.6.24-rc6) kernels, writing to the
>> /sys/devices/platform/asus-laptop/display file does not do anything:
>> ...
>>
> hmm, please "echo 1 > /proc/acpi/video/xxx/DOS" in 2.6.23 and see
> if there is any difference.

ls /proc/acpi/video/
shows two identically named directories "VGA" - is this normal??

Anyway,

# cat VGA/DOS
DOS setting: <1>

# echo 3 > VGA/DOS
# cat VGA/DOS
DOS setting: <3>

but no image on external.  Now

# rmmod video
# echo 3 > /sys/devices/platform/asus-laptop/display

Got image on external

# modprobe video
# cat VGA/DOS
DOS setting: <0>

I can write 1 or 3 to DOS and read it back, but it has no effect (image on 
external turned on while video module was removed does not go away).

Please Cc: me on replies - forgot to mention this in the initial posting.

Thanks!
Andrei

      reply	other threads:[~2007-12-22  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-21 22:36 Andrei Gaponenko
2007-12-22  7:53 ` Zhang Rui
2007-12-22  8:21   ` Andrei Gaponenko [this message]

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=Pine.LNX.4.64.0712220013030.31611@roof \
    --to=andrei.gaponenko@cern.ch \
    --cc=corentincj@iksaif.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=sziwan@users.sourceforge.net \
    /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

all inboxes | Powered by JetHome®