Commit graph

8387 commits

Author SHA1 Message Date
Vitaliy Ognev
f61fee5d41
device-powkiddy-x55: recommend powkiddy-x55-mapper (MR 4936)
[ci:skip-build]: already built successfully in CI
2024-03-23 10:34:41 +01:00
Vitaliy Ognev
367d6432dc
powkiddy-x55-mapper: new aport (MR 4936) 2024-03-23 10:34:01 +01:00
Arnav Singh
d67aa6b44d
device-pine64-pinephone: automatically recover modem when it dies (MR 4937)
eg25-manager is supposed to watch for the modem going away and recover it
automatically, but it doesn't seem to actually do anything.
Manually restarting eg25-manager in this situation does recover the modem.
This upstream issue https://gitlab.com/mobian1/eg25-manager/-/issues/47
is probably the same, and as that issue says, manually restarting eg25-manager
in this situation does recover the modem.

So this change adds a udev rule to automatically restart eg25-manager when
the modem dies. Common triggers for the modem dying are:

1. When the phone wakes up from suspend.

2. When an incoming call is disconnected, especially if the disconnect happens
   very quickly after the call started, such as what happens when
   phosh-antispam identified the call as spam.

3. When plugging or unplugging the phone from USB power, and when plugging
   or unplugging other USB devices like keyboard from a connected dock.

udev shouldn't be used for spawning long-lasting processes,
but `rc-service start` will parent the process to the service manager and exit,
so that's fine. It does take a few seconds during which udev is blocked and
can't process other events, which udev also recommends against,
but in this case it's not a big deal IMO.

Fixes #2641
[ci:skip-build]: already built successfully in CI
2024-03-23 10:12:14 +01:00
Andrea Bolognani
540caff8ae
device-xiaomi-daisy: provide touchscreen calibration data (MR 4959)
The data is not 100% accurate, but it's the best I've got
and it makes the device usable, which it currently isn't.

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2647

Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
2024-03-23 11:46:37 +03:00
Andrea Bolognani
9200f8fe1a
devicepkg-dev: fix call to dc (MR 4959)
The current invocation doesn't work:

  $ busybox dc "100" "5" / p
  dc: can't open '100': No such file or directory

Fix it so that it does:

  $ busybox dc -e "100 5 / p"
  20

One of the messages that is printed on failure was missing
the "WARNING:" prefix. Address that too.

Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
2024-03-23 11:46:12 +03:00
Nikita Travkin
74cec4794b
community/soc-qcom-msm8916: Add a workarund for GTK4 (MR 4958)
GTK4 has switched to a new renderer. Unfortunately adreno a306 is
effectively abandoned in mesa and has many bugs which the new GTK
renderer now hits.

To allow us to still use GTK4 apps on the msm8916 based devices, force
the old renderer on them for now.

Fixes: #2681
[ci:skip-build]: already built successfully in CI
2024-03-22 17:46:22 +05:00
Clayton Craft
f37ee63217
linux-valve-jupiter: upgrade to 6.8 (MR 4957)
- enable some modules for USB storage devices
 - enable scsi disk support (e.g. for USB thumb disks)

[ci:skip-build] already built successfully in CI
2024-03-21 23:11:53 -07:00
Anton Bambura
41d528f6b9
main/cros-keyboard-map: upgrade to 0_git20240313 (MR 4930)
[ci:skip-build]: already built successfully in CI
2024-03-21 21:38:15 +02:00
Teemu Ikonen
661a6494ce
temp/gtk4.0: upgrade to 4.14.1, clean up compile command (MR 4951) 2024-03-21 12:49:39 +01:00
Luca Weiss
ca51ad851e
linux-postmarketos-qcom-sm6350: upgrade to 6.8.1 (MR 4949)
Kconfig changes:
* DRM_SIMPLEDRM
* QCOM_ICC_BWMON

[ci:skip-build]: already built successfully in CI
2024-03-20 21:22:39 +01:00
Stefan Hansson
d74c66bcf6
linux-postmarketos-exynos4: enable CONFIG_AUDIT (MR 4946)
Necessary to debug seccomp filters, among other things. Without this
auditd doesn't work at all.
2024-03-20 21:01:18 +01:00
Robert Eckelmann
2ca42e6f79
temp/iio-sensor-proxy: disable the build for armv7 (MR 4950)
Ref: #2468
2024-03-20 08:40:35 -07:00
jethrob
b41ec7a9d7
linux-postmarketos-grate: take co-maintainership (MR 4948)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-03-19 21:44:24 +00:00
jethrob
caab6c96fa
device-microsoft-surface-rt: take co-maintainership (MR 4948) 2024-03-19 20:47:05 +00:00
Raymond Hackley
10eb68fe05
main/postmarketos-initramfs: add USB booting support (MR 4947)
How to boot from USB drives:
1. Make sure the extcon has OTG support and included in initramfs
2. Make sure the PMIC supports the power to OTG devices, and included in initramfs. Otherwise, a hub with external power supply is required.
3. Make sure module `usb-storage` is enabled in initramfs
4. `pmbootstrap install --sdcard=/dev/<usb_drive>`
    - postmarketOS/pmbootstrap@942ee20789 is required to ignore sdcard check. Thanks @ollieparanoid for the patch.
5. `pmbootstrap flasher flash_kernel`
6. Insert the USB drive to OTG and boot

[ci:skip-build]: already built successfully in CI
2024-03-19 09:28:32 +00:00
Anton Bambura
0db311f94a
microsoft-surface-rt: sort depends (MR 4944)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-03-18 19:39:38 +01:00
Anton Bambura
d085c072dd
linux-postmarketos-grate: take co-maintainership (MR 4941)
I contribute to this package from time to time, so let's add myself to
maintainers to represent it here.

[ci:skip-build]: already built successfully in CI
2024-03-18 13:49:56 +02:00
Anton Bambura
894a115705
linux-postmarketos-grate: upgrade to 6.6.22 (MR 4941)
This upgrades kernel to 6.6.22 backporting fixes for major performance
issues of Microsoft Surface RT.

This also re-generates config with "make grate_defconfig pmos.config"
and adds pmb:kconfigcheck-uefi for surface rt.
2024-03-18 13:49:56 +02:00
Luca Weiss
6cb3e795e4
modem/{pd-mapper,tqftpserv}: take over maintainership (MR 4942)
The previous maintainer hasn't been active on GitLab for at least two
years, time to replace them.

[ci:skip-build]: already built successfully in CI
2024-03-18 12:14:43 +01:00
André Apitzsch
e6cdfd8d42
device/msm8226*: Generate extlinux.conf (MR 4939)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8226 since it
will be used in the future lk2nd release. boot.img is still kept to keep
compatibility with current lk2nd releases and to allow system recovery
with fastboot when required.

[ci:skip-build]: already built successfully in CI
2024-03-18 12:12:13 +01:00
Oliver Smith
2d0a7aa6dc
CI: add more tests for CODEOWNERS (MR 4940)
* Parse the file in python and ensure it is ordered alphabetically
* Ensure that we have at least as many gitlab nicknames in CODEOWNERS,
  as there are listed maintainers in main and community devices. This
  should help with enforcing that every maintainer is also listed in
  CODEOWNERS, so they can be easily pinged via their gitlab nickname if
  something for the device they maintain is happening.

[ci:skip-build]: already built successfully in CI
2024-03-18 08:01:26 +00:00
Oliver Smith
8bf7a0f6dd
CODEOWNERS: add maintainers from APKBUILDs (MR 4940)
Sometimes we need to figure out the gitlab nicknames of maintainers and
co-maintainers as listed in the APKBUILDs, e.g. when a specific issue
appears that only happens with a given device. Or if we want to ping
all device maintainers in the testing phase for the new release.

So far it has been a very tiresome, manual process to figure out gitlab
nicknames from the maintainers in the APKBUILDs (involving git log
--follow and opening merge requests in browsers...). After some
discussion we figured it would be good to store it in the CODEOWNERS
file.

This also has the nice side-effect that maintainers get notifications if
the APKBUILDs they maintain get changed.
2024-03-18 08:01:20 +00:00
Oliver Smith
f45189285e
CODEOWNERS: order alphabetically (MR 4940) 2024-03-17 22:48:52 +00:00
Oliver Smith
297dafc5ba
CODEOWNERS: remove vim modeline (MR 4940)
We configure editors via editorconfig file. Remove the modeline, it was
wrong anyway by setting "et" to expand tabs to spaces, where in reality
this file uses tabs.
2024-03-17 22:48:52 +00:00
Oliver Smith
f20ff5dba3
editorconfig: add CODEOWNERS (MR 4940)
Let editors use tabs for this file
2024-03-17 22:48:52 +00:00
Oliver Smith
af6d4c661d
linux-postmarketos-rockchip: remove Martijn as maintainer (MR 4940) 2024-03-17 22:48:52 +00:00
Oliver Smith
a8e36280c5
device-qemu-{amd64,aarch64}: add myself as maintainer (MR 4940)
Daniele has been inactive for some years, set myself as maintainer.
2024-03-17 22:48:47 +00:00
Sergey Lisov
a14ef97406
linux-samsung-a6lte: touchscreen in charge mode (MR 4845)
pmOS does not support charge mode anyway, and boots to a full UI, but this vendor kernel disables touchscreen when booting in charge mode. Remove that check, so that the phone can be used as usual.

[ci:skip-build]: already built successfully in CI
2024-03-17 21:16:17 +03:00
Oliver Smith
11cc8fc549
cross/busybox-static-*: upgrade to 1.36.1-r21 2024-03-17 17:30:24 +00:00
Vitaliy Ognev
df5f42fb0f
powkiddy-x55: new device (MR 4926) 2024-03-17 14:15:33 +01:00
Vitaliy Ognev
9740a785b3
postmarketos-ui-cage: new aport (MR 4934)
[ci:skip-build]: already built successfully in CI
2024-03-17 11:59:27 +01:00
Caleb Connolly
75f98f10e6
postmarketos-base-ui-gnome: depend on correct wallpapers (MR 4929)
The postmarketos-artwork-wallpapers-gnome package no longer exists. Now
we just depend on the postmarketos-artwork-wallpapers package.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-17 02:11:50 +00:00
Adam Thiede
aaade24fd4
linux-postmarketos-mediatek-mt8173: upgrade to 6.8.1 (MR 4932)
[ci:skip-build]: already built successfully in CI
2024-03-16 18:37:16 +02:00
Icenowy Zheng
8e1bb335ca
linux-postmarketos-qcom-sdm845: hotfixes for xiaomi-polaris (MR 4867)
Current 6.6 kernel has some features broken for xiaomi-polaris including
LCD and Wi-Fi.

Add two patches that fix these problems.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
[ci:skip-build]: already built successfully in CI
2024-03-16 16:55:12 +01:00
Anton Bambura
dd0ca74839
linux-postmarketos-grate: enable WM8962 (MR 4931)
This sound card is used on surface rt

[ci:skip-build]: already built successfully in CI
2024-03-16 16:51:34 +01:00
Teemu Ikonen
355ecfb07b
temp/gtk4.0: upgrade to 4.14.0, remove mesa-asahi workaround (MR 4927)
[ci:skip-build]: already built successfully in CI
2024-03-16 16:48:10 +01:00
Luca Weiss
2bb07cb553
linux-postmarketos-qcom-sc7280: upgrade to 6.8.0 (MR 4922)
[ci:skip-build]: already built successfully in CI
2024-03-16 16:42:04 +01:00
Stefan Hansson
d92929d716
main/postmarketos-mkinitfs: remove CGO_ENABLED=0 (MR 4924)
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809

[ci:skip-build]: already built successfully in CI
2024-03-16 14:44:26 +01:00
Stefan Hansson
85824bc1d3
main/postmarketos-mkinitfs: upgrade to 2.4.0 (MR 4924) 2024-03-16 14:44:26 +01:00
Anton Bambura
8c395c506d
microsoft-surface-rt: remove deprecated deviceinfo variables (MR 4928)
[ci:skip-build]: already built successfully in CI
2024-03-16 13:50:27 +02:00
Anton Bambura
5d6d977dc8
microsoft-surface-rt: use PMOS_FORCE_PARTITION_RESIZE (MR 4928)
This will be needed for prebuilt images.
2024-03-16 13:50:27 +02:00
Anton Bambura
991e6340ad
microsoft-surface-rt: use generated grub.cfg (MR 4928) 2024-03-16 13:50:27 +02:00
Anton Bambura
ae3050cd42
microsoft-surface-rt: remove initfs-hook.sh (MR 4928)
This is needed for osk-sdl which we don't use anymore
2024-03-16 13:50:27 +02:00
Anton Bambura
4f29d783fe
microsoft-surface-rt: remove pointercal (MR 4928)
This is needed for osk-sdl which we don't use anymore
2024-03-16 13:50:27 +02:00
Anton Bambura
50141cab00
microsoft-surface-rt: remove phosh config (MR 4928)
This should be handled automatically nowadays
2024-03-16 13:50:27 +02:00
Bart Ribbers
72357ecfb2
main/postmarketos-artwork: upgrade to Meadow wallpaper and make Plasma-compatible (MR 4805) 2024-03-15 20:06:32 +03:00
Adam Thiede
d9ed2ac850
main/device-pine64-pinephone: depend on sway instead of sway-virtual (MR 4857)
[ci:skip-build]: already built successfully in CI
2024-03-15 15:18:50 +01:00
Arseniy Velikanov
3776d03f39
device-nokia-argon: embed matrix-keypad module in initramfs (MR 4923)
[ci:skip-build]: already built successfully in CI
2024-03-14 23:41:28 +01:00
FuchtelJockel
59b3c1af1d
linux-postmarketos-qcom-msm8994: update dt for h815 (MR 4915)
- add volume up/down, power key
- add hall sensor
- add sd card support
- fix normal boot

[ci:skip-build]: already built successfully in CI
2024-03-14 10:51:54 -07:00
FuchtelJockel
a2cd4434b6
linux-postmarketos-qcom-msm8994: upgrade to 6.8 (MR 4915) 2024-03-14 10:51:54 -07:00