2006-02-24 01:49:50

by Dave Jones

[permalink] [raw]
Subject: multimedia keys on dell inspiron 8200s.

We've been carrying this patch in Fedora for way too long.
So long, I've forgotten a lot of the history.

Aparently, it makes multimedia buttons on Dell Inspiron 8200's
produce keycodes. The only reference to this I found was
at http://linux.siprell.com/, but I don't know if that's its origin.

Signed-off-by: Dave Jones <[email protected]>

--- linux-2.6/drivers/input/keyboard/atkbd.c~ 2005-04-16 12:45:00.000000000 -0400
+++ linux-2.6/drivers/input/keyboard/atkbd.c 2005-04-16 12:46:28.000000000 -0400
@@ -90,13 +90,13 @@ static unsigned char atkbd_set2_keycode[
82, 83, 80, 76, 77, 72, 1, 69, 87, 78, 81, 74, 55, 73, 70, 99,

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 217,100,255, 0, 97,165, 0, 0,156, 0, 0, 0, 0, 0, 0,125,
- 173,114, 0,113, 0, 0, 0,126,128, 0, 0,140, 0, 0, 0,127,
+ 217,100,255, 0, 97,165,196, 0,156, 0, 0, 0, 0, 0,197,125,
+ 173,114, 0,113, 0, 0,198,126,128, 0, 0,140, 0, 0, 0,127,
159, 0,115, 0,164, 0, 0,116,158, 0,150,166, 0, 0, 0,142,
157, 0, 0, 0, 0, 0, 0, 0,155, 0, 98, 0, 0,163, 0, 0,
226, 0, 0, 0, 0, 0, 0, 0, 0,255, 96, 0, 0, 0,143, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,107, 0,105,102, 0, 0,112,
- 110,111,108,112,106,103, 0,119, 0,118,109, 0, 99,104,119, 0,
+ 110,111,108,112,106,103,195,119, 0,118,109, 0, 99,104,119, 0,

0, 0, 0, 65, 99,
#endif


2006-02-25 03:57:56

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: multimedia keys on dell inspiron 8200s.

On Thursday 23 February 2006 20:49, Dave Jones wrote:
> We've been carrying this patch in Fedora for way too long.
> So long, I've forgotten a lot of the history.
>
> Aparently, it makes multimedia buttons on Dell Inspiron 8200's
> produce keycodes. The only reference to this I found was
> at http://linux.siprell.com/, but I don't know if that's its origin.
>

Dave,

This patch was refused before. Any additional/non-standard mapping is
to be done in userspace (you need to properly adjust xorg.conf anyway):

http://bugzilla.kernel.org/show_bug.cgi?id=2817#c4

> ------- Additional Comment #4 From Vojtech Pavlik 2005-07-03 00:19 -------
> I will not accept this patch (or any similar patch) to extend the
> atkbd.c mapping table - only standard scancodes are allowed there. The
> table is easily modified from userspace, and that is the way to go.
>
> In the past I tried to fill the table with all the entries, but found
> out that there are two or three keyboards competing for every position
> in the scancode table, with a different keycode.

--
Dmitry

2006-02-25 04:27:37

by Dave Jones

[permalink] [raw]
Subject: Re: multimedia keys on dell inspiron 8200s.

On Fri, Feb 24, 2006 at 10:57:53PM -0500, Dmitry Torokhov wrote:
> On Thursday 23 February 2006 20:49, Dave Jones wrote:
> > We've been carrying this patch in Fedora for way too long.
> > So long, I've forgotten a lot of the history.
> >
> > Aparently, it makes multimedia buttons on Dell Inspiron 8200's
> > produce keycodes. The only reference to this I found was
> > at http://linux.siprell.com/, but I don't know if that's its origin.
> >
>
> Dave,
>
> This patch was refused before. Any additional/non-standard mapping is
> to be done in userspace (you need to properly adjust xorg.conf anyway):
>
> http://bugzilla.kernel.org/show_bug.cgi?id=2817#c4

Ok, thanks, I'll make sure it gets dropped from the Fedora tree.

Dave

2006-03-09 22:05:27

by Giuseppe Bilotta

[permalink] [raw]
Subject: Re: multimedia keys on dell inspiron 8200s.

On Fri, 24 Feb 2006 23:27:29 -0500, Dave Jones wrote:

> On Fri, Feb 24, 2006 at 10:57:53PM -0500, Dmitry Torokhov wrote:
> > On Thursday 23 February 2006 20:49, Dave Jones wrote:
> > > We've been carrying this patch in Fedora for way too long.
> > > So long, I've forgotten a lot of the history.
> > >
> > > Aparently, it makes multimedia buttons on Dell Inspiron 8200's
> > > produce keycodes. The only reference to this I found was
> > > at http://linux.siprell.com/, but I don't know if that's its origin.
> > >
> >
> > Dave,
> >
> > This patch was refused before. Any additional/non-standard mapping is
> > to be done in userspace (you need to properly adjust xorg.conf anyway):
> >
> > http://bugzilla.kernel.org/show_bug.cgi?id=2817#c4
>
> Ok, thanks, I'll make sure it gets dropped from the Fedora tree.

The patch looks remarkably like the one I originally submitted for
comments.

I'm still running Linux on my Dell Inspiron 8200 and I'm not using
that patch anymore. Rather, I found a package that recently made it to
the Debian unstable repository, hotkey-setup

http://packages.debian.org/unstable/misc/hotkey-setup

which you may want to consider for inclusion on Fedora too. On the
Debian BTS you will also see a Bug/Wish from me

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355223

with additional definitions for the multimedia keys on my Dell and
some comments.

(Sorry for the delay in my reply)


--
Giuseppe "Oblomov" Bilotta

[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and
tyrants.
-- Thomas Jefferson, letter to Col. William S. Smith, 1787