From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Takashi Iwai <tiwai@suse.de>
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 14:26:18 +0000 [thread overview]
Message-ID: <20101124142618.GB30831@srcf.ucam.org> (raw)
In-Reply-To: <s5hipznnqv4.wl%tiwai@suse.de>
On Wed, Nov 24, 2010 at 08:05:35AM +0100, Takashi Iwai wrote:
> Hi,
>
> At Wed, 27 Oct 2010 12:39:17 +0200,
> Takashi Iwai wrote:
> > Some HP laptops send ACPI video events per lid open/close, and the
> > ACPI video driver translates to SWITCHVIDEOMODE input key events.
> > This behavior confuses the user-space daemon such as
> > gnome-settings-daemon since it changes the video mode per this key,
> > which results in a different video mode at each time you open/close
> > the laptop lid. Fn-Fx keys are handled differently on such hardware,
> > thus this key generation is simply superfluous.
> >
> > This patch adds a module parameter "video_switch_key" to either
> > assign a different key code for this ACPI event or disable by setting
> > zero there.
> >
> > Signed-off-by: Takashi Iwai <tiwai@suse.de>
>
> Any comments on this patch?
I'm not entirely clear on why this is wanted. Lid state changes seem to
be a reasonable proxy for "Reprobe outputs" - what's userspace actually
doing that causes problems?
--
Matthew Garrett | mjg59@srcf.ucam.org
next prev parent reply other threads:[~2010-11-24 14:26 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 [this message]
2010-11-24 14:31 ` Takashi Iwai
2010-11-24 14:35 ` Matthew Garrett
2010-11-24 14:38 ` Takashi Iwai
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=20101124142618.GB30831@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=tiwai@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.