Keyboard misdetected as “Evdev-managed keyboard”

Bug #102079 reported by Anders Kaseorg
4
Affects Status Importance Assigned to Milestone
control-center (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Even though my xorg.conf has Option "XkbModel" "pc104", GNOME Keyboard Preferences detects my keyboard layout as “Evdev-managed keyboard”. If I change any of the Layout Options (thus causing GNOME to actually install the detected layout), several keys start giving the wrong keysyms. Things go back to normal if I manually select “Generic 104-key PC”.

(I’m on feisty amd64, current as of 2007-04-02.)

Anders Kaseorg (andersk)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug

Changed in control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Sergey, do you know how the keyboard layout is selected?

Revision history for this message
Sergey V. Udaltsov (sergey-udaltsov) wrote :

There is no automatic selection of the keyboard. The initial value is taken from xorg.conf. May be, cleaning gconf settings could help.

Revision history for this message
Sebastien Bacher (seb128) wrote :

what xorg value does it use to select the keyboard model?

Revision history for this message
Sergey V. Udaltsov (sergey-udaltsov) wrote :

The logic IIRC is very simple:

Once xorg starts, it puts the value from xorg.conf into XKB_RULES_NAMES root window property.

Once gnome (gnome-settings-daemon) starts, it backs up XKB_RULES_NAMES into XKB_RULES_NAMES_BACKUP and then checks gconf. If there is nothing in gconf, it uses the current value from XKB_RULES_NAMES (i.e. actually it is doing nothing). Otherwise, it changes the configuration using the values from gconf.

Once gnome-keyboard-properties capplet starts, is loads whatever configuration is present in gconf - or, if none, falls back to the original one, i.e. XKB_RULES_NAMES.

Does it make sense?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you Sergey. The bug looks weird then, letting unconfirmed for now it's low importance and we get too many bugs at the moment to work on everything

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still have the issue? Could you try on gutsy?

Changed in control-center:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this report for now, feel free to re open it if you can reproduce it with Gutsy Gibbon. thanks in advance.

Changed in control-center:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.