PINE64
Keyboard support broken in Mobian? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: Keyboard support broken in Mobian? (/showthread.php?tid=16782)



Keyboard support broken in Mobian? - MacarioMorenoUK - 06-07-2022

On June the 6th I apt upgraded my PinePhone CE running Mobian Bookworm after 2 wks. It prompted me to reboot, and when I did the keyboard was no longer recognised, neither as a battery or as an input source, yet the keyboard battery continued to charge the phone itself.

I suspected this was an issue with the update and started investigating; from what I have gathered the keyboard battery is supported via module ip5xxx_power, and the keyboard itself via module kb151. None of these modules are present in my /lib/modules/5.15-sunxi64/kernel subtree, and I the modification date of kernel/drivers/power matches the 06/06 date. 

I understand you can build these modules from source, but I would like to understand why they have disappeared in case this is an issue with Mobian and the maintainers need to be notified. I would appreciate if anyone with a working keyboard could locate these modules and confirm their location.


RE: Keyboard support broken in Mobian? - pshapley - 06-07-2022

(06-07-2022, 02:20 AM)MacarioMorenoUK Wrote: On June the 6th I apt upgraded my PinePhone CE running Mobian Bookworm after 2 wks. It prompted me to reboot, and when I did the keyboard was no longer recognised, neither as a battery or as an input source, yet the keyboard battery continued to charge the phone itself.

I suspected this was an issue with the update and started investigating; from what I have gathered the keyboard battery is supported via module ip5xxx_power, and the keyboard itself via module kb151. None of these modules are present in my /lib/modules/5.15-sunxi64/kernel subtree, and I the modification date of kernel/drivers/power matches the 06/06 date. 

I understand you can build these modules from source, but I would like to understand why they have disappeared in case this is an issue with Mobian and the maintainers need to be notified. I would appreciate if anyone with a working keyboard could locate these modules and confirm their location.

I have the same issue. Apt updated on 06/06... I have power on and off but the k151 'bar' is missing in Mobian and no keyboard output. Apt update on 07/06 no change.


RE: Keyboard support broken in Mobian? - MacarioMorenoUK - 06-08-2022

This has been reported as well in https://forum.pine64.org/showthread.php?tid=16756; basically the last release of the kernel (5.15.41-sunxi64)-1 shipped without kb151 or ip5xxx_power. As suggested by @zltpxqhp69o2 in the thread, an alternative is to use the 5.17 kernel in the unstable release branch:
Code:
sudo echo "deb http://repo.mobian-project.org/ unstable main non-free" >> /etc/apt/sources.list.d/mobian.list
sudo apt update
sudo apt install linux-image-5.17-sunxi64
This can then be reversed after the next release of the stable kernel; it is also worth keeping an eye at the mobian tracker: https://gitlab.com/mobian1/devices/sunxi64-linux/-/merge_requests/60/diffs?commit_id=81b3dd94993c4867c33e4ab30faad1fee996ceb8 (as pointed out by @Brother Cadfael)