From bd8dfd304f267f066e145c1bfeb291c7506501cb Mon Sep 17 00:00:00 2001 From: "Sicelo A. Mhlongo" Date: Tue, 2 Apr 2024 19:23:14 +0200 Subject: [PATCH] device-nokia-n900: do not load gpio_leds automatically (MR 4996) 6c30cb42a4 ("linux-postmarketos-omap: enable new community kconfig options") set CONFIG_LEDS_TRIGGER_DEFAULT_ON builtin. The consequence is that the debug LEDs are now always turned on, which interferes with the keyboard backlight. Since pmOS requires it to be builtin now, let us workaround the issue by not loading leds_gpio at boot. [ci:skip-build]: already built successfully in CI --- device/community/device-nokia-n900/APKBUILD | 4 ++-- device/community/device-nokia-n900/modules.blocklist | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/device/community/device-nokia-n900/APKBUILD b/device/community/device-nokia-n900/APKBUILD index 6131e5b34..f05ed6e8f 100644 --- a/device/community/device-nokia-n900/APKBUILD +++ b/device/community/device-nokia-n900/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sicelo # Co-Maintainer: Danct12 pkgname=device-nokia-n900 -pkgver=11 +pkgver=12 pkgrel=0 pkgdesc="Nokia N900" url="https://postmarketos.org" @@ -210,7 +210,7 @@ e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f178 caf9f4c45d11c28e1a6681255fafe5a286b0c417737fac1ca0ee37d3f82fd65c1712f5180375d7813fa308dfdca91d96876b5ce5b05b55ac14cfc31303b1ea5f lock.sh 157b27feebcfddf800a1ffd8c6e369d2b58e5db25b1a44b4443dada8d9fe74abb91d036b9f0e97769bbafbdc72020b5637313682c6932fe7b0bddb9ebebbad42 modem-load.conf 695feac7f69a0ec8c5e007cdb651adcc3492f1c6236e7fd183edec2a5e25cb957d3ace630ea5fdb87fd703e35ac368f1d097c2f881ecb52c9cfd433564db2a6c modem-opts.conf -72b1554929843990a7665fdf1e45f7ef304fc45d3fa3b1082dcb9dd6cb9d3e9f6799659a8e2fdbd24a809319654543d1c20a0528856002c3de319d5546e2af8b modules.blocklist +862ebc7cd2d7a1b3d41b10701b8418308c89eb0732eb99c42ec1091d48e08db9421727f67a3272b7309549798d59afb1b8d7d2fa48d1447b208fcb2329472d4d modules.blocklist b50e7f37ffb1fa0bb782b117a4e8bcfdb722b6127c3e5d643e90cd901a1f4e65e77a0773ed418673c8195595347482be0c8096f5a723e840315ad61ccd043b66 n900-wlan-data.initd 143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal 239a54ae5c5effb53ccf4d658652c0462da57604b16b77a63627a17caa171caf82e3d1769f9c5afea8756415acbbf3b73db9b57715fce6c70ea3f29e5c6ac84a uboot-script.cmd diff --git a/device/community/device-nokia-n900/modules.blocklist b/device/community/device-nokia-n900/modules.blocklist index f7b84639a..1f9295764 100644 --- a/device/community/device-nokia-n900/modules.blocklist +++ b/device/community/device-nokia-n900/modules.blocklist @@ -7,3 +7,6 @@ blacklist omap3_isp blacklist hci_nokia blacklist hci_uart blacklist ehci_omap +# do not autoload leds_gpio used by the debug leds, since it is now initialized +# in ON state, interfering with the keyboard backlight +blacklist leds_gpio