platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Joey Lee <jlee@novell.com>
Cc: chris@cnpbagwell.com, corentin.chary@gmail.com,
	hadess@hadess.net, yong.y.wang@intel.com,
	acpi4asus-user@lists.sourceforge.net,
	Egbert Eich <eich@novell.com>,
	Stefan Dirsch <sndirsch@novell.com>,
	kay.sievers@suse.de, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH 1/2] eeepc-wmi: add additional hotkeys
Date: Sun, 7 Nov 2010 23:18:00 -0800	[thread overview]
Message-ID: <20101108071800.GA6977@core.coreip.homeip.net> (raw)
In-Reply-To: <4CD7F3F20200002300023745@novprvlin0050.provo.novell.com>

On Sun, Nov 07, 2010 at 06:58:26PM -0700, Joey Lee wrote:
> Hi Dmitry, 
> 
> 於 六,2010-11-06 於 02:39 -0700,Dmitry Torokhov 提到:
> > On Sat, Nov 06, 2010 at 08:42:52AM +0100, Corentin Chary wrote:
> > > On Sat, Nov 6, 2010 at 4:02 AM, Chris Bagwell <chris@cnpbagwell.com> wrote:
> > > > On Mon, Oct 11, 2010 at 12:10 PM, Dmitry Torokhov
> > > > <dmitry.torokhov@gmail.com> wrote:
> > > >> On Sunday, October 10, 2010 11:26:22 pm Corentin Chary wrote:
> > > >>> On Mon, Oct 11, 2010 at 3:48 AM,  <chris@cnpbagwell.com> wrote:
> > > >>> > From: Chris Bagwell <chris@cnpbagwell.com>
> > > >>> >
> > > >>> > Added 4 hotkeys using same keymap values as eeepc-latop.
> > > >>> > These are mousepad toggle, resolution change, screen off,
> > > >>> > and task manager.  These were tested on 1005PE and are the
> > > >>> > Fn-F3, F4, F7, and F9, respectively.
> > > >>> >
> > > >>> > Also, added a new hot key for power toggles (Fn-Space on 1005PE)
> > > >>> > and is meant to drive cpufv interface from userspace.
> > > >>> >
> > > >>> > Finally, added several keys to be ignored that are being emitted
> > > >>> > but do not mapped to any useful or documented hotkeys.  This is
> > > >>> > purely cosmetic to prevent uknown key reports on console/log files.
> > > >>> > These keys are reported on 1005PE's.
> > > >>>
> > > >>> What are exactly these keys ? Since they are probably some obscure Fn+
> > > >>> combo, and they are probably used on another model, I'm not sure we should
> > > >>> hide them.
> > > >>>
> > > >>> I'm still not happy with F13 for "disable touchpad" but I did the same
> > > >>> for other laptops,
> > > >>> and we don't have a key for that ATM.
> > > >>
> > > >> The most sensible way would be to add one then. We just need to decide if
> > > >> it should be a key or a switch.
> > > >>
> > > >
> > > > Motivated by thread on linux-input "Touchpad toggle mess", I changed
> > > > Fn-F3(toggle touchpad) from KEY_F13 to KEY_F22  With Gnome 2.32
> > > > (Fedora 14), now magically my touchpad toggle works automagically.
> > > >
> > > > So I'd like to submit a patch to change both eeepc-laptop and
> > > > eeepc-wmi to use KEY_F22 for toggle touchpad to get some immediate
> > > > benifit.  Any issues with this?  Is F13 doing anything useful by
> > > > default?
> > > >
> > > > I know in this thread and in other thread Dmitry mentioned we should
> > > > make a KEY_TOUCHPAD_TOGGLE (or whatever name).  I'm probably just
> > > > smart enough to do that if preferred but don't think I'd be able to
> > > > take it to the next level and get it translated to
> > > > XF86XK_TouchpadToggle.  Help appreciate in that area.
> > > >
> > > > Chris
> > > >
> > > 
> > > Hi Chris,
> > > Since 2.6.38 merge window should be in a long time, I think we have
> > > the time to ad new keys.
> > > 
> > > Dimitry, what do you think of :
> > > 
> > > KEY_TOUCHPAD_TOGGLE 248
> > > KEY_TOUCHPAD_ON            249
> > > KEY_TOUCHPAD_OFF           250
> > > 
> > > Maybe we should keep these lower keycodes for other stuff, and use
> > > some higher ones ?
> > > 
> > 
> > I think we should move them up. Bastien mentioned that X already
> > standardized on F21, 22 and 23 so they will need to remap anyways, thus
> > we'll be "wasting" valuable lower scancode estate if we do it this way.
> > 
> 
> If we move them up to higher keycode.
> Does X-window already support keycode more then 255?
> 

Not at the moment.

> Actually, I also got problem with our X-window not support
> KEY_DOLLAR(0x1b2) and KEY_EURO(0x1b3).
> 
> I need use udev or hal to remapping those key to lower keycodes.
> 
> > The only thing that is left is to feed udev guys with keymaps till X is
> > able to take the full scancode trange.
> > 
> 
> Sorry I am not clear understood.
> Did you mean we put the key re-mapping to lower keycode in udev until X
> ready for full scancode range?

Yes.

> 
> Does there have any time line for X window support full scancode range?

Not that I know of, but this question is better asked on Xorg mailing
lists.

Thanks.

-- 
Dmitry

  reply	other threads:[~2010-11-08  7:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-08  1:58 [PATCH 1/2] eeepc-wmi: add additional hotkeys Joey Lee
2010-11-08  7:18 ` Dmitry Torokhov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-11  1:48 chris
2010-10-11  6:26 ` Corentin Chary
2010-10-11 13:25   ` Chris Bagwell
2010-10-11 13:57     ` Corentin Chary
     [not found]   ` <AANLkTin3J3oOaYD8G=YSrBr0AKzw7mY7v0BQssw5z2Z6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-11 17:10     ` Dmitry Torokhov
2010-11-06  3:02       ` Chris Bagwell
2010-11-06  7:42         ` Corentin Chary
2010-11-06  9:39           ` Dmitry Torokhov

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=20101108071800.GA6977@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=acpi4asus-user@lists.sourceforge.net \
    --cc=chris@cnpbagwell.com \
    --cc=corentin.chary@gmail.com \
    --cc=eich@novell.com \
    --cc=hadess@hadess.net \
    --cc=jlee@novell.com \
    --cc=kay.sievers@suse.de \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=sndirsch@novell.com \
    --cc=yong.y.wang@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).