public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Len Brown <lenb@kernel.org>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] ACPI video: Add video_switch_key option
Date: Wed, 24 Nov 2010 15:38:05 +0100	[thread overview]
Message-ID: <s5hbp5erdma.wl%tiwai@suse.de> (raw)
In-Reply-To: <20101124143517.GA31182@srcf.ucam.org>

At Wed, 24 Nov 2010 14:35:17 +0000,
Matthew Garrett wrote:
> 
> On Wed, Nov 24, 2010 at 03:31:11PM +0100, Takashi Iwai wrote:
> 
> > Typically GNOME changes to the next monitor mode (e.g. xinearama,
> > clone, laptop-only, external-only) by each XF86VideoSwitch key event.
> > If you connect your laptop to a monitor, and sets to clone mode,
> > close the lid, and reopen.  Then you'll find the video mode is now
> > external-monitor only.  It's because two XF86VideoSwitch key events
> > are issued during close/open the lid.
> 
> That's not what that keystroke is expected to do. Userspace needs to 
> either interpret it as "Reprobe devices" or pay attention to the 
> configuration that the firmware requested.

Unfortunately, this is the standard behavior on most desktops :-<
Fn-F4 (or whatever) media key produces this exact key code, and the
desktops (including Windows) expect this behavior.


thanks,

Takashi

  reply	other threads:[~2010-11-24 14:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 10:39 [PATCH] ACPI video: Add video_switch_key option Takashi Iwai
2010-11-24  7:05 ` Takashi Iwai
2010-11-24 14:26   ` Matthew Garrett
2010-11-24 14:31     ` Takashi Iwai
2010-11-24 14:35       ` Matthew Garrett
2010-11-24 14:38         ` Takashi Iwai [this message]
2010-11-24 14:42           ` Matthew Garrett
2010-11-24 14:45             ` Takashi Iwai
2010-11-24 14:54               ` Matthew Garrett
2010-11-24 15:04                 ` Takashi Iwai
2010-11-24 15:09                   ` Matthew Garrett

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=s5hbp5erdma.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.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