pine64-pinephone: build kb151 as module
build kb151 as module in pinephone kernel. Details here: https://gitlab.com/postmarketOS/pmaports/-/issues/1444#note_856266426
I'm not quite sure if this is the right way to do it. Corrections welcome.
Merge request reports
Activity
- Resolved by Administrator
the changes to deviceinfo and the kconfig look correct. now you just need to:
- increase the
pkgver=
for the device-pine64-pinephone pacakge - generate a new checksum for that package (
pmbootstrap checksum device-pine64-pinephone
) - increase the
pkgrel=
for the linux-postmarketos-allwinner package - generate a new checksum for that package (
pmbootstrap checksum linux-postmarketos-allwinner
)
By clayton craft on 2022-02-26T23:04:19
Edited by Ghost User - increase the
mentioned in issue #1444 (closed)
By Adam Thiede on 2022-02-26T23:01:31
added device-pine64-pinephone label
- Resolved by Administrator
Tested pipeline artifacts on an unencrypted edge sdcard, and the kernel/device updates both boot and allow unloading/reloading of the kb151 module to make the keyboard work properly upon post-boot insertion. Neat! Loading the module does produce this message though:
[ 75.924359] kb151 2-0015: Your kernel doesn't have CONFIG_IP5XXX_POWER enabled, keyboard charger support is disabled.
Testing on my encrypted emmc edge install next.By Adam Thiede on 2022-02-27T15:45:38
Edited by Ghost User
- Resolved by Administrator
Testing on an encrypted edge install: The keyboard was not detected in the decryption screen initially, but I installed the kernel again after installing the device package, and it worked on the decryption screen on the next reboot. Maybe my mistake in install order on my part. The keyboard can be added after an out-of-keyboard boot now, and just requires a module reload to work again.
I can confidently say this works as intended but do not know of any potential downsides.
By Adam Thiede on 2022-02-27T06:17:24
Edited by Ghost User
added category::device label
- Resolved by Administrator
enabled an automatic merge when the pipeline for 297ff6bf succeeds
By Newbyte on 2022-02-27T18:29:35