Keyboard mapping for Dell Mobile Precision platforms

Rezwanul_Kabir at Dell.com Rezwanul_Kabir at Dell.com
Wed Nov 1 10:33:56 PST 2006


Hi

  I am trying to map some HotKeys into specific actions for Dell Mobile
Precision systems. I have been able to do so quite easily for the text
console but  having problem with key mapping in Xwindows.

 I am not very familiar with Xwindows code so pls help me out...

Here's what I got:

  kernel 2.6.18
  Fedora Core 5 
  xorg-x11-server-Xorg-1.0.1-8

For example:

 I would like to map Fn+F1 to "hibernate"
 From text console with 'showkey -s' , I find pressing Fn+F1 generates
e00a. So it's quite from there to map it to any action.

 But the problem is, when I fire up xserver and run 'xev'. If I press
Fn+F1, nothing shows up in the screen to tell me about any
Xkeycode/keysym that is generated.

  This tells me that the problem might be in mapping scancode -->
Xkeycode in  the xf86PostKbdEvent() function in
hw/xfree86/common/xf86Events.c
   Is this the right way to fix it? If not what path should I take?

   Any pointers/suggestions are welcome. I am willing to do any coding
to get it fixed.

   
   Thanks..
      --rez


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061101/1a99dc98/attachment.html>


More information about the xorg mailing list