Commit Graph
1136 Commits
Author SHA1 Message Date
adamthiede 6ca3a66c10 linux-postmarketos-mediatek-mt8173: upgrade to 6.13.2 (MR 6176)
[ci:skip-build]: already built successfully in CI
2025-02-11 18:03:31 -08:00
Sam Day 4a7588d0e2 {device,soc}-*: use cairo software GTK renderer on quirky devices (MR 6178)
GTK shipped the ngl (new GL) renderer last year and deprecated the
legacy gl renderer. In GTK 4.17 this renderer has been removed entirely,
which means the devices that were forcing the use of this legacy
renderer need to now fallback to software rendering instead.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3533
Signed-off-by: Sam Day <me@samcday.com>
[ci:skip-build]: already built successfully in CI
2025-02-10 22:48:36 +01:00
Pablo Correa Gómez c3273472e0 device-generic-x86_64: add psmouse to initfs modules (MR 6187)
This could serve a wide variety of old touchpads and mouses, to be
functional in unl0kr

Fixes https://gitlab.postmarketos.org/postmarketOS/buffybox/-/issues/42
[ci:skip-build]: already built successfully in CI
2025-02-10 08:51:39 -08:00
Sicelo A. Mhlongo ffa0f1245b nokia-n900: remove deprecated deviceinfo options (MR 6168)
screen_height and screen_width are now deprecated options according to the
wiki. remove them

[ci:skip-build]: already built successfully in CI
2025-02-08 20:02:41 +01:00
Clayton Craft 4e908a7615 soc-qcom-sdm845: remove dependency on alsa-utils (MR 6169)
Suddenly apk wants to install other ucm pkgs that conflict with
soc-qcom-sdm845-ucm, like the soc-qcom-msm8996-ucm pkg. Later when the
sdm845-ucm is installed it conflicts with the previously installed (and
incorrect) ucm pkg.

This SOC pkg depends on alsa-utils from e95d28a6, but the
call_audio_idle_suspend_workaround.sh that was added in that commit
doesn't actually seem to be using apps from alsa-utils, so maybe it's
safe to remove that dependency and fix an issue where apk will sometimes
install the wrong alsa-ucm-conf pkg for a device...

[ci:skip-build]: already built successfully in CI
2025-02-08 09:35:22 -08:00
Barnabás Czémán 1d63a75d4d linux-postmarketos-qcom-msm8953: upgrade to v6.13.0-r0 (MR 6116)
Tested Community Devices:

    - xiaomi-mido
    - xiaomi-vince
    - xiaomi-tissot
    - xiaomi-ysl

Tested Community Devices:

    - xiaomi-onclite
    - motorola-potter

Changes

    e33e7f9 arm64: dts: qcom: msm8953: motorola-potter: add touchscreen reset GPIO
    dd26b8f Input: rmi_i2c: introduce reset GPIO handling
    39aa0e7 dt-bindings: input: add max output voltage & auto resonance mode to the Qualcomm SPMI haptics
    8ec6321 input: misc: qcom-spmi-haptics: make vmax configureable via DT prop
    2ed3f64 input: misc: qcom-spmi-haptics: make auto res mode configureable via DT prop

Maybe Fixes: #3078 (idk aftermarket display could be a different issue.)

Thank You! @Felix @smankusors
2025-02-08 00:18:55 -08:00
Robert MaderandClayton Craft 62611a7b06 device-oneplus-enchilada: Reuse hexagonrpcd config on systemd (MR 6147)
By sharing the config file and making the systemd unit files match the
openRC ones as close as possible.

Also fix the q6voiced.conf path while on it.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 11:34:59 -08:00
Clayton Craft ed01099318 device-oneplus-enchilada: remove nonfree_firmware subpkg (MR 6147)
We decided last year to always install the pkgs this subpkg pulled in,
and removing it simplifies the apkbuild.
2025-02-07 11:34:59 -08:00
Robert MaderandClayton Craft 338d7d66f8 device-google-sargo: Fix hexagonrpcd on systemd (MR 6147)
By sharing the config file and making the systemd unit files match the
openRC ones as close as possible.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 11:34:59 -08:00
Sicelo A. Mhlongo 82a8d55197 device-nokia-n900: drop partition resize cmdline option (MR 6164)
Partition resizing is now done in initramfs at every boot.
2025-02-07 16:48:37 +03:00
Richard Acayan 33ff836196 google-sargo: install q6voiced for any init system (MR 6107)
The q6voiced environment file was moved back into the nonfree-firmware
subpackages in !6015, but google-sargo was forgotten. Add it for the
Pixel 3a.
2025-02-04 07:23:53 -08:00
Clayton Craft c7ddc65a67 device-google-sargo: remove nonfree_firmware subpkg (MR 6107)
We decided last year to always install the pkgs this subpkg pulled in,
and removing it simplifies the apkbuild.
2025-02-04 07:23:53 -08:00
Sicelo A. Mhlongo 6ac4e5f49c device-nokia-n900: stop using /etc/skel (MR 6123)
Drop all uses of the /etc/skel feature for adding configuration files and
scripts to the user's $HOME. Files installed via /etc/skel are outside the
control of the package manager and may result in broken installations. At the
least, they are not updateable from the packaging.

To implement this:
 * drop $HOME/.protip_shell.sh, whose usefulness is questionable
 * relocate i3blocks blocklets to /usr/share, and the config file to /etc/xdg,
   which is an i3blocks' standard search path (`man i3blocks`)
 * move the i3 configuration file to /etc/xdg, from where it can be picked up
   and included by the config file provided via postmarketos-ui-i3wm. Configs
   from $HOME are still parsed, and will be honored by i3wm, subject to i3's
   limitations in connection with including extra config files
 * at i3 startup, with the help of an external script, ensure there is an i3
   config file in $HOME, even if empty. This prevents i3-config-wizard from
   running and mangling the config files
 * convert xdefaults to Xresources and store in /usr/share/X11. Load it to on
   the environment by calling `xrdb` during i3 startup
2025-02-04 23:26:32 +09:00
Jan Jasper de Kroon 70ca0ebe8e linux-pine64-pinephonepro: upgrade to 6.13 (MR 6093) 2025-02-03 10:23:14 -08:00
Robert Mader 6bc98ff414 soc-qcom-sdm845: discourage hw video (de)encoders in gstreamer (MR 6098)
Gstreamer enables hw de- and encoding by default for the most common APIs,
including V4L2-stateful. Unfortunately the venus driver is still quite
unstable, reliably crashing in very common scenarios, triggering apps
like Snapshot, Showtime or Tuba to show error messages or not working
properly - partly because of non-optimal error-handling.

Until the kernel driver situation improves, set environment variables
that demote the decoders to fallbacks in case nothing else is available,
and disable the hw-encoders completely as they tend to destabalise the
whole system if something goes wrong.

Useful command for env variables:
systemctl --user show-environment
2025-02-03 12:00:55 +01:00
Sicelo A. Mhlongo 7721e2d8b5 linux-postmarketos-omap: upgrade to 6.13 (MR 6071)
- Add upstream patch enabling bq2415x_charger to report events to userspace
 - Add upstream patch to fix SPI bus regression [1]. For N900, it breaks the
   screen and WLAN

 [1] https://lore.kernel.org/linux-spi/Z5HXoq8XlduURWmw@tp440p.steeds.sam/T/#mbd2ca8fb3b214819623197325b37fce182dddce7
2025-01-30 15:35:18 -08:00
Sicelo A. Mhlongo cc92408b60 device-nokia-n900: depend on evtest (MR 6113)
730c56ed35 ("community/device-nokia-n900: x11: integrate screenshot utility")
added a script that uses evtest. Add the required package dependency.
2025-01-30 01:54:04 +03:00
Luca Weiss 972d39afe9 device/*: comply to updated kconfig checks (MR 6087)
This was done in 7 steps:
* prepare by running pmbootstrap kconfig migrate
* fix up kconfig category:uefi
* fix up kconfig category:zram
* fix up kconfig category:default
* fix up kconfig category:default (NULL_TTY)
* fix up kconfig category:input
* bump pkgrels

[ci:skip-build]
[ci:ignore-count]
2025-01-29 17:38:06 +01:00
adamthiede 3a8697c128 community/linux-postmarketos-mediatek-mt8173: upgrade to 6.13 (MR 6073) 2025-01-23 20:56:37 -08:00
Jianhua Lu eb8694fd6b linux-postmarketos-qcom-sm8250: upgrade to 6.13.0 (MR 6079)
[ci:skip-build]: already built successfully in CI
2025-01-23 14:59:54 +01:00
Frank Oltmanns cfdfd97134 linux-postmarketos-qcom-sdm845: Add HID config options (MR 6032)
Enable the config options that are required since commit 2306f863
"kconfigcheck: Add all HID config options from Fedora aarch64 kernel (MR
5836)".
2025-01-22 15:22:51 +01:00
Frank Oltmanns 31b3ba7a50 linux-postmarketos-qcom-sdm845: Improve work-around for call audio regressions (MR 6032)
Somehow enabling in-kernel PD mapper (introduced in 5b9f51b200dcb
"remoteproc: qcom: enable in-kernel PD mapper"), breaks the bottom mic
on xiaomi-beryllium (Poco F1) and distorts audio on OP6 (and possibly
OP6T). Temporarily disable it until the issue is resolved upstream.

Previously, the module's was modified to disable the in-kernel PD
mapper. This modification was a hack. Instead, modify the config so that
the in-kernel PD mapper is not built in the first place, which achieves
the same result.

Link: https://lore.kernel.org/linux-arm-msm/20241010074246.15725-1-johan+linaro@kernel.org/T
Link: pmaports#3353
Link: pmaports#3320
Link: pmaports#3245
Link: pmaports#3253

Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
2025-01-22 15:22:51 +01:00
Clayton Craft 6d4b78405a community/linux-postmarketos-qcom-laptop: upgrade to 6.13 (MR 5895)
- Add new kconfigcheck 'input' category options
- Add 'virt' kconfigcheck category
- Removed 'containers' kconfigcheck (this is included with the 'community' category)
- Enabled Magic Sysrq
- Add patch to disable GIC interrupt handling for pcie4, to work around
  a wifi instability regression on sc8280xp
2025-01-21 22:30:08 -08:00
Arnav Singh e22d28f497 linux-postmarketos-allwinner: upgrade to 6.12.8_git20250104 (MR 6067)
[skip ci]: failed on kconfig check, Arnavion wrote: "I'll enable the
CONFIG_HID_* that kconfigcheck wants in a separate MR so that any regressions
from that don't mix up wit the kernel upgrade."
2025-01-20 22:29:18 +01:00
Felix Kaechele c90592c981 firmware-qcom-msm8953: add Lenovo ThinkSmart View (CD-18781Y) firmware (MR 6061)
[ci:skip-build]: already built successfully in CI
2025-01-17 17:01:18 -08:00
Richard Acayan 9136c2dea8 firmware-google-sargo: compress firmware loaded by kernel (MR 6052)
[ci:skip-build]: already built successfully in CI
2025-01-17 16:55:54 -08:00
WeirdTreeThing eecf4d3599 device-google-x64cros: add nvme modules to initramfs (MR 6059)
Required to boot from nvme drives

[ci:skip-build]: already built successfully in CI
2025-01-17 14:31:35 -08:00
Barnabás Czémán 89003fbc1b soc-qcom-msm8953: add moto-modem-rfs-setup service (MR 6041)
Add an openrc service for motorola modems.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2025-01-17 17:33:12 +03:00
Barnabás Czémán 037f96ff8e soc-qcom-msm8953: add tqftpserv to modem subpackage (MR 6041)
Add tqftpserv to modem subpackage to support modem on
motorolas.
2025-01-17 17:33:12 +03:00
Barnabás Czémán ae3cfeead7 linux-postmarketos-qcom-msm8953: upgrade to v6.12-r2 (MR 6041) 2025-01-17 17:33:12 +03:00
Barnabás Czémán 255cd5b647 firmware-qcom-msm8953: Add WCNSS nv binary for motorolas (MR 6041)
Motorolas contains nv binary on system partition.
Add them to the fw package to be able to use generic port on them.
2025-01-17 17:33:04 +03:00
Oliver Smith c52924104e kconfigcheck: add PPP specific section (MR 5992)
CONFIG_LEDS_GROUP_MULTICOLOR just had to be re-enabled to fix a
regression. Add this to kconfigcheck to prevent disabling it by
accident in the future. Adjust the description of the Librem 5
specific section while at it.

[ci:skip-build] [ci:skip-vercheck]: no need to rebuild
2025-01-14 17:38:37 -08:00
Oliver Smith b090beb066 device-google-trogdor: move eudev-hwids dep to openrc (MR 6042)
[ci:skip-build]: already built successfully in CI
2025-01-14 09:42:30 -08:00
Oliver Smith 1edcc6a174 device-google-gru: move eudev-hwids dep to openrc (MR 6042) 2025-01-14 09:42:30 -08:00
Oliver Smith 895b259ca2 device-pine64-pinebookpro: move eudev-hwids dep to openrc (MR 6042)
Fix systemd installs:
  (147/798) Installing eudev-hwids (3.2.14-r5)
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-OUI.hwdb owned by systemd-udevd-256.5-r5.
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-acpi-vendor.hwdb owned by systemd-udevd-256.5-r5.
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb owned by systemd-udevd-256.5-r5.
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-dmi-id.hwdb owned by systemd-udevd-256.5-r5.
  ...
2025-01-14 09:42:30 -08:00
Oliver Smith f48c8c34f0 device-pine64-pinephone: drop dep on openrc subpkg (MR 6042) 2025-01-14 09:42:29 -08:00
Clayton Craft ab7156d367 soc-qcom-msm8953: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft f851c8a374 soc-qcom-msm8916: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft 38962fd023 device-xiaomi-beryllium: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft b67be8b278 device-shift-axolotl: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft 91104b55c4 device-oneplus-fajita: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft 81f954402a device-oneplus-enchilada: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
adamthiede 19b51bbf8f linux-postmarketos-mediatek-mt8173: upgrade to 6.12.9 (MR 6024)
[ci:skip-build]: already built successfully in CI
2025-01-12 19:29:30 +01:00
Luca Weiss 4fff56942d device/*: remove unnecessary mtk_mkimage="false" values (MR 5995)
Like quite a few other values being set to false, this one has a default
of false so can be safely removed.
2025-01-07 10:58:40 +01:00
Jan Jasper de Kroon fb0be371ef linux-pine64-pinephonepro: fix notification LED behavior (MR 5991)
Enable CONFIG_LEDS_GROUP_MULTICOLOR as a module to fix issue #3424.
Previously, notifications triggered the torch flash instead of the
status indicator LED. This change allows proper use of the multicolor
LED driver, ensuring notifications utilize the status indicator LED.

[ci:skip-build]: already built successfully in CI
2025-01-06 14:15:32 +01:00
Johannes Krampf 8e0a56fd1d pine64-pinephone: fix u-boot user script load address (MR 5980)
Fixes #3414.

The package `device-pine64-pinephone-vccq-mod` installs a u-boot user script.
The user script was loaded at address 0x50700000 partially overwriting
the initramfs (0x4FF00000-0x50883fd1), and causing a boot loop.

The user script load address was increased to 0x50f00000, leaving 16MB
of free space for the initramfs, the current initramfs size is 9.52MB.

Tested: Build and install package on Pinephone 1.2a running PMOS 24.12.
[ci:skip-build]: already built successfully in CI
2025-01-05 13:46:07 +01:00
Frank Oltmanns 399121b800 linux-postmarketos-qcom-sdm845: Work-around call audio regressions (MR 5966)
Somehow enabling in-kernel PD mapper (introduced in 5b9f51b200dcb
"remoteproc: qcom: enable in-kernel PD mapper"), breaks the bottom mic
on xiaomi-beryllium (Poco F1) and distorts audio on OP6 (and possibly
OP6T). Temporarily disable it and log the rprocs in use until we better
understand what causes the issue.

Link: pmaports#3353
Link: pmaports#3320
Link: pmaports#3245
Link: pmaports#3253

Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
[ci:skip-build]: already built successfully in CI
2025-01-03 12:58:48 +01:00
Clayton Craft c916869512 firmware-lenovo-21bx: drop bluetooth fw (MR 5963)
This is now in linux-firmware-qca
2025-01-01 12:05:42 +03:00
Jan Jasper de Kroon 0af3cf8732 device-pine64-pinephonepro: update keyboard config paths (MR 5956)
Update paths to keyboard configuration files to reflect PinePhone's
move from main to community device category.

[ci:skip-build]: already built successfully in CI
2024-12-29 19:39:54 +01:00
Arnav Singh 0bcce70122 device-pine64-pinephone: drop modem autorecovery udev rule (MR 5935)
eg25-manager 0.5.2 seems to be able to bring back the modem on its own again,
so this hack is no longer necessary.

[ci:skip-build]: already built successfully in CI
2024-12-24 14:35:37 +01:00