You are not logged in.

#1 2024-02-29 00:07:39

ky246
Member
Registered: 2024-02-06
Posts: 10

[SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

After upgrading arch, my keyboard stopped working, and is no longer recognized by the system. Using an external USB keyboard still works fine.
The keyboard still works in the grub menu, but stops working after booting into Arch. My touch-pad still works without any problems.

The hardware that I'm using is a DELL Chromebook 3189.

After undoing updates and reinstalling them one by one, I found that the problem only started after updating the linux kernel.
Further, linux 6.7.5arch1-1 works fine, but 6.7.6 doesn't.

Thank you,
Ky

Last edited by ky246 (2024-03-01 15:43:03)

Offline

#2 2024-02-29 08:34:02

seth
Member
Registered: 2012-09-03
Posts: 62,277

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Please post your complete system journal for a boot w/ both kernels, eg.

sudo journalctl -b | curl -F 'file=@-' 0x0.st

for the current one and

sudo journalctl -b -3 | curl -F 'file=@-' 0x0.st

for 3 boots ago.

When the keyboard doesn'twork™, does that include kernel shortcuts like ctrl+alt+F1/2/3/… or https://wiki.archlinux.org/title/Keyboa … el_(SysRq)
Is the disfunction limited to the GUI or also the multi-user.target (2nd link below)?

Offline

#3 2024-02-29 11:41:26

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Logs for when running 6.7.5:
https://0x0.st/HRxc.txt

Logs for 6.7.6:
https://0x0.st/HRxT.txt

When the keyboard doesn't work, system shortcuts also don't work.
Keyboard doesn't work in multi-user.target nor the GUI.

Offline

#4 2024-02-29 15:26:15

seth
Member
Registered: 2012-09-03
Posts: 62,277

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Feb 28 17:24:38 archpc kernel: sdhci: Secure Digital Host Controller Interface driver
Feb 28 17:24:38 archpc kernel: sdhci: Copyright(c) Pierre Ossman
Feb 28 17:24:38 archpc kernel: sdhci-pci 0000:00:10.0: SDHCI controller found [8086:2294] (rev 35)
Feb 28 17:24:38 archpc kernel: sdhci-pci 0000:00:12.0: SDHCI controller found [8086:2296] (rev 35)
Feb 28 17:24:38 archpc kernel: ACPI: \: failed to evaluate _DSM a53ec1f6-cd65-1f46-ab7a-29f7e8d5bd61 (0x1001)
Feb 28 17:24:38 archpc kernel: sdhci-pci 0000:00:12.0: failed to setup card detect gpio
Feb 28 17:24:38 archpc kernel: mmc1: SDHCI controller on PCI [0000:00:12.0] using ADMA
Feb 28 17:24:38 archpc kernel: mmc0: SDHCI controller on PCI [0000:00:10.0] using ADMA
Feb 28 17:24:38 archpc kernel: i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq -51
Feb 28 17:24:38 archpc kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
Feb 28 17:24:38 archpc kernel: i8042: Warning: Keylock active
Feb 28 17:24:38 archpc kernel: i8042: probe of i8042 failed with error -22

This smells like https://bbs.archlinux.org/viewtopic.php?id=293227
loqs linked a patched kernel there you might want to try.
Alternatively try to add i8042 to the initramfs…


x-ref: https://bbs.archlinux.org/viewtopic.php?id=293287

Offline

#5 2024-02-29 16:15:36

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

I'm still having the problems after installing the patched kernel.

Here are the new logs:
https://0x0.st/HRgc.txt

I'm not entirely confident I installed the kernel the right way, so I'll just paste the command I used here:

sudo pacman -U --noconfirm linux-6.7.6.arch1-1.1-x86_64.pkg.tar.zst linux-headers-6.7.6.arch1-1.1-x86_64.pkg.tar.zst

Offline

#6 2024-02-29 16:49:02

seth
Member
Registered: 2012-09-03
Posts: 62,277

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Feb 29 08:05:26 archpc kernel: i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq -51
Feb 29 08:05:26 archpc kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
Feb 29 08:05:26 archpc kernel: i8042: Warning: Keylock active
Feb 29 08:05:26 archpc kernel: i8042: probe of i8042 failed with error -22

No change, do you have more luck loading the i8042 early?
We'll probably have to bisect those, but w/ the other thread hinging on the mmc and your keyboard showing up around that and

Feb 29 08:05:26 archpc kernel: sdhci-pci 0000:00:12.0: failed to setup card detect gpio

it's probably the same regression.

Edit: though there's also

commit 609c7c1cc976e740d0fed4dbeec688b3ecb5dce2
Author: Jean Delvare
Date:   Wed Feb 14 15:59:39 2024 +0100

    i2c: i801: Fix block process call transactions
    
    [ Upstream commit c1c9d0f6f7f1dbf29db996bd8e166242843a5f21 ]
    
    According to the Intel datasheets, software must reset the block
    buffer index twice for block process call transactions: once before
    writing the outgoing data to the buffer, and once again before
    reading the incoming data from the buffer.
    
    The driver is currently missing the second reset, causing the wrong
    portion of the block buffer to be read.

Last edited by seth (2024-02-29 17:10:03)

Offline

#7 2024-02-29 17:21:34

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

$ git bisect start
status: waiting for both good and bad commits
$ git bisect bad v6.7.6
status: waiting for good commit(s), bad commit known
$ git bisect good v6.7.5
Bisecting: 156 revisions left to test after this (roughly 7 steps)
[00c48bfbd6b29b8ebf64edd059dbf9e95cedd5b1] misc: fastrpc: Mark all sessions as invalid in cb_remove

Folder containing Linux bisection 6.7.5 to 6.7.6 first bisection point.

Offline

#8 2024-02-29 18:06:54

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Will I be able to load i8042 early simply by adding

MODULES=(i8042)

to /etc/mkinitcpio.conf and remaking initramfs?

I have taken these steps and am still getting the same issue.

@loqs
I'm getting the error in that bisection.

Offline

#9 2024-02-29 18:59:06

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

$ git bisect bad
Bisecting: 78 revisions left to test after this (roughly 6 steps)
[5d08c617e59ab4dfbfa97a65dae2bad144fa7a6f] ALSA: hda/realtek: Fix the external mic not being recognised for Acer Swift 1 SF114-32

New build 6.7.5.r78.g5d08c617e59a is now in the linked folder.

Offline

#10 2024-02-29 19:09:48

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

That bisection also contains the error

Offline

#11 2024-02-29 19:47:04

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

$ git bisect bad
Bisecting: 38 revisions left to test after this (roughly 5 steps)
[2fde17d0c227a1504c2553b0879d81ce0141de9c] selftests/net: convert test_bridge_backup_port.sh to run it in unique namespace

New build 6.7.5.r39.g2fde17d0c227 s now in the linked folder.

Offline

#12 2024-02-29 19:57:58

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

It's not appearing in the folder for me.

Offline

#13 2024-02-29 20:34:17

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

ky246 wrote:

It's not appearing in the folder for me.

Upload failed.  It should be there now.

Offline

#14 2024-02-29 20:44:31

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

That section also contains the error.

Offline

#15 2024-02-29 22:35:21

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

$ git bisect bad
Bisecting: 19 revisions left to test after this (roughly 4 steps)
[d7e771d85ad1818e94ae80f320cf6cbad3365223] selftests/landlock: Fix fs_test build with old libc

New build  6.7.5.r19.gd7e771d85ad1 is now in the linked folder.

Offline

#16 2024-02-29 22:45:10

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Also still has the error

Offline

#17 2024-03-01 04:57:14

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

$ git bisect bad
Bisecting: 9 revisions left to test after this (roughly 3 steps)
[1429a6d1312877b54768edba19e33b1dfa5277d9] btrfs: forbid creating subvol qgroups

New build  6.7.5.r9.g1429a6d13128 is now in the linked folder.

@seth https://git.kernel.org/pub/scm/linux/ke … 7bd90c626d ?

Offline

#18 2024-03-01 05:20:38

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Has error

Offline

#19 2024-03-01 05:44:11

loqs
Member
Registered: 2014-03-06
Posts: 18,393

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Please try linux 6.7.6.arch1-2 see https://gitlab.archlinux.org/archlinux/ … 5b8fecfc3e

Offline

#20 2024-03-01 08:00:48

zzzardoz
Member
Registered: 2017-12-30
Posts: 23

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Thanks @loqs! I had the same issue with my Acer Chromebook 14 CB3-431 (Edgar). 6.7.6.arch1-2 solved it. :-)

Offline

#21 2024-03-01 15:42:41

ky246
Member
Registered: 2024-02-06
Posts: 10

Re: [SOLVED] Keyboard stopped working after updating to linux 6.7.6arch1-1

Thank you! That update fixed the problem.
Marking this thread as solved.

Offline

Board footer

Powered by FluxBB