You are not logged in.

#1 2024-03-28 11:17:12

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

[SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Dell XPS15 9650 laptop here.

Kbd still active when entering BIOS password, for grub menu action, and for GDM gui login. Once in Gnome GUI session, kbd input only works in Telegram Messenger.

No external kbd, so this is a major hassle to troubleshoot without being able to write to stdin in tty... or even here on screen.

I can paste stuff in tty w/ mouse though and emulate the enter key with CTRL+ALT+ENTER. That's pretty much it. In particular I cannot paste password in tty so no "sudo CMD"

Faulty behavior across many reboots.

Last edited by Cbhihe (2024-03-28 18:15:43)


I like strawberries, therefore I'm not a bot.

Offline

#2 2024-03-28 11:22:10

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Result of `journalctl -b` is here
Boot log gives me:

Gdm: GdmDisplay: Failed to read kernel commandline: Could not match gnome.initial-setup= in kernel cmdline

I cannot get `dmesg` result because no `sudo'.

Last edited by Cbhihe (2024-03-28 11:29:55)


I like strawberries, therefore I'm not a bot.

Offline

#3 2024-03-28 13:34:29

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

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (==) Using config file: "/etc/X11/xorg.conf"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (==) ServerLayout "X.org Configured"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |-->Screen "Screen0" (0)
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |   |-->Monitor "Monitor0"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |   |-->Device "Card0"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |-->Screen "Screen1" (1)
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |   |-->Monitor "Monitor1"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |   |-->Device "Card1"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |-->Input Device "Mouse0"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) |-->Input Device "Keyboard0"
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (**) Option "NoPM" "true"

Get rid of /etc/X11/xorg.conf - it's usually not a problem but

Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.

those drivers are dead since more than a decade.

Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (EE) NVIDIA:     system's kernel log for additional error messages and
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (EE) NVIDIA:     consult the NVIDIA README for details.
Mar 28 12:00:38 HOST /usr/lib/gdm-x-session[1282]: gnome-session-binary[1282]: WARNING: Could not check if unit gnome-session-x11@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
Mar 28 12:00:38 HOST /usr/lib/gdm-x-session[1282]: gnome-session-binary[1282]: DEBUG(+): Could not make systemd aware of QT_IM_MODULE=ibus environment variable: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Mar 28 12:00:38 HOST /usr/lib/gdm-x-session[1282]: gnome-session-binary[1282]: DEBUG(+): Could not make systemd aware of XMODIFIERS=@im=ibus environment variable: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Mar 28 12:00:38 HOST /usr/lib/gdm-x-session[1282]: gnome-session-binary[1282]: DEBUG(+): Could not make systemd aware of XDG_MENU_PREFIX=gnome- environment variable: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist

looks bad.

Your keyboard works under not-gnome? (eg. openbox)
What happens if you disable ibus?

Also

Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:playback-repeat
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:rotate-video-lock
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:screensaver
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:hibernate
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:playback-random
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:playback-repeat
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:hibernate
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:playback-random
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:rotate-video-lock
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:screensaver

kbd input only works in Telegram Messenger

How do you start telegram and what if you don't?
(I suspect it might grab the keyboard)

Offline

#4 2024-03-28 15:04:05

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Just for the record, I have /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/{00-keyboard,10-no-pwr-mngt}.conf.

The content of xorg.conf is completely standard, but:

$ cat  /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" "es,jp,cn"
        Option "XkbModel" "pc105"
        Option "XkbVariant" ",,"
        Option "XkbOptions" "grp:lalt_lshift_toggle"
EndSection

and

$ cat xorg.conf.d/10-no-pwr-mngt.conf
# 2018.01.18 disable all power management events based on `acpid`
Section "ServerFlags"
    Option "NoPM" "true"
EndSection

I will now rename those files for them not to be read on next boot.

Last edited by Cbhihe (2024-03-28 15:04:45)


I like strawberries, therefore I'm not a bot.

Offline

#5 2024-03-28 15:10:34

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

permission denied. I am screwed.  I need sudo with passwd, which I cannot paste in.


I like strawberries, therefore I'm not a bot.

Offline

#6 2024-03-28 15:15:41

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

seth wrote:

Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (EE) NVIDIA:     system's kernel log for additional error messages and
Mar 28 12:00:37 HOST /usr/lib/gdm-x-session[1102]: (EE) NVIDIA:     consult the NVIDIA README for details.

looks bad.

but I disabled the NVIDIA drivers and don't load whatever related module at boot because I don't want the GPU to drain battery on that particular machine.


I like strawberries, therefore I'm not a bot.

Offline

#7 2024-03-28 15:34:57

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

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

"cat  /etc/X11/xorg.conf.d/00-keyboard.conf" is not "/etc/X11/xorg.conf" and that snippet completely doesn't explain the server config, let alone the Keyboard0 device - there's even a chance that the former is ignored because of the latter (but i'd have to re-check the xorg log for that)
There's also no "standard" xorg.conf - the standard is "no xorg.conf"

permission denied. I am screwed.  I need sudo with passwd, which I cannot paste in.

Afaiu the keyboard works fine outside gnome, so you could just switch to a different TTY, log into a console and handle the situation there?

Offline

#8 2024-03-28 16:40:42

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Plugging in an external kbd within the gnome session changed nothing.

After dropping to console (where laptop kbd functions), I went to /etc/X11/  , and changed:
   1)   xorg.conf to  xorg.conf_old
   2)   xorg.conf.d/00-keyboard.conf to xorg.conf.d/00-keyboard.conf_old
no matter whether they are ignored or crushed by Gnome (gdm in this case?)  and rebooted. 
No change whatsoever.


I like strawberries, therefore I'm not a bot.

Offline

#9 2024-03-28 16:47:04

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

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

seth wrote:

Your keyboard works under not-gnome? (eg. openbox)
What happens if you disable ibus?

Also

Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:playback-repeat
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:rotate-video-lock
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:screensaver
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:hibernate
Mar 28 12:00:40 HOST gsd-media-keys[1571]: Failed to grab accelerator for keybinding settings:playback-random
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:playback-repeat
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:hibernate
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:playback-random
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:rotate-video-lock
Mar 28 12:00:48 HOST gsd-media-keys[2165]: Failed to grab accelerator for keybinding settings:screensaver

kbd input only works in Telegram Messenger

How do you start telegram and what if you don't?
(I suspect it might grab the keyboard)

Offline

#10 2024-03-28 17:02:51

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Yes !   ;-)     I was proceeding one trial at a time with reboot from console after each step.

After scuttling /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/00-keyboard.conf, removing ibus, as well as two packages that depends on it, i.e. ibus-anthy for Japanese, and ibus-libpinyin for Chinese, did it.

The problem is that particular host needs to go back to its user with Japanese and Chinese on it.
Are there alternatives to the configuration ibus + ibus-anthy, +  ibus-libpinyin on Gnome desktop ?

Last edited by Cbhihe (2024-03-28 17:03:34)


I like strawberries, therefore I'm not a bot.

Offline

#11 2024-03-28 17:04:15

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

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

Offline

#12 2024-03-28 18:14:47

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Keyboard issue with 6.8.1.arch1.1 -> 6.8.2 kernel update

I downgraded :

libx11       1.8.8-2      1.8.7-1        0.02 MiB

and reinstalled ibus + ibus-anthy.

Keyboard entry in Spanish configuration as well as in Japanese configuration works normally.
The  general Gnome Settings window's entry <Keyboard>  is also fine.

However the DELL FHD 24" external display connected to the laptop is detected with a much degraded resolution.

Now moving to fcitx5 & co. by first uninstalling again ibus and ibus-anthy.
.... Reboot

With the IM package change from ibus to fcitx5, the resolution of the external display is again correctly detected, boot is less laggy than before.


I like strawberries, therefore I'm not a bot.

Offline

Board footer

Powered by FluxBB