• [^] # Re: Même problème ...

    Posté par . En réponse au message Vends clavier typematrix qwerty + skin bépo. Évalué à 3.

    J'ai cette configuration depuis xorg 1.8 je crois et ça marche très bien.

    p-v-fheulin ~ # cd /etc/X11/xorg.conf.d/
    p-v-fheulin xorg.conf.d # ls -al
    total 28
    drwxr-xr-x 2 root root 4096 Oct 19 10:36 .
    drwxr-xr-x 6 root root 4096 Sep 27 18:07 ..
    -rw-r--r-- 1 root root 385 Jul 9 2010 fonts.conf
    -rw-r--r-- 1 root root 177 Jul 9 2010 hdaps.conf
    -rw-r--r-- 1 root root 137 Jul 12 2010 keyboard.conf
    -rw-r--r-- 1 root root 289 Jul 12 2010 typematrix.conf
    -rw-r--r-- 1 root root 322 Apr 5 2011 vgaoutput.conf
    p-v-fheulin xorg.conf.d # cat keyboard.conf 
    Section "InputClass"
     Identifier "default keyboard"
     MatchIsKeyboard "on"
     Driver "evdev"
     Option "XkbLayout" "fr"
    EndSection
    p-v-fheulin xorg.conf.d # cat typematrix.conf 
    Section "InputClass"
     Identifier "Typematrix"
     Driver "evdev"
     MatchDevicePath "/dev/typematrix"
     Option "XkbLayout" "fr"
     Option "XkbVariant" "bepo"
    EndSection
    Section "InputClass"
     Identifier "Typematrix-if1"
     MatchDevicePath "/dev/tm-if1"
     Option "Ignore" "True"
    EndSection
    
    

    /dev/typematrix et /dev/tm-if1 proviennent des règles udev suivantes :

    p-v-fheulin xorg.conf.d # cd /etc/udev/rules.d/
    p-v-fheulin rules.d # ls -al
    total 32
    drwxr-xr-x 2 root root 4096 Oct 19 09:30 .
    drwxr-xr-x 3 root root 4096 Sep 27 17:39 ..
    -rw-r--r-- 1 root root 0 Sep 27 17:39 .keep_sys-fs_udev-0
    -rw-r--r-- 1 root root 82 Jan 11 2010 50-local-tuntap.rules
    -rw-r--r-- 1 root root 84 Sep 30 10:57 60-vmware.rules
    -rw-r--r-- 1 root root 960 Oct 18 14:57 70-persistent-cd.rules
    -rw-r--r-- 1 root root 631 Sep 27 17:39 70-persistent-net.rules
    -rw-r--r-- 1 root root 28 Dec 23 2010 99-fuse.rules
    -rw-r--r-- 1 root root 357 Jul 12 2010 99-local-typematrix.rules
    p-v-fheulin rules.d # cat 99-local-typematrix.rules 
    DRIVERS=="usb", ATTRS{idVendor}=="1e54", ATTRS{idProduct}=="2030", ENV{ID_INPUT_KEYBOARD}=="?*", ACTION=="add", NAME="typematrix"
    DRIVERS=="usb", ATTRS{idVendor}=="1e54", ATTRS{idProduct}=="2030", ENV{ID_INPUT_KEYBOARD}=="" , ACTION=="add", NAME="tm-if1"
    
    

    P.S.: Le tm-ifl est un périphérique désactivé car le clavier typematrix semble déclarer une souris à molette fantôme en plus du clavier, ce qui causait des warnings/garbage dans la log de xorg.