Skip to contentSkip to conversation

multimedia keys on dell inspiron 8200s.

PATCH Dave Jones 3 participants 4 messages Feb 24, 2006 – Mar 9, 2006 Input drivers

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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.

drivers/input/keyboard/atkbd.c renamed from drivers/input/keyboard/atkbd.c~ +3 -3
@@ -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
#1 lore raw
Quoted 7 lines · Dave Jones

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

Quoted 8 lines

------- 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.

Signature · 1 line
Dmitry
author
#2 lore raw
Quoted 9 lines · Dmitry Torokhov
Quoted 7 lines · Dave Jones

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.

Quoted 6 lines

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

#3 lore raw
Quoted 10 lines · Dave Jones
Quoted 9 lines · Dmitry Torokhov
Quoted 7 lines · Dave Jones

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.

Quoted 8 lines
Quoted 6 lines

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)

Signature · 8 lines
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