You are not logged in.

#1 2008-11-16 13:17:04

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

[solved] A little help with non-us keyboard

I installed xorg-server from testing a while ago, but I did so without installing input-xf86-evdev. Everything worked fine until I upgraded it from 1.5.2 to 1.5.3 (both from testing) and evdev was installed as a dependency.

Apparently, evdev doesn't read /etc/X11/xorg.conf, as it ignores my Keyboard section. So I set up my keyboard manually, using setxkbmap:

setxkbmap -rules xorg -layout br -variant abnt2

For comparing, this is my Keyboard section in xorg.conf:

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbRules"        "xorg"
    Option      "XkbModel"        "abnt2"
    Option      "XkbLayout"       "br"
    Option      "XkbVariant"      "abnt2"

EndSection

Almost all keys are working correctly, except two. I also tried to pass the -model argument to setxkbmap, but then the keyboard wouldn't work.

setxkbmap -rules xorg -model abnt2 -layout br -variant abnt2

Besides setting the two keys manually with xmodmap, is there another option?

TIA

Last edited by andre.ramaciotti (2008-11-16 15:30:32)


(lambda ())

Offline

#2 2008-11-16 14:15:22

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: [solved] A little help with non-us keyboard

i added

Section "ServerFlags"
    Option         "AutoAddDevices" "false"
EndSection

to my xorg.conf to skip hal autodetection/hotplugging/whatever smile ...

Otherwise you'd probably have to try your hand at some hal xml files ( /etc/hal/fdi/policy/... )

Offline

#3 2008-11-16 15:30:01

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: [solved] A little help with non-us keyboard

It solved the problem. Thanks!


(lambda ())

Offline

Board footer

Powered by FluxBB