From: Jan Schubert <Jan.Schubert@GMX.li>
To: Massimo Dal Zotto <dz@debian.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0_test6: CONFIG_I8K produces wrong/no keycodes for special buttons
Date: Mon, 06 Oct 2003 13:00:07 +0200 [thread overview]
Message-ID: <3F814B37.5040009@GMX.li> (raw)
In-Reply-To: <200310061034.h96AYGVP021010@dizzy.dz.net>
Massimo Dal Zotto wrote:
>The inspiron 8000 has 4 multimedia buttons, 2 volume buttons and 3 Fn-key
>combinations. Other Dell laptops have only one or two buttons.
>
>The multimedia buttons generate the following raw scancodes which can be
>dumped with showkey -s:
>
> 0xe0 0x01 play
> 0xe0 0x02 stop
> 0xe0 0x03 back
> 0xe0 0x04 forward
>
>Since the raw scancodes are generate by the keyboard like any other key
>they should be handled by the 2.6.0 kernel as in 2.4.x. If this doesn't
>work it is a bug in the kernel. Did you try showkey -s with 2.6.0?
>
This is what i get:
play - <nothing>
Stop -
0xe0 0x22
0xe0 0xa2
back - <nothing>
forward-
0x6a
0xea
>For some obscure reason known only to Dell the volume buttons and the Fn-
>keys are trapped by the SMM BIOS and can be read only by the i8k driver
>which under kernel 2.4.x can be programmed to generate the original raw
>scancodes generated by the keyboard:
>
> 0xe0 0x20 fn+vol_mute
> 0xe0 0x2e vol_up, fn+vol_down
> 0xe0 0x30 vol_up, Fn+vol_up
>
These keys seems to work, but don't produce any keycodes. The same
happens when pressing the (special) Volume-keys.
>(SMM BIOS can be programmed to handle volume buttons as normal keys
>by disabling the Fn- key but then you don't have the Fn- function,
>including bios access and suspend)
>
Suspend and Bios-Setup will work (when accessing the Bios-Setup there is
no way to come back to my system - this worked some time ago).
>Unfortunately the keyboard interface has changed in 2.6.0 and it is not
>possible to generate the 0xe0, 0x0N sequence as in 2.4.x, so this feature
>has been disabled and you must use i8kbuttons instead. If anybody knows
>how to generate the corresponding scancodes in kernel 2.6.0 please let
>me know.
>
Is i8kbuttons usable for the play, stop, back and forward-button? This
would be new to me, AFAIK you can only map the volume-keys.
toral distfiles # i8kbuttons --help
Usage: i8kbuttons [<option>...]
Options:
-v|--verbose
-u|--up <command>
-d|--down <command>
-m|--mute <command>
-r|--repeat <milliseconds>
-t|--timeout <milliseconds>
Thx, Jan
next prev parent reply other threads:[~2003-10-06 11:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-04 10:17 2.6.0_test6: CONFIG_I8K produces wrong/no keycodes for special buttons Jan Schubert
2003-10-06 2:37 ` Valdis.Kletnieks
2003-10-06 7:56 ` Jan Schubert
2003-10-06 10:34 ` Massimo Dal Zotto
2003-10-06 11:00 ` Jan Schubert [this message]
2003-10-06 17:42 ` Georg Nikodym
2003-10-06 17:56 ` Jan Schubert
2003-10-06 20:00 ` Georg Nikodym
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=3F814B37.5040009@GMX.li \
--to=jan.schubert@gmx.li \
--cc=dz@debian.org \
--cc=linux-kernel@vger.kernel.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