kitakar5525 / chromeos-kernel-linux-surface

linux-surface kernel for chromiumos.
GNU General Public License v3.0
18 stars 1 forks source link

Sensors not working; caused by "FROMLIST: Input: atkbd: Receive and use physcode->keycode mapping from FW" (?) #14

Closed kitakar5525 closed 4 years ago

kitakar5525 commented 4 years ago

At least on Surface 3, I found sensors seem to be not working (no auto-rotation with this patch) on the latest chromeos-4.19 4.19.114.

This issue won't happen on the latest linux-surface 4.19 kernel (4.19.114-1-surface-lts) with Arch Linux. Also not happen on chromeos-5.4 5.4.30.

I tried chromeos-4.19 4.19.113 (commit 5080748) and it's working. After chromeos-4.19 4.19.114 (commit 0f61ed8), it's not working anymore.

I haven't yet found what is causing this issue.

kitakar5525 commented 4 years ago

Hmm. It's not working on branch release-R83-13020.B-chromeos-4.19, too.

kitakar5525 commented 4 years ago

Hmm... Reverting this commit fixed this issue.

Need to figure out why the commit caused this issue...

kitakar5525 commented 4 years ago

The aforementioned commit is on v4.19.113.r8526.c29d72eb8a09

kitakar5525 commented 4 years ago

Hmm... on previous comments, I tested on non-brunch chromeos. Now, I tried with brunch chromeos and sensors are working with that aforementioned commit not reverted. I tried even without brunch's userspace patches 99-preui_probe.sh and 99-delay_ui.sh but sensors are still working.

Not sure what fixed this issue... but actually fixed. Closing this issue as resolved.

Note for non-brunch users: If you still encounter this issue, try doing the same thing as this brunch patch: 99-preui_probe.sh (https://github.com/sebanc/brunch/blob/r83/patches/99-preui_probe.sh). (Create udev rule under /etc/init/preui-probe.conf with this content)