Pas le bon clavier en console (tty) ?

Je vien de m’apercevoir que sous les tty j’ai pas le bon clavier
le clavier est un g15 logitech, marche normalment sous x donc voila mon xorg.conf:

cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@saens)  Sat May 12 22:20:45 UTC 2007

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (randy@juliet2)  Sat May 12 15:26:42 PDT 2007

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
#    Load           "dbe"
#    Load           "extmod"
#    Load           "freetype"
#    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "ch"
    Option         "XkbVariant" "fr"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTX"
    VideoRam       768
    Option         "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1680x1050_60 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
locale
LANG=fr_CH.UTF-8
LC_CTYPE="fr_CH.UTF-8"
LC_NUMERIC="fr_CH.UTF-8"
LC_TIME="fr_CH.UTF-8"
LC_COLLATE="fr_CH.UTF-8"
LC_MONETARY="fr_CH.UTF-8"
LC_MESSAGES="fr_CH.UTF-8"
LC_PAPER="fr_CH.UTF-8"
LC_NAME="fr_CH.UTF-8"
LC_ADDRESS="fr_CH.UTF-8"
LC_TELEPHONE="fr_CH.UTF-8"
LC_MEASUREMENT="fr_CH.UTF-8"
LC_IDENTIFICATION="fr_CH.UTF-8"
LC_ALL=

une idée ?

erf et Mmmerrr**** tromper de secteur un modérateur peux déplacer le post s’il vous plaît. :blush:

Pas le bon clavier ?
Tu veux dire qu’une équipe de korrigans débranche ton clavier et le remplace par un autre à chaque fois que tu passes d’une console tty à ta session X ?

Ou tu parles plus simplement de ton mappage calvier (‘azerty…’, ‘qwerty…’, etc.) ?

Dans ce dernier cas, est-ce que le paquet ‘console-setup’ est installé sur ta Debian ?
Si non, le faire pourrait régler ce problème !

[quote=“aptitude show console-setup”]Package: console-setup
State: not installed
Version: 1.28
Priority: optional
Section: utils
Maintainer: Debian Install System Team debian-boot@lists.debian.org
Uncompressed Size: 1233k
Depends: debconf (>= 0.5) | debconf-2.0, console-terminus (>= 4.26), xkb-data (>= 0.9)
Recommends: kbd (>= 0.99-12) | console-tools (>= 1:0.2.3-16)
Suggests: lsb-base (>= 3.0-6)
Conflicts: lsb (< 2.0-6), lsb-base (< 3.0-6), lsb-core (< 2.0-6)
Description: Set up the font and the keyboard on the console
The package provides the Linux console with the same versatile keyboard configuration that the X Window System uses. As a result there is no need to duplicate or change the keyboard files just to make simple customisations such as the use of dead keys, the key functioning as AltGr or Compose key, the key(s) to switch between Latin and non-Latin mode, etc.

The package also contains console fonts supporting many of the world’s languages. It provides an unified set of font faces - the classic VGA, the simplistic Fixed, and the cleaned Terminus, TerminusBold and TerminusBoldVGA.[/quote]

C’est pas le /etc/X11/xorg.conf qui determine ton clavier en tty tout simplement parce que X11 c’est pour le mode graphique. En tty t’es pas en mode graphique.

Fais un dpkg-reconfigure console-data, je pense que ca devrait resoudre ton probleme.

Merci