[HLUG] evdev

AT Ege andreas.ege at mymail.ch
Wed Jan 20 22:20:15 UTC 2010


Hi,

>> _had massive problems_ with kbd
it gave me keystrokes in triple, after switching to console (ctrl +alt 
+f1) and back to X, I had a permanent pressed down ctrl. Makes work 
close to impossible, if you don't want to work without keyboard.

> Switch back to kbd?
> 
Evdev was the only approach I found, that solved the above problems, and 
compared to that buggy cursor keys are a real improvement, so no, I 
don't see that as a solution at the moment.
Probably will be different once I manage to get my new 'puter installed. 
I know I got a buggy system running at the moment, that would need some 
extensive clean-up, but as I actually wan't to get the new hardware 
running, I don't intend spending more time then necessary on what I got 
right now. But unfortunately it seems the new mainboard I got is broken, 
which slows it a bit down.

And I actually forgot to attach the keyboard part of xorg.conf:
Section "InputDevice"
    Option         "CoreKeyboard"
     Identifier     "Keyboard0"
    # Driver         "kbd"
     Driver         "evdev"
     Option         "CoreKeyboard"
     Option         "XkbRules" "xorg"
     Option         "evBits"  "+1"
     Option         "keyBits" "~1-255 ~352-511"
     Option         "Pass"    "3"
     Option         "XkbModel" "microsoft"
     Option         "XkbLayout" "de"
     Option         "XkbVariant" "nodeadkeys"
EndSection

and the
/etc/hal/fdi/policy/10-keymap.fdi:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
   <device>
     <match key="info.capabilities" contains="input.keymap">
       <append key="info.callouts.add" 
type="strlist">hal-setup-keymap</append>
     </match>

     <match key="info.capabilities" contains="input.keys">
       <merge key="input.xkb.rules" type="string">xorg</merge>

       <!-- If we're using Linux, we use evdev by default (falling back to
            keyboard otherwise). -->
       <merge key="input.xkb.model" type="string">microsoft</merge>
       <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
              string="Linux">
         <merge key="input.xkb.model" type="string">evdev</merge>
       </match>

       <merge key="input.xkb.layout" type="string">de</merge>
       <merge key="input.xkb.variant" type="string">nodeadkeys</merge>
     </match>
   </device>
</deviceinfo>


-- 
Andreas Ege

		16A Headbrook
                 Kington
                 Herefordshire HR5 3DZ
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1544.239107
                 http://spheniscid.net



More information about the Herefordshire mailing list