Package: xfree86-common
Version: 4.1.0-16
Severity: wishlist

I modified some Xkb files to make the extra keys on my Samsung keyboard work. 
Can you add it to the distribution? I'm not sure about the policy regarding 
adding the keysyms. 

xev: noted down keycodes

152 eject               I18

178 i                   I32
236 mail                I6C

166 ?                   I26
217 search              I59
137 exit                I09
138 book                I0A

130 doc 1               I02
131 doc 2               I03
132 doc 3               I04
133 doc 4               I05
134 doc 5               I06

looked up keycodes in xkb dir
made keyboard entry in /etc/X11/xkb/symbols/inet
audio part matches logicordless driver

partial alphanumeric_keys
xkb_symbols "samsungsymbol" {
 
    // From: [EMAIL PROTECTED]  2002-11-02
    // Describes the extra keys on a Samsung multimedia keyboard.
    // There are two versions of this keyboard one with symbols (this one)
    // and one with names next to the keys. The symbols do not always correspond
    // to the names. For example: "game" != quitSymbol
 
    name[Group1]= "SamsungSymbol";
    key <I2E>   {       [ XF86AudioLowerVolume  ]       };
    key <I30>   {       [ XF86AudioRaiseVolume  ]       };
    key <I20>   {       [ XF86AudioMute         ]       };
    key <I18>   {       [ XF86Eject             ]       };
    
    key <I22>   {       [ XF86AudioPlay         ]       };
    key <I24>   {       [ XF86AudioStop         ]       };
    key <I10>   {       [ XF86AudioPrev         ]       };
    key <I19>   {       [ XF86AudioNext         ]       };
    
    key <I32>   {       [ XF86HomePage          ]       };
    key <I6C>   {       [ XF86Mail              ]       };
    key <I5F>   {       [ XF86Standby           ]       };
    
    key <I26>   {       [ XF86Help              ]       };
    key <I59>   {       [ XF86Search            ]       };
    key <I09>   {       [ XF86Quit              ]       };
    key <I0A>   {       [ XF86Manual            ]       };

    key <I02>   {       [ XF86Launch1           ]       };
    key <I03>   {       [ XF86Launch2           ]       };
    key <I04>   {       [ XF86Launch3           ]       };
    key <I05>   {       [ XF86Launch4           ]       };
    key <I06>   {       [ XF86Launch5           ]       };
};


looked up keysyms in /usr/X11R6/lib/X11/XKeysymDB
added XF86Help XF86Manual and XF86Quit to XKeySymDB

XF86Help                :1008FF3C
XF86Manual              :1008FF3D
XF86Quit                :1008FF3E

added entry to /etc/X11/xkb/rules/xfree86, I do not know what this means. I 
just copied the ones from logicordless which seems to work just fine.

  samsungsymbol  =      xfree86         pc(pc104)
samsungsymbol us      =       us(pc104)+inet(samsungsymbol)
  samsungsymbol en_US   =       en_US(pc104)+inet(samsungsymbol)
  samsungsymbol *       =       en_US(pc104)+inet(samsungsymbol)+%l%(v)


added entry to /etc/X11/xkb/rules/xfree86.lst

  samsungsymbol Samsung multimedia keyboard w/ symbols next to keys

set XF86Config to:

Option "XkbModel"       "samsungsymbol"

-- System Information
Debian Release: 3.0
Kernel Version: Linux plato 2.4.18-k6 #1 Sun Apr 14 12:43:22 EST 2002 i586 
unknown

Versions of the packages xfree86-common depends on:
ii  debianutils    1.16           Miscellaneous utilities specific to Debian.


Reply via email to