You are not logged in.

#1 2023-06-19 19:53:07

miguel7501
Member
Registered: 2023-06-19
Posts: 3

[Solved] Keyboard not working when sddm is running after localectl

Hi,

I tried installing arch via archinstall, which failed a couple of times while I figured out how to properly partition a drive manually and found out my primary SSD had no EFI partition (thanks windows). Anyways, I got that to work, archinstall finished but somehow didn't manage to set up the desktop (KDE in my case)

I did that by manually installing plasma-meta and enabling sddm, which worked fine.

After a bit of tinkering, I noticed that my preferred keyboard layout (colemak-dh ISO) is only applied after logging in, so I get a US layout on the first login and then colemak-dh after locking the screen.
Quite confusing I thought, so I tried to fix it.

As per 3.7 of the sddm page on the arch wiki I tried using localectl. The command I ran (from memory) was

localectl set-x11-keymap "us" "pc105+inet" "colemak_dh_iso"

Before doing so, I checked the /etc/X11/xorg.conf.d/00-keyboard.conf file. It didn't contain a variant, but us and pc105+inet were set before I ran the command.

Then I rebooted and found that entering my password did nothing. No letters show up in the password field, but the cursor does flash when I type. Curiously, Ctrl+Alt+F2 doesn't work either so the only thing I can do in this state is rebooting (mouse still works so I can click that). That leads me to believe the issue is caused by starting SDDM, but affects the entire system.

After that, I booted the installer, chrooted into my system and manually edited /etc/X11/xorg.conf.d/00-keyboard.conf to remove the line with the colemak variant that was added previously. Didn't help. Then I disabled sddm. Now I can boot normally and the keyboard only stops working when I start sddm.

What I tried after that:

localectl set-x11-keymap "us" "pc105"

Reinstalling sddm via

sudo pacman -R sddm sddm-kcm plasma-meta
suso pacman -S sddm sddm-kcm plasma-meta

No changes, it still doesn't let me type.

I have not yet tried the sddm on-screen keyboard, but I reckon it won't help much because the fact I can't switch tty suggests that the issue is not just an sddm one.

What other things are there to try? Should I just start over at this point?

Thanks in advance for any suggestions.


PS: Since this is my first post, please feel free to call out any incorrect terminology. I'm here to learn.

Last edited by miguel7501 (2023-06-20 16:17:15)

Offline

#2 2023-06-19 20:33:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [Solved] Keyboard not working when sddm is running after localectl

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General and the output of

ls -R /{etc,usr/share}/X11/xorg.conf*

Offline

#3 2023-06-19 21:17:01

miguel7501
Member
Registered: 2023-06-19
Posts: 3

Re: [Solved] Keyboard not working when sddm is running after localectl

Output of ls -R /{etc,usr/share}/X11/xorg.conf* :

/etc/X11/xorg.conf.d:
00-keyboard.conf

/usr/share/X11/xorg.conf.d:
10-nvidia-drm-outputclass.conf
10-quirks.conf
40-libinput.conf

Full xorg log:

[   210.548] (--) Log file renamed from "/var/log/Xorg.pid-654.log" to "/var/log/Xorg.0.log"
[   210.548] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[   210.548] Current Operating System: Linux miguel-arch 6.3.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 14 Jun 2023 20:10:31 +0000 x86_64
[   210.548] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=b56898be-c0cb-4ce9-bcbf-1d4e1858ce91 rw rootfstype=ext4 loglevel=3 quiet
[   210.548]  
[   210.548] Current version of pixman: 0.42.2
[   210.548] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   210.548] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   210.548] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 19 22:48:17 2023
[   210.548] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   210.548] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   210.549] (==) No Layout section.  Using the first Screen section.
[   210.549] (==) No screen section available. Using defaults.
[   210.549] (**) |-->Screen "Default Screen Section" (0)
[   210.549] (**) |   |-->Monitor "<default monitor>"
[   210.549] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   210.549] (==) Automatically adding devices
[   210.549] (==) Automatically enabling devices
[   210.549] (==) Automatically adding GPU devices
[   210.549] (==) Automatically binding GPU devices
[   210.549] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   210.549] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   210.549] 	Entry deleted from font path.
[   210.550] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   210.550] 	Entry deleted from font path.
[   210.550] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   210.550] 	Entry deleted from font path.
[   210.550] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   210.550] (==) ModulePath set to "/usr/lib/xorg/modules"
[   210.550] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   210.550] (II) Module ABI versions:
[   210.550] 	X.Org ANSI C Emulation: 0.4
[   210.550] 	X.Org Video Driver: 25.2
[   210.550] 	X.Org XInput driver : 24.4
[   210.550] 	X.Org Server Extension : 10.0
[   210.551] (++) using VT number 1

[   210.551] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   210.551] (II) xfree86: Adding drm device (/dev/dri/card0)
[   210.551] (II) Platform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:25:00.0/drm/card0
[   210.553] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   210.555] (--) PCI:*(37@0:0:0) 10de:1b82:1458:3794 rev 161, Mem @ 0xfc000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/131072
[   210.555] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   210.555] (II) LoadModule: "glx"
[   210.555] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   210.558] (II) Module glx: vendor="X.Org Foundation"
[   210.558] 	compiled for 1.21.1.8, module version = 1.0.0
[   210.558] 	ABI class: X.Org Server Extension, version 10.0
[   210.558] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   210.558] 	loading driver: nvidia
[   210.558] (==) Matched nvidia as autoconfigured driver 0
[   210.558] (==) Matched nouveau as autoconfigured driver 1
[   210.558] (==) Matched nv as autoconfigured driver 2
[   210.558] (==) Matched modesetting as autoconfigured driver 3
[   210.558] (==) Matched fbdev as autoconfigured driver 4
[   210.558] (==) Matched vesa as autoconfigured driver 5
[   210.558] (==) Assigned the driver to the xf86ConfigLayout
[   210.558] (II) LoadModule: "nvidia"
[   210.558] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   210.561] (II) Module nvidia: vendor="NVIDIA Corporation"
[   210.561] 	compiled for 1.6.99.901, module version = 1.0.0
[   210.561] 	Module class: X.Org Video Driver
[   210.561] (II) LoadModule: "nouveau"
[   210.561] (WW) Warning, couldn't open module nouveau
[   210.561] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   210.561] (II) LoadModule: "nv"
[   210.561] (WW) Warning, couldn't open module nv
[   210.561] (EE) Failed to load module "nv" (module does not exist, 0)
[   210.561] (II) LoadModule: "modesetting"
[   210.561] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   210.563] (II) Module modesetting: vendor="X.Org Foundation"
[   210.563] 	compiled for 1.21.1.8, module version = 1.21.1
[   210.563] 	Module class: X.Org Video Driver
[   210.563] 	ABI class: X.Org Video Driver, version 25.2
[   210.563] (II) LoadModule: "fbdev"
[   210.563] (WW) Warning, couldn't open module fbdev
[   210.563] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   210.563] (II) LoadModule: "vesa"
[   210.563] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   210.563] (II) Module vesa: vendor="X.Org Foundation"
[   210.563] 	compiled for 1.21.1.4, module version = 2.6.0
[   210.563] 	Module class: X.Org Video Driver
[   210.563] 	ABI class: X.Org Video Driver, version 25.2
[   210.563] (II) NVIDIA dlloader X Driver  535.54.03  Tue Jun  6 22:23:02 UTC 2023
[   210.563] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   210.563] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   210.563] (II) VESA: driver for VESA chipsets: vesa
[   210.563] (II) Loading sub module "fb"
[   210.563] (II) LoadModule: "fb"
[   210.563] (II) Module "fb" already built-in
[   210.563] (II) Loading sub module "wfb"
[   210.563] (II) LoadModule: "wfb"
[   210.563] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   210.564] (II) Module wfb: vendor="X.Org Foundation"
[   210.564] 	compiled for 1.21.1.8, module version = 1.0.0
[   210.564] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   210.564] (WW) Falling back to old probe method for modesetting
[   210.564] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   210.564] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   210.564] (==) NVIDIA(0): RGB weight 888
[   210.564] (==) NVIDIA(0): Default visual is TrueColor
[   210.564] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   210.564] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   210.564] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   210.564] (**) NVIDIA(0): Enabling 2D acceleration
[   210.564] (II) Loading sub module "glxserver_nvidia"
[   210.564] (II) LoadModule: "glxserver_nvidia"
[   210.564] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   210.581] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   210.581] 	compiled for 1.6.99.901, module version = 1.0.0
[   210.581] 	Module class: X.Org Server Extension
[   210.581] (II) NVIDIA GLX Module  535.54.03  Tue Jun  6 22:23:41 UTC 2023
[   210.581] (II) NVIDIA: The X server supports PRIME Render Offload.
[   211.377] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:37:0:0
[   211.377] (--) NVIDIA(0):     DFP-0
[   211.377] (--) NVIDIA(0):     DFP-1
[   211.377] (--) NVIDIA(0):     DFP-2
[   211.377] (--) NVIDIA(0):     DFP-3
[   211.377] (--) NVIDIA(0):     DFP-4 (boot)
[   211.377] (--) NVIDIA(0):     DFP-5
[   211.377] (--) NVIDIA(0):     DFP-6
[   211.377] (--) NVIDIA(0):     DFP-7
[   211.378] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GTX 1070 Ti (GP104-A) at PCI:37:0:0
[   211.378] (II) NVIDIA(0):     (GPU-0)
[   211.378] (--) NVIDIA(0): Memory: 8388608 kBytes
[   211.378] (--) NVIDIA(0): VideoBIOS: 86.04.85.00.a0
[   211.378] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   211.378] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   211.378] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   211.378] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   211.378] (--) NVIDIA(GPU-0): 
[   211.421] (--) NVIDIA(GPU-0): Samsung S24B350 (DFP-1): connected
[   211.421] (--) NVIDIA(GPU-0): Samsung S24B350 (DFP-1): Internal TMDS
[   211.421] (--) NVIDIA(GPU-0): Samsung S24B350 (DFP-1): 600.0 MHz maximum pixel clock
[   211.421] (--) NVIDIA(GPU-0): 
[   211.421] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   211.421] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   211.421] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[   211.421] (--) NVIDIA(GPU-0): 
[   211.421] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   211.421] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   211.421] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   211.421] (--) NVIDIA(GPU-0): 
[   211.421] (--) NVIDIA(GPU-0): AOC 2790WG5 (DFP-4): connected
[   211.421] (--) NVIDIA(GPU-0): AOC 2790WG5 (DFP-4): Internal DisplayPort
[   211.421] (--) NVIDIA(GPU-0): AOC 2790WG5 (DFP-4): 1440.0 MHz maximum pixel clock
[   211.421] (--) NVIDIA(GPU-0): 
[   211.423] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   211.423] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   211.423] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[   211.423] (--) NVIDIA(GPU-0): 
[   211.423] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   211.423] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   211.423] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
[   211.423] (--) NVIDIA(GPU-0): 
[   211.424] (--) NVIDIA(GPU-0): DFP-7: disconnected
[   211.424] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[   211.424] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[   211.424] (--) NVIDIA(GPU-0): 
[   211.437] (==) NVIDIA(0): 
[   211.438] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   211.438] (==) NVIDIA(0):     will be used as the requested mode.
[   211.438] (==) NVIDIA(0): 
[   211.438] (II) NVIDIA(0): Validated MetaModes:
[   211.438] (II) NVIDIA(0):     "DFP-4:nvidia-auto-select,DFP-1:nvidia-auto-select"
[   211.438] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 1080
[   211.445] (--) NVIDIA(0): DPI set to (81, 80); computed from "UseEdidDpi" X config
[   211.445] (--) NVIDIA(0):     option
[   211.445] (II) UnloadModule: "modesetting"
[   211.445] (II) Unloading modesetting
[   211.445] (II) UnloadModule: "vesa"
[   211.445] (II) Unloading vesa
[   211.445] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   211.445] (II) NVIDIA:     access.
[   211.447] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   211.447] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   211.447] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   211.447] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   211.448] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   211.448] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   211.448] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   211.448] (II) NVIDIA(0):     Config Options in the README.
[   211.464] (II) NVIDIA(0): Setting mode "DFP-4:nvidia-auto-select,DFP-1:nvidia-auto-select"
[   211.632] (==) NVIDIA(0): Disabling shared memory pixmaps
[   211.632] (==) NVIDIA(0): Backing store enabled
[   211.632] (==) NVIDIA(0): Silken mouse enabled
[   211.632] (==) NVIDIA(0): DPMS enabled
[   211.632] (II) Loading sub module "dri2"
[   211.632] (II) LoadModule: "dri2"
[   211.632] (II) Module "dri2" already built-in
[   211.632] (II) NVIDIA(0): [DRI2] Setup complete
[   211.632] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   211.632] (II) Initializing extension Generic Event Extension
[   211.633] (II) Initializing extension SHAPE
[   211.633] (II) Initializing extension MIT-SHM
[   211.633] (II) Initializing extension XInputExtension
[   211.633] (II) Initializing extension XTEST
[   211.633] (II) Initializing extension BIG-REQUESTS
[   211.633] (II) Initializing extension SYNC
[   211.633] (II) Initializing extension XKEYBOARD
[   211.633] (II) Initializing extension XC-MISC
[   211.633] (II) Initializing extension SECURITY
[   211.633] (II) Initializing extension XFIXES
[   211.633] (II) Initializing extension RENDER
[   211.633] (II) Initializing extension RANDR
[   211.633] (II) Initializing extension COMPOSITE
[   211.634] (II) Initializing extension DAMAGE
[   211.634] (II) Initializing extension MIT-SCREEN-SAVER
[   211.634] (II) Initializing extension DOUBLE-BUFFER
[   211.634] (II) Initializing extension RECORD
[   211.634] (II) Initializing extension DPMS
[   211.634] (II) Initializing extension Present
[   211.634] (II) Initializing extension DRI3
[   211.634] (II) Initializing extension X-Resource
[   211.634] (II) Initializing extension XVideo
[   211.634] (II) Initializing extension XVideo-MotionCompensation
[   211.634] (II) Initializing extension GLX
[   211.634] (II) Initializing extension GLX
[   211.634] (II) Indirect GLX disabled.
[   211.634] (II) GLX: Another vendor is already registered for screen 0
[   211.634] (II) Initializing extension XFree86-VidModeExtension
[   211.635] (II) Initializing extension XFree86-DGA
[   211.635] (II) Initializing extension XFree86-DRI
[   211.635] (II) Initializing extension DRI2
[   211.635] (II) Initializing extension NV-GLX
[   211.635] (II) Initializing extension NV-CONTROL
[   211.635] (II) Initializing extension XINERAMA
[   211.697] (EE) Error loading keymap /var/lib/xkb/server-0.xkm
[   211.697] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[   211.723] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   211.723] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   211.723] (**) Power Button: Applying InputClass "system-keyboard"
[   211.723] (II) LoadModule: "libinput"
[   211.723] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   211.725] (II) Module libinput: vendor="X.Org Foundation"
[   211.725] 	compiled for 1.21.1.8, module version = 1.3.0
[   211.725] 	Module class: X.Org XInput Driver
[   211.725] 	ABI class: X.Org XInput driver, version 24.4
[   211.725] (II) Using input driver 'libinput' for 'Power Button'
[   211.725] (**) Power Button: always reports core events
[   211.725] (**) Option "Device" "/dev/input/event1"
[   211.728] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   211.728] (II) event1  - Power Button: device is a keyboard
[   211.728] (II) event1  - Power Button: device removed
[   211.753] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   211.753] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   211.753] (**) Option "xkb_model" "pc105+inet"
[   211.753] (**) Option "xkb_layout" "us"
[   211.764] (EE) Error loading keymap /var/lib/xkb/server-0.xkm
[   211.764] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[   211.774] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   211.774] (II) event1  - Power Button: device is a keyboard
[   211.774] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   211.774] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   211.774] (**) Power Button: Applying InputClass "system-keyboard"
[   211.774] (II) Using input driver 'libinput' for 'Power Button'
[   211.774] (**) Power Button: always reports core events
[   211.774] (**) Option "Device" "/dev/input/event0"
[   211.775] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   211.775] (II) event0  - Power Button: device is a keyboard
[   211.775] (II) event0  - Power Button: device removed
[   211.793] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   211.793] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   211.793] (**) Option "xkb_model" "pc105+inet"
[   211.793] (**) Option "xkb_layout" "us"
[   211.794] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   211.794] (II) event0  - Power Button: device is a keyboard
[   211.795] (II) config/udev: Adding input device Logitech G305 (/dev/input/event7)
[   211.795] (**) Logitech G305: Applying InputClass "libinput pointer catchall"
[   211.795] (**) Logitech G305: Applying InputClass "libinput keyboard catchall"
[   211.795] (**) Logitech G305: Applying InputClass "system-keyboard"
[   211.795] (II) Using input driver 'libinput' for 'Logitech G305'
[   211.795] (**) Logitech G305: always reports core events
[   211.795] (**) Option "Device" "/dev/input/event7"
[   211.796] (II) event7  - Logitech G305: is tagged by udev as: Keyboard Mouse
[   211.796] (II) event7  - Logitech G305: device is a pointer
[   211.796] (II) event7  - Logitech G305: device is a keyboard
[   211.796] (II) event7  - Logitech G305: device removed
[   211.820] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[   211.820] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[   211.820] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[   211.820] (II) libinput: Logitech G305: needs a virtual subdevice
[   211.820] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-4/1-4:1.2/0003:046D:C53F.0003/0003:046D:4074.0006/input/input17/event7"
[   211.820] (II) XINPUT: Adding extended input device "Logitech G305" (type: MOUSE, id 8)
[   211.820] (**) Option "AccelerationScheme" "none"
[   211.820] (**) Logitech G305: (accel) selected scheme none/0
[   211.820] (**) Logitech G305: (accel) acceleration factor: 2.000
[   211.820] (**) Logitech G305: (accel) acceleration threshold: 4
[   211.821] (II) event7  - Logitech G305: is tagged by udev as: Keyboard Mouse
[   211.822] (II) event7  - Logitech G305: device is a pointer
[   211.822] (II) event7  - Logitech G305: device is a keyboard
[   211.822] (II) config/udev: Adding input device Logitech G305 (/dev/input/mouse1)
[   211.822] (**) Logitech G305: Applying InputClass "system-keyboard"
[   211.822] (II) No input driver specified, ignoring this device.
[   211.822] (II) This device may have been added with another device file.
[   211.823] (II) config/udev: Adding input device YMDK YD60MQ (/dev/input/event2)
[   211.823] (**) YMDK YD60MQ: Applying InputClass "libinput keyboard catchall"
[   211.823] (**) YMDK YD60MQ: Applying InputClass "system-keyboard"
[   211.823] (II) Using input driver 'libinput' for 'YMDK YD60MQ'
[   211.823] (**) YMDK YD60MQ: always reports core events
[   211.823] (**) Option "Device" "/dev/input/event2"
[   211.824] (II) event2  - YMDK YD60MQ: is tagged by udev as: Keyboard
[   211.824] (II) event2  - YMDK YD60MQ: device is a keyboard
[   211.824] (II) event2  - YMDK YD60MQ: device removed
[   211.850] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8/1-8:1.0/0003:594D:604D.0004/input/input7/event2"
[   211.850] (II) XINPUT: Adding extended input device "YMDK YD60MQ" (type: KEYBOARD, id 9)
[   211.850] (**) Option "xkb_model" "pc105+inet"
[   211.850] (**) Option "xkb_layout" "us"
[   211.851] (II) event2  - YMDK YD60MQ: is tagged by udev as: Keyboard
[   211.851] (II) event2  - YMDK YD60MQ: device is a keyboard
[   211.852] (II) config/udev: Adding input device YMDK YD60MQ Mouse (/dev/input/event5)
[   211.852] (**) YMDK YD60MQ Mouse: Applying InputClass "libinput pointer catchall"
[   211.852] (II) Using input driver 'libinput' for 'YMDK YD60MQ Mouse'
[   211.852] (**) YMDK YD60MQ Mouse: always reports core events
[   211.852] (**) Option "Device" "/dev/input/event5"
[   211.853] (II) event5  - YMDK YD60MQ Mouse: is tagged by udev as: Mouse
[   211.853] (II) event5  - YMDK YD60MQ Mouse: device is a pointer
[   211.853] (II) event5  - YMDK YD60MQ Mouse: device removed
[   211.903] (II) libinput: YMDK YD60MQ Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   211.903] (II) libinput: YMDK YD60MQ Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   211.903] (II) libinput: YMDK YD60MQ Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   211.903] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8/1-8:1.2/0003:594D:604D.0007/input/input13/event5"
[   211.903] (II) XINPUT: Adding extended input device "YMDK YD60MQ Mouse" (type: MOUSE, id 10)
[   211.903] (**) Option "AccelerationScheme" "none"
[   211.903] (**) YMDK YD60MQ Mouse: (accel) selected scheme none/0
[   211.903] (**) YMDK YD60MQ Mouse: (accel) acceleration factor: 2.000
[   211.903] (**) YMDK YD60MQ Mouse: (accel) acceleration threshold: 4
[   211.905] (II) event5  - YMDK YD60MQ Mouse: is tagged by udev as: Mouse
[   211.905] (II) event5  - YMDK YD60MQ Mouse: device is a pointer
[   211.905] (II) config/udev: Adding input device YMDK YD60MQ Mouse (/dev/input/mouse0)
[   211.905] (II) No input driver specified, ignoring this device.
[   211.905] (II) This device may have been added with another device file.
[   211.906] (II) config/udev: Adding input device YMDK YD60MQ System Control (/dev/input/event6)
[   211.906] (**) YMDK YD60MQ System Control: Applying InputClass "libinput keyboard catchall"
[   211.906] (**) YMDK YD60MQ System Control: Applying InputClass "system-keyboard"
[   211.906] (II) Using input driver 'libinput' for 'YMDK YD60MQ System Control'
[   211.906] (**) YMDK YD60MQ System Control: always reports core events
[   211.906] (**) Option "Device" "/dev/input/event6"
[   211.907] (II) event6  - YMDK YD60MQ System Control: is tagged by udev as: Keyboard
[   211.907] (II) event6  - YMDK YD60MQ System Control: device is a keyboard
[   211.907] (II) event6  - YMDK YD60MQ System Control: device removed
[   211.930] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8/1-8:1.2/0003:594D:604D.0007/input/input14/event6"
[   211.930] (II) XINPUT: Adding extended input device "YMDK YD60MQ System Control" (type: KEYBOARD, id 11)
[   211.930] (**) Option "xkb_model" "pc105+inet"
[   211.930] (**) Option "xkb_layout" "us"
[   211.931] (II) event6  - YMDK YD60MQ System Control: is tagged by udev as: Keyboard
[   211.931] (II) event6  - YMDK YD60MQ System Control: device is a keyboard
[   211.932] (II) config/udev: Adding input device YMDK YD60MQ Consumer Control (/dev/input/event3)
[   211.932] (**) YMDK YD60MQ Consumer Control: Applying InputClass "libinput keyboard catchall"
[   211.932] (**) YMDK YD60MQ Consumer Control: Applying InputClass "system-keyboard"
[   211.932] (II) Using input driver 'libinput' for 'YMDK YD60MQ Consumer Control'
[   211.932] (**) YMDK YD60MQ Consumer Control: always reports core events
[   211.932] (**) Option "Device" "/dev/input/event3"
[   211.933] (II) event3  - YMDK YD60MQ Consumer Control: is tagged by udev as: Keyboard
[   211.933] (II) event3  - YMDK YD60MQ Consumer Control: device is a keyboard
[   211.933] (II) event3  - YMDK YD60MQ Consumer Control: device removed
[   211.957] (II) libinput: YMDK YD60MQ Consumer Control: needs a virtual subdevice
[   211.957] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8/1-8:1.2/0003:594D:604D.0007/input/input15/event3"
[   211.957] (II) XINPUT: Adding extended input device "YMDK YD60MQ Consumer Control" (type: MOUSE, id 12)
[   211.957] (**) Option "AccelerationScheme" "none"
[   211.957] (**) YMDK YD60MQ Consumer Control: (accel) selected scheme none/0
[   211.957] (**) YMDK YD60MQ Consumer Control: (accel) acceleration factor: 2.000
[   211.957] (**) YMDK YD60MQ Consumer Control: (accel) acceleration threshold: 4
[   211.958] (II) event3  - YMDK YD60MQ Consumer Control: is tagged by udev as: Keyboard
[   211.958] (II) event3  - YMDK YD60MQ Consumer Control: device is a keyboard
[   211.959] (II) config/udev: Adding input device YMDK YD60MQ Keyboard (/dev/input/event4)
[   211.959] (**) YMDK YD60MQ Keyboard: Applying InputClass "libinput keyboard catchall"
[   211.959] (**) YMDK YD60MQ Keyboard: Applying InputClass "system-keyboard"
[   211.959] (II) Using input driver 'libinput' for 'YMDK YD60MQ Keyboard'
[   211.959] (**) YMDK YD60MQ Keyboard: always reports core events
[   211.959] (**) Option "Device" "/dev/input/event4"
[   211.960] (II) event4  - YMDK YD60MQ Keyboard: is tagged by udev as: Keyboard
[   211.960] (II) event4  - YMDK YD60MQ Keyboard: device is a keyboard
[   211.960] (II) event4  - YMDK YD60MQ Keyboard: device removed
[   211.993] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8/1-8:1.2/0003:594D:604D.0007/input/input16/event4"
[   211.993] (II) XINPUT: Adding extended input device "YMDK YD60MQ Keyboard" (type: KEYBOARD, id 13)
[   211.993] (**) Option "xkb_model" "pc105+inet"
[   211.993] (**) Option "xkb_layout" "us"
[   211.995] (II) event4  - YMDK YD60MQ Keyboard: is tagged by udev as: Keyboard
[   211.995] (II) event4  - YMDK YD60MQ Keyboard: device is a keyboard
[   211.995] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event9)
[   211.995] (II) No input driver specified, ignoring this device.
[   211.995] (II) This device may have been added with another device file.
[   211.995] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event10)
[   211.995] (II) No input driver specified, ignoring this device.
[   211.995] (II) This device may have been added with another device file.
[   211.996] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event11)
[   211.996] (II) No input driver specified, ignoring this device.
[   211.996] (II) This device may have been added with another device file.
[   211.996] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event12)
[   211.996] (II) No input driver specified, ignoring this device.
[   211.996] (II) This device may have been added with another device file.
[   211.996] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event13)
[   211.996] (II) No input driver specified, ignoring this device.
[   211.996] (II) This device may have been added with another device file.
[   211.996] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event14)
[   211.996] (II) No input driver specified, ignoring this device.
[   211.996] (II) This device may have been added with another device file.
[   211.997] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event15)
[   211.997] (II) No input driver specified, ignoring this device.
[   211.997] (II) This device may have been added with another device file.
[   211.997] (II) config/udev: Adding input device HD-Audio Generic Line Out Front (/dev/input/event16)
[   211.997] (II) No input driver specified, ignoring this device.
[   211.997] (II) This device may have been added with another device file.
[   211.997] (II) config/udev: Adding input device HD-Audio Generic Line Out Surround (/dev/input/event17)
[   211.997] (II) No input driver specified, ignoring this device.
[   211.997] (II) This device may have been added with another device file.
[   211.997] (II) config/udev: Adding input device HD-Audio Generic Line Out CLFE (/dev/input/event18)
[   211.997] (II) No input driver specified, ignoring this device.
[   211.997] (II) This device may have been added with another device file.
[   211.998] (II) config/udev: Adding input device HD-Audio Generic Line Out Side (/dev/input/event19)
[   211.998] (II) No input driver specified, ignoring this device.
[   211.998] (II) This device may have been added with another device file.
[   211.998] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event20)
[   211.998] (II) No input driver specified, ignoring this device.
[   211.998] (II) This device may have been added with another device file.
[   211.998] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[   211.998] (II) No input driver specified, ignoring this device.
[   211.998] (II) This device may have been added with another device file.
[   212.003] (**) Logitech G305: Applying InputClass "libinput pointer catchall"
[   212.003] (**) Logitech G305: Applying InputClass "libinput keyboard catchall"
[   212.003] (**) Logitech G305: Applying InputClass "system-keyboard"
[   212.003] (II) Using input driver 'libinput' for 'Logitech G305'
[   212.003] (**) Logitech G305: always reports core events
[   212.003] (**) Option "Device" "/dev/input/event7"
[   212.003] (II) libinput: Logitech G305: is a virtual subdevice
[   212.003] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[   212.003] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[   212.003] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[   212.003] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-4/1-4:1.2/0003:046D:C53F.0003/0003:046D:4074.0006/input/input17/event7"
[   212.003] (II) XINPUT: Adding extended input device "Logitech G305" (type: KEYBOARD, id 14)
[   212.003] (**) Option "xkb_model" "pc105+inet"
[   212.003] (**) Option "xkb_layout" "us"
[   212.003] (**) YMDK YD60MQ Consumer Control: Applying InputClass "libinput keyboard catchall"
[   212.003] (**) YMDK YD60MQ Consumer Control: Applying InputClass "system-keyboard"
[   212.003] (II) Using input driver 'libinput' for 'YMDK YD60MQ Consumer Control'
[   212.003] (**) YMDK YD60MQ Consumer Control: always reports core events
[   212.003] (**) Option "Device" "/dev/input/event3"
[   212.003] (II) libinput: YMDK YD60MQ Consumer Control: is a virtual subdevice
[   212.003] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8/1-8:1.2/0003:594D:604D.0007/input/input15/event3"
[   212.003] (II) XINPUT: Adding extended input device "YMDK YD60MQ Consumer Control" (type: KEYBOARD, id 15)
[   212.003] (**) Option "xkb_model" "pc105+inet"
[   212.003] (**) Option "xkb_layout" "us"
[   212.587] (EE) Error loading keymap /var/lib/xkb/server-0.xkm
[   230.371] (II) event1  - Power Button: device removed
[   230.420] (II) event0  - Power Button: device removed
[   230.493] (II) event2  - YMDK YD60MQ: device removed
[   230.543] (II) event5  - YMDK YD60MQ Mouse: device removed
[   230.627] (II) event6  - YMDK YD60MQ System Control: device removed
[   230.647] (II) event4  - YMDK YD60MQ Keyboard: device removed
[   230.680] (II) event7  - Logitech G305: device removed
[   230.696] (II) event3  - YMDK YD60MQ Consumer Control: device removed
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.738] (II) UnloadModule: "libinput"
[   230.986] (II) NVIDIA(GPU-0): Deleting GPU-0
[   230.988] (II) Server terminated successfully (0). Closing log file.

Also, for completeness, the content of /etc/X11/xorg.conf.d/00-keyboard.conf:

# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105+inet"
EndSection

Offline

#4 2023-06-19 21:53:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [Solved] Keyboard not working when sddm is running after localectl

[   211.753] (**) Option "xkb_model" "pc105+inet"
[   211.753] (**) Option "xkb_layout" "us"
[   211.764] (EE) Error loading keymap /var/lib/xkb/server-0.xkm
[   211.764] (EE) XKB: Failed to load keymap. Loading default keymap instead.

"Option "XkbModel" "pc105+inet"" is nonsense, where did you get that?
Try "pc105" or don't set the model at all.

Offline

#5 2023-06-20 16:16:55

miguel7501
Member
Registered: 2023-06-19
Posts: 3

Re: [Solved] Keyboard not working when sddm is running after localectl

That worked, thanks a lot.

I got "pc105+inet" from the initial configuration file before I made any changes, so I guess it was set by archinstall. Not sure why, but given that

localectl list-x11-keymap-models

doesn't list it, that was probably the issue.

Addendum for future reference in case anyone encounters the same issue: localectl doesn't work when chrooting in from the installer, but editing /etc/X11/xorg.conf.d/00-keyboard.conf directly is not a workaround.
localectl doesn't just write the layout to the file, it also does some other stuff. After manually editing this file,

localectl status

still listed the settings from before editing it, so manual edits lead to inconsistency even if the values are correct.

Offline

#6 2023-06-20 16:26:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [Solved] Keyboard not working when sddm is running after localectl

I *think*, localectl also stores the X11 config in /etc/vconsole.conf (what's likewise nonsense, because X11 doesn't read it from there, so just editing/removing the actual xorg config should do, even if localectl reports sth. different)

localectl gets the valid models (and everything else) from /usr/share/X11/xkb/rules/base.lst

Offline

Board footer

Powered by FluxBB