Ressources documentaires pour Mandriva Linux et les Logiciels Libres

Fixing input drivers issues in Cooker

Since the beginning of the week, Mandriva Cooker have switch to Xorg 1.5, and HAL support have been enabled by default. This means 2 things :

  1. Evdev input driver need to be installed : If you end up with a non-working keyboard and mouse, then you need to install the x11-driver-input-evdev package
  2. You need to specify manually your keyboard layout at runtime : indeed the evdev driver with HAL support enabled will no longer read the keyboard layout setting from /etc/X11/xorg.conf, but will rely on HAL. However as XFdrake has not be updated yet to configure correctly HAL, you will end up with the us keyboard layout. To fix this manually, you will have to use the setxkbmap command. For example to have a french layout, you will use the following : setxkbmap -keycodes evdev fr
  3. The keyboard layout will be the us one at login prompt. As above you will have to define the keyboard layout. If you want to set this setting in HAL permanently and as a system wide configuration, then you will have to modify the right HAL fdi file. Copy the file /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi in /etc/hal/fdi/policy/10osvendor, and then edit the file set the right layout in the input.xkb.layout key. For a french layout you will have for example : <merge key= »input.xkb.layout » type= »string »>fr</merge>

For further informations, and to see how to disable evdev support, please read the following blog post : evdev, xorg.conf, hal and other FUD


Aucun commentaire jusqu'à présent.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *


My Tweets