Clavier inactif au lancement de X.org

Résolu/Fermé
-_Onyx_- Messages postés 159 Date d'inscription vendredi 11 juin 2010 Statut Membre Dernière intervention 7 février 2013 - Modifié par -_Onyx_- le 23/09/2012 à 16:58
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 - 29 oct. 2012 à 20:14
Bonjour,

J'ai installé openSUSE 12.2 il y a deux jours (sur un SSD vierge) et mon problème est le suivant : dès l'écran de connexion mon clavier Enermax Acrylux devient inactif. Lorsque que j'arrête X.org pour me connecter à ma session en console, le clavier refonctionne!
J'ai donc remplacé mon Enermax par un ancien clavier (un clavier Fujitsu Siemens basique) , qui lui, fonctionne.
Je pense donc à un problème entre mon clavier et l'interface graphique (peut-être est-ce dû aux ports USB intégrés au clavier?)
Quelqu'un pourrait-il m'aider à résoudre ce problème SVP?

Merci d'avance pour vos réponses

PS : Les deux claviers fonctionnent avec Ubuntu 12.04 (noyau 3.2)


A voir également:

7 réponses

-_Onyx_- Messages postés 159 Date d'inscription vendredi 11 juin 2010 Statut Membre Dernière intervention 7 février 2013 34
29 oct. 2012 à 10:46
Bonjour,

J'ai trouvé la solution et en fait donc profiter à ceux qui sont dans le même cas que moi :
Il suffit de modifier /lib/udev/rules.d/71-seat.rules et de commenter la ligne :

SUBSYSTEM=="usb", ATTR{idVendor}=="058f", ATTR{idProduct}=="6254", ENV{ID_AUTOSEAT}="1"

(En une seule ligne) Qui devient donc :

#SUBSYSTEM=="usb", ATTR{idVendor}=="058f", ATTR{idProduct}=="6254", ENV{ID_AUTOSEAT}="1"

Et ça fonctionne!
voilà, j'espère que ça aidera ceux qui ont ce problème :)
2
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 7 748
24 sept. 2012 à 19:58
Voilà donc comme tu le vois, ubuntu utilise la version udev-175-1 qui marche avec ton clavier, tandis que suse utilise une version plus récente (udev-182-4) ce qui temps à confirmer ce qui est dit ici (post #16), à savoir que les versions ultérieures à udev-175 ne marchent pas bien avec ton modèle de clavier :
https://bbs.archlinux.org/viewtopic.php?id=136508

C'est assez dangereux de downgrader un paquet, surtout un paquet assez sensible comme udev, mais tu peux toujours essayer... Moi j'utiliserais simplement Ubuntu :p

Bonne chance
1
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 7 748
Modifié par mamiemando le 24/09/2012 à 01:14
Si tu penses que c'est xorg le coupable, il serait intéressant de lancer xorg avec le clavier qui pose problème puis de regarder les logs dans /var/log/Xorg.0.log (et copier les éventuels messages d'erreur relatif au clavier ici et dans google).

D'après ce qui est dit là ça pourrait venir d'udev (post 17) :
https://bbs.archlinux.org/viewtopic.php?id=136508

Tu peux essayer de comparer les versions de noyau et d'udev entre les deux distributions pour voir de quoi il en retourne... Mais bon si Ubuntu marche correctement le plus simple est peut être d'oublier OpenSuse (ou leur faire une remontée de bug).

Pour voir les versions d'udev et de noyau sous Ubuntu :

dpkg -l | grep udev
uname -a


Sous OpenSuse, je suppose qu'un truc du genre "rpm -qia | grep udev" pourrait marcher mais honnêtement je connais trop peu rpm pour te dire la commande exacte. La commande uname reste la même par contre.

Bonne chance
0
-_Onyx_- Messages postés 159 Date d'inscription vendredi 11 juin 2010 Statut Membre Dernière intervention 7 février 2013 34
24 sept. 2012 à 18:51
Bonjour,

Merci de ta réponse :) Alors voilà ce que ça me donne sous Ubuntu :

dpkg -l | grep udev :

ii gir1.2-gudev-1.0 175-0ubuntu9.1 libgudev-1.0 introspection data
ii libgudev-1.0-0 1:175-0ubuntu9.1 GObject-based wrapper library for libudev
ii libudev0 175-0ubuntu9.1 udev library
ii python-gudev 147.2-2 Python bindings for gudev
ii system-config-printer-udev 1.3.8+20120201-0ubuntu8.1 Printer auto-configuration facility based on udev
ii udev 175-0ubuntu9.1 rule-based device node and kernel event manager


et uname -a :

3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Quant-aux logs de xorg : (Troll étant le nom de ma machine sous Ubuntu :p)

[ 25.412]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 25.412] X Protocol Version 11, Revision 0
[ 25.412] Build Operating System: Linux 2.6.42-23-generic x86_64 Ubuntu
[ 25.412] Current Operating System: Linux Troll 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64
[ 25.412] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-31-generic root=UUID=6807e89b-7868-4135-a015-a4f0162bf8bd ro vga=795 quiet splash vt.handoff=7
[ 25.412] Build Date: 29 August 2012 12:12:33AM
[ 25.412] xorg-server 2:1.11.4-0ubuntu10.8 (For technical support please see https://ubuntu.com/support
[ 25.412] Current version of pixman: 0.24.4
[ 25.412] Before reporting problems, check https://www.x.org/wiki/
to make sure that you have the latest version.
[ 25.412] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 25.412] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 24 18:13:56 2012

[ 25.412] (==) Using config file: "/etc/X11/xorg.conf"
[ 25.412] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 26.627] (II) Module evdev: vendor="X.Org Foundation"
[ 26.627] compiled for 1.11.3, module version = 2.7.0
[ 26.627] Module class: X.Org XInput Driver
[ 26.627] ABI class: X.Org XInput driver, version 16.0
[ 26.627] (II) Using input driver 'evdev' for 'Power Button'
[ 26.627] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 26.627] (**) Power Button: always reports core events
[ 26.627] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 26.627] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 26.627] (--) evdev: Power Button: Found keys
[ 26.627] (II) evdev: Power Button: Configuring as keyboard
[ 26.627] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[ 26.627] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 26.627] (**) Option "xkb_rules" "evdev"
[ 26.627] (**) Option "xkb_model" "pc105"
[ 26.627] (**) Option "xkb_layout" "fr"
[ 26.627] (**) Option "xkb_variant" "oss"
[ 26.628] (II) XKB: reuse xkmfile /var/lib/xkb/server-6CCE7350BC740BB33D520367F4A10E64192A358C.xkm
[ 26.628] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 26.628] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 26.628] (II) Using input driver 'evdev' for 'Power Button'
[ 26.628] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 26.628] (**) Power Button: always reports core events
[ 26.628] (**) evdev: Power Button: Device: "/dev/input/event0"
[ 26.628] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 26.628] (--) evdev: Power Button: Found keys
[ 26.628] (II) evdev: Power Button: Configuring as keyboard
[ 26.628] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[ 26.628] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 26.628] (**) Option "xkb_rules" "evdev"
[ 26.628] (**) Option "xkb_model" "pc105"
[ 26.629] (**) Option "xkb_layout" "fr"
[ 26.629] (**) Option "xkb_variant" "oss"
[ 26.629] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event15)
[ 26.629] (II) No input driver specified, ignoring this device.
[ 26.629] (II) This device may have been added with another device file.
[ 26.629] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event16)
[ 26.629] (II) No input driver specified, ignoring this device.
[ 26.629] (II) This device may have been added with another device file.
[ 26.629] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event17)
[ 26.629] (II) No input driver specified, ignoring this device.
[ 26.629] (II) This device may have been added with another device file.
[ 26.629] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18)
[ 26.629] (II) No input driver specified, ignoring this device.
[ 26.629] (II) This device may have been added with another device file.
[ 26.629] (II) config/udev: Adding input device Corsair Corsair Vengeance M60 Mouse (/dev/input/event2)
[ 26.629] (**) Corsair Corsair Vengeance M60 Mouse: Applying InputClass "evdev pointer catchall"
[ 26.629] (II) Using input driver 'evdev' for 'Corsair Corsair Vengeance M60 Mouse'


(En sautant ce qui concerne la partie pilote graphique)


Sous openSUSE :

:~> rpm -qia | grep udev
through udev.
Name : udev-configure-printer
This package creates static udev nodes for the parallel ports. The
Name : libgudev-1_0-0
Source RPM : udev-182-4.14.1.src.rpm
URL : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Summary : GObject library, to access udev device information
This package contains the GObject library libgudev, which provides
access to udev device information.
Name : libudev0
Source RPM : udev-182-4.14.1.src.rpm
URL : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Summary : Dynamic library to access udev device information
This package contains the dynamic library libudev, which provides
access to udev device information
Name : python-pyudev
Source RPM : python-pyudev-0.15-2.1.1.src.rpm
URL : https://pyudev.readthedocs.io/en/latest/
A Python binding to libudev, the hardware management library and service found
USB scanner autoconfiguration happens via udev.
The file /etc/udev/rules.d/56-sane-backends-autoconfig.rules contains
Name : udev
Source RPM : udev-182-4.14.1.src.rpm
URL : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
and dispatches them according to rules in /lib/udev/rules.d/. Matching
- devmap-name: provides a meaningful device name to udev for devmaps


:~> uname -a
Linux linux-u17y 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux



[ 13.848]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[ 13.848] X Protocol Version 11, Revision 0
[ 13.848] Build Operating System: openSUSE SUSE LINUX
[ 13.848] Current Operating System: Linux linux-u17y 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64
[ 13.848] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.4.6-2.10-desktop root=UUID=6fe6be12-30d1-492a-9916-24a941f4fe4f video=1920x1080 splash=silent quiet showopts
[ 13.848] Build Date: 07 September 2012 07:00:23PM
[ 13.848]
[ 13.848] Current version of pixman: 0.24.4
[ 13.848] Before reporting problems, check https://www.x.org/wiki/
to make sure that you have the latest version.
[ 13.848] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 13.848] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 24 17:58:08 2012
[ 15.160] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 15.160] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 15.160] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 15.160] (**) Power Button: Applying InputClass "LocalKeyboard"
[ 15.160] (II) LoadModule: "evdev"
[ 15.160] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 15.160] (II) Module evdev: vendor="X.Org Foundation"
[ 15.160] compiled for 1.12.3, module version = 2.7.0
[ 15.160] Module class: X.Org XInput Driver
[ 15.160] ABI class: X.Org XInput driver, version 16.0
[ 15.160] (II) Using input driver 'evdev' for 'Power Button'
[ 15.160] (**) Power Button: always reports core events
[ 15.160] (**) evdev: Power Button: Device: "/dev/input/event4"
[ 15.160] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 15.160] (--) evdev: Power Button: Found keys
[ 15.160] (II) evdev: Power Button: Configuring as keyboard
[ 15.160] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[ 15.160] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 15.160] (**) Option "xkb_rules" "evdev"
[ 15.160] (**) Option "xkb_model" "evdev"
[ 15.160] (**) Option "xkb_layout" "fr"
[ 15.160] (**) Option "xkb_options" "caps:capslock"
[ 15.179] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 15.180] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 15.180] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 15.180] (**) Power Button: Applying InputClass "LocalKeyboard"
[ 15.180] (II) Using input driver 'evdev' for 'Power Button'
[ 15.180] (**) Power Button: always reports core events
[ 15.180] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 15.180] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 15.180] (--) evdev: Power Button: Found keys
[ 15.180] (II) evdev: Power Button: Configuring as keyboard
[ 15.180] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3/event3"
[ 15.180] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 15.180] (**) Option "xkb_rules" "evdev"
[ 15.180] (**) Option "xkb_model" "evdev"
[ 15.180] (**) Option "xkb_layout" "fr"
[ 15.180] (**) Option "xkb_options" "caps:capslock"
[ 15.180] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[ 15.180] (II) No input driver specified, ignoring this device.
[ 15.180] (II) This device may have been added with another device file.
[ 15.180] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event15)
[ 15.180] (II) No input driver specified, ignoring this device.
[ 15.180] (II) This device may have been added with another device file.
[ 15.180] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
[ 15.180] (II) No input driver specified, ignoring this device.
[ 15.180] (II) This device may have been added with another device file.
[ 15.181] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event17)
[ 15.181] (II) No input driver specified, ignoring this device.
[ 15.181] (II) This device may have been added with another device file.
[ 15.181] (II) config/udev: Adding input device Corsair Corsair Vengeance M60 Mouse (/dev/input/event0)


Voilà pour les comparaisons
Peut-être y a-t-il eu un changement entre les versions de xorg que j'utilise?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
-_Onyx_- Messages postés 159 Date d'inscription vendredi 11 juin 2010 Statut Membre Dernière intervention 7 février 2013 34
25 sept. 2012 à 11:02
C'est troublant, le gars utilise presque le même clavier que moi et a le même problème :p

Je pense que je vais refiler mon clavier Enermax à mes parents qui sont sous Ubuntu et m'en acheter un fonctionnel...

À moins qu'il y ait une solution en bidouillant un peu? ;) (ce qui serait préférable quand même)
0
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 7 748
26 sept. 2012 à 08:32
Comme je viens de te le dire la "bidouille" que tu cherches consiste à downgrader udev (v175) via ton gestionnaire de paquets. Mais il y a neuf chances sur dix pour que ça se passe mal car tu as probablement des paquets qui dépendent de la version d'udev que tu utilises (v182).
0
-_Onyx_- Messages postés 159 Date d'inscription vendredi 11 juin 2010 Statut Membre Dernière intervention 7 février 2013 34
26 sept. 2012 à 13:05
Je voulais dire bidouiller udev v182 pour qu'il utilise mon clavier (il est reconnu par le système soit dit en passant) au lieu de downgrader
0
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 7 748
26 sept. 2012 à 21:27
J'en doute fortement.
0
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 7 748
29 oct. 2012 à 20:14
Merci pour ces précisions !
0