Bug 179452 - Keyboard layout indicator with evdev
Summary: Keyboard layout indicator with evdev
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard_layout (other bugs)
Version First Reported In: 4.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2009-01-03 06:50 UTC by Jaroslav Petráš
Modified: 2018-10-21 04:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Petráš 2009-01-03 06:50:36 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

'Indicator only' mode detects single layout while keyboard is configured with evdev driver (and there is more than single layout).

Part of my xorg.conf:

Section "InputDevice"
        Identifier      "Keyboard[0]"
        Driver          "evdev"      
        Option          "Device"                "/dev/input/event4"
        Option          "CoreKeyboard"                             
        Option          "XkbRules"      "xorg"                     
        Option          "XkbModel"      "pc104"                    
        Option          "XkbLayout"     "us,sk"                    
        Option          "XkbOptions"    "grp:alt_shift_toggle"     
EndSection

I am a laptop user, so I have 1+ events configured as keyboard:

(II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD)              
(II) evaluating device (Mouse[0])                                                     
(II) XINPUT: Adding extended input device "Mouse[0]" (type: KEYBOARD)                 
(**) Option "xkb_rules" "evdev"                                                       
(**) Keyboard[0]: xkb_rules: "evdev"                                                  
(**) Option "xkb_model" "pc104"                                                       
(**) Keyboard[0]: xkb_model: "pc104"                                                  
(**) Option "xkb_layout" "us,sk"                                                      
(**) Keyboard[0]: xkb_layout: "us,sk"                                                 
(**) Option "xkb_options" "grp:alt_shift_toggle"                                      
(**) Keyboard[0]: xkb_options: "grp:alt_shift_toggle"                                 
(**) Option "xkb_rules" "evdev"                                                       
(**) Mouse[0]: xkb_rules: "evdev"                                                     
(**) Option "xkb_model" "evdev"                                                       
(**) Mouse[0]: xkb_model: "evdev"                                                     
(**) Option "xkb_layout" "us"                                                         
(**) Mouse[0]: xkb_layout: "us"                                                       
(II) config/hal: Adding input device AT Translated Set 2 keyboard                     
(**) AT Translated Set 2 keyboard: always reports core events                         
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"                        
(WW) AT Translated Set 2 keyboard: device file already in use. Ignoring.              
(II) UnloadModule: "evdev"                                                            
(EE) PreInit returned NULL for "AT Translated Set 2 keyboard"                         
(EE) config/hal: NewInputDeviceRequest failed                                         
(II) config/hal: Adding input device Razer DeathAdder                                 
(**) Razer DeathAdder: always reports core events                                     
(**) Razer DeathAdder: Device: "/dev/input/event5"                                    
(II) Razer DeathAdder: Found 8 mouse buttons                                          
(II) Razer DeathAdder: Found x and y relative axes                                    
(II) Razer DeathAdder: Configuring as mouse                                           
(**) Razer DeathAdder: YAxisMapping: buttons 4 and 5                                  
(**) Razer DeathAdder: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Razer DeathAdder" (type: MOUSE)                     
(II) config/hal: Adding input device Video Bus                                                 
(**) Video Bus: always reports core events                                                     
(**) Video Bus: Device: "/dev/input/event7"                                                    
(II) Video Bus: Found keys                                                                     
(II) Video Bus: Configuring as keyboard                                                        
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)                         
(**) Option "xkb_rules" "evdev"                                                                
(**) Video Bus: xkb_rules: "evdev"                                                             
(**) Option "xkb_model" "evdev"                                                                
(**) Video Bus: xkb_model: "evdev"                                                             
(**) Option "xkb_layout" "us"                                                                  
(**) Video Bus: xkb_layout: "us"                                                               
(II) config/hal: Adding input device Video Bus                                                 
(**) Video Bus: always reports core events                                                     
(**) Video Bus: Device: "/dev/input/event6"                                                    
(WW) Video Bus: device file already in use. Ignoring.                                          
(II) UnloadModule: "evdev"                                                                     
(EE) PreInit returned NULL for "Video Bus"                                                     
(EE) config/hal: NewInputDeviceRequest failed

Possible solution: indicate layout of CoreKeyboard only.
Comment 1 Jaroslav Petráš 2009-01-03 06:59:29 UTC
Ignore mouse detected as keyboard pls (in log), I had typo in event number ^^ 
Comment 2 Christoph Feck 2010-06-13 20:49:14 UTC
Does this still apply to KDE SC 4.4.x or the 4.5 beta?
Comment 3 Andriy Rysin 2010-08-31 02:32:46 UTC
Keyboard layout indicator was fully rewritten in 4.5 so I am marking this as need more info.

It also looks like it's related to 177889 (supporting multiple keyboards).
Comment 4 Andrew Crouthamel 2018-09-20 21:52:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-21 04:55:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!