lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 24 Mar 2011 09:00:14 -0500
From:	Chris Bagwell <chris@...bagwell.com>
To:	Corentin Chary <corentin.chary@...il.com>
Cc:	Matthew Garrett <mjg@...hat.com>,
	acpi4asus-user@...ts.sourceforge.net,
	platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
	Seth Forshee <seth.forshee@...onical.com>
Subject: Re: [PATCH] eeepc-wmi: Add support for T101MT "Express Gate" key

On Thu, Mar 24, 2011 at 8:40 AM, Corentin Chary
<corentin.chary@...il.com> wrote:
>> I would suggest sending BTN_HOME upon button release 0xe5 (not press
>> 0xe4 and do the autorelease because of it) and BTN_PROG2 on
>> press-and-hold 0xea.
>>
>> If you press-and-hold, does it still send the 0xe5 upon release?  That
>> could complicate things so that both button events do not get sent.
>>
>> I'm not sure what BTN_HOME is commonly used for.  This button does
>> sound like a HOME button in iPad sense but not in web browser sense.
>
> Except the fact that I don't find BTN_HOME in inpout.h, that's seems a
> better idea, forget what I've said earlier.

Ha... Sorry, I had buttons on my brain.  I meant KEY_HOME as you suggested.

>
> 0xe4 -> KEY_IGNORE
> 0xe5 -> KEY_HOME
> 0xea -> KEY_PROG2, (or BTN_TASK to copy android/iOS ?)

>From a quick google, I couldn't finding any specific meaning of
BTN_TASK but it looks like xf86-input-evdev turns it into a button
press so we may not want that one.

I've no idea of best values but those are pretty close.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ