Commit Graph
95 Commits
Author SHA1 Message Date
Dylan Van Assche 7d35823389 kconfigcheck: add USB FunctionFS
[ci:ignore-count]
[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
2025-12-27 22:44:28 -08:00
Dylan Van Assche b75d4fa94d main/postmarketos-mkinitfs-hook-netboot: mark conflict with usb-moded
In netboot mode, the USB connection must remain as is from the initramfs
to avoid breaking netboot mode. If usb-moded is started in netboot mode,
it will reconfigure the USB gadget, therefore mark it as conflict.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
2025-12-27 22:44:27 -08:00
Dylan Van Assche c5a8b1b6cd CI: tethering script is removed
usb-moded takes over tethering from NM

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
2025-12-27 22:44:27 -08:00
Dylan Van Assche f2f4cdd1e2 main/postmarketos-base-ui: remove tethering script
Tethering is now integrated within usb-moded.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
2025-12-27 22:44:27 -08:00
Dylan Van AsscheandClayton Craft 002191af2b temp/usb-moded: fork from Alpine
Adjust with support for NCM gadget, generalize FunctionFS functionality,
and disabling rescue mode.

USB Moded modes contain:
- Tethering mode script
- Developer mode script
- umtprd daemon for MTP mode

Co-authored-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
2025-12-27 22:44:27 -08:00
Dylan Van Assche b12807c8e0 device-pine64-pinetab: drop maintainership
Pine64 Pinetab is unmaintained for years.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7322>
2025-11-09 10:09:50 +01:00
Dylan Van Assche 15dbb835b0 systemd/systemd-services: add RuntimeDirectory and StateDirectory for nginx
RuntimeDirectory and StateDirectory are required for NGINX to operate out-of-the-box.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7008>
2025-09-07 18:02:26 +00:00
Dylan Van Assche a8229a6ad7 main/postmarketos-ui-os-installer: add Console UI
Installing pmOS on servers has never been more easy with the OS Installer when the Console UI is supported. Tested on my own homeserver.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7000>
2025-09-06 18:33:14 +02:00
Dylan Van Assche 6d5ed690bc main/mobile-config-thunderbird: upgrade to v0.1.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6413
2025-04-21 17:14:18 +02:00
Dylan Van Assche 8a72315e9f temp/iio-sensor-proxy: sleep workaround is not needed anymore (MR 6040)
libssc waits now itself for the DSP to be ready.
2025-02-04 23:07:36 +09:00
Dylan Van Assche af17d8f3a7 temp/iio-sensor-proxy: upgrade libssc patches (MR 6040)
Libssc integration in iio-sensor-proxy has been heavily improved, sync the patches in pmaports.
2025-02-04 23:07:36 +09:00
Dylan Van Assche c5cf9351da systemd/iio-sensor-proxy: allow AF_QIPCRTR (MR 5190) (MR 5563)
libssc requires QRTR protocol, allow it in systemd lockdown.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:32 +01:00
Dylan Van Assche c3fc4ef89a main/mobile-config-thunderbird: new aport (MR 5968) 2025-01-05 22:35:11 -08:00
Dylan Van Assche 372ccb3cf2 temp/iio-sensor-proxy: upgrade SSC patches (MR 5215)
Include latest fixes for SSC support and require building against libssc 0.1.6 or higher.

[ci:skip-build]: already built successfully in CI
2024-07-07 16:20:02 +02:00
Dylan Van Assche dfd4a998c8 main/bootmac: upgrade to 0.5.0 (MR 5239)
[ci:skip-build]: already built successfully in CI
2024-06-20 10:07:07 -07:00
Dylan Van Assche 6cfa3caffe temp/iio-sensor-proxy: rebuild against libssc 0.1.5 (MR 5173)
See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/66530
2024-05-26 10:09:36 +09:00
Dylan Van Assche 2c6d302a13 firmware-shift-sdm845: use new hexagonrpcd paths and drop board-2.bin (MR 5151)
Adjust the sensor firmware paths for hexagonrpcd 0.3.1.
Also drop board-2.bin file which is now upstream and use upstream mba.mbn
and wlanmdsp.mbn.

[ci:skip-build]: already built successfully in CI
2024-05-18 14:10:23 +02:00
Dylan Van Assche 694fefda45 firmware-oneplus-sdm845: use new hexagonrpcd paths and drop board-2.bin (MR 5099)
Adjust sensor firmware paths for hexagonrpcd 0.3.1.
Also drop board-2.bin file which is now upstream.
2024-05-18 09:41:40 +02:00
Dylan Van Assche dbf2e96893 firmware-xiaomi-beryllium: add sensor firmware and drop board-2.bin (MR 5099) 2024-05-18 09:41:40 +02:00
Dylan Van Assche 745d585a54 device-shift-axolotl: start hexagonrpcd on boot (MR 4050)
Necessary to provide access to the filesystem for the SDSP
2023-12-13 00:50:46 -08:00
Dylan Van Assche 5684f6e5a8 device-shift-axolotl: add accelerometer mount matrix (MR 4050)
SHIFT6mq accelerometer is mounted differently than the screen,
adjust it with a mount matrix. This way, screen rotations follow
the actual screen rotation by the user.
2023-12-13 00:50:46 -08:00
Dylan Van Assche 0db3344af5 firmware-shift-sdm845: install sensor firmware files (MR 4050)
Sensor registry and DSP libraries are required for the SDSP
2023-12-13 00:50:46 -08:00
Dylan Van Assche 0a25713ceb temp/iio-sensor-proxy: fork from Alpine (MR 4050)
Fork temporarily iio-sensor-proxy from Alpine to add support
for Qualcomm Snapdragon Sensor Core (SSC) sensors through libssc.
2023-12-13 00:50:46 -08:00
Dylan Van Assche d1ae6f9d8c firmware-xiaomi-beryllium: use upstream board-2.bin (MR 4416)
Provide common board-2.bin file, extended from linux-firmware.
This file will be temporarily provided and dropped once all devices
are added to upstream linux-firmware's board-2.bin file.
2023-09-27 07:58:30 +02:00
Dylan Van Assche e2d8693034 firmware-shift-sdm845: use upstream board-2.bin (MR 4416)
Provide common board-2.bin file, extended from linux-firmware.
This file will be temporarily provided and dropped once all devices
are added to upstream linux-firmware's board-2.bin file.
2023-09-27 07:58:30 +02:00
Dylan Van Assche cac3c09be3 firmware-oneplus-sdm845: use upstream board-2.bin (MR 4416)
Provide common board-2.bin file, extended from linux-firmware.
This file will be temporarily provided and dropped once all devices
are added to upstream linux-firmware's board-2.bin file.
2023-09-27 07:58:29 +02:00
Dylan Van Assche 6002e51b70 postmarketos-base-ui: kill/restart unudhcpd unconditionally (MR 4354)
In some cases, the dispatcher script fails if unudhcpd is already running.
Forcefully killing unudhcpd resolves the issue.

Fixes #2267.

Tested-by: Sicelo A. Mhlongo <absicsz@gmail.com>
[ci:skip-build]: already built successfully in CI
2023-08-28 22:50:26 +02:00
Dylan Van Assche ab32a3642c device-odroid-hc2: move to testing (MR 4239)
ODROID HC2 boards are out-of-use by the maintainer.
Move to testing and remove maintainer.

[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2023-07-17 11:35:31 -07:00
Dylan Van Assche 4e0229f789 main/postmarketos-base-ui: randomize MAC address with NetworkManager (MR 4217)
Configure NetworkManager to randomize the MAC address during WLAN scans
and of WLAN and Ethernet ifaces per connection. This reduces the
possible tracking that might occur based on MAC addresses with WiFi
hotspots. This matches the behavior of Android: it uses a random MAC
address during a WLAN scan and a random one per connection.

[ci:skip-build]: already built successfully in CI
2023-07-14 09:55:46 +02:00
Dylan Van Assche 4b92e922ef main/postmarketos-base-ui: enable USB tethering (MR 3819)
USB tethering allows users to use their phone's WiFi or WWAN interface
as an access point for the device they connect the phone with over USB.
This way, they can use their data plan with a laptop or desktop when
regular Internet access is absent.

Configure NetworkManager to manage the usb0 iface from initfs so users
can configure it in GNOME Settings or KDE. Include a NetworkManager
dispatcher script as well to handle postmarketOS' setup with unudhcpd as
we want to provide an SSH login over USB when tethering is disabled. If
tethering is enabled, unudhpcd is stopped and its functionality is taken
over by NetworkManager through an instance of dnsmasq. NetworkManager
will also configure the necessary settings to allow IP forwarding and
firewall rules during tethering. Once disabled, NetworkManager cleans up
these settings and our dispatcher script starts unudhcpd again.

Due to upstream changes, NetworkManager requires networkmanager-dnsmasq
subpackage as dependency as dnsmasq needs DBus support for
NetworkManager. Without it, NetworkManager will silently fail spawning
dnsmasq instances.
[ci:skip-build]: already built successfully in CI
2023-05-21 19:42:14 +02:00
Dylan Van Assche 2327b6efdb main/postmarketos-bootsplash: allow skip shutdown splash (MR 3970)
deviceinfo allows to disable the framebuffer which automatically
skips the splash on boot. Honor this setting as well for the shutdown
splash. Also honor the PMOS_NOSPLASH cmdline parameter as well.

[ci:skip-build]: already built successfully in CI
2023-04-12 08:59:19 +02:00
Dylan Van Assche 6b935f02fa community/linux-postmarketos-qcom-sdm845: disable Tux logos (MR 3884)
Tux logos on boot interfere with splash screens, disable them
to have a nicer splash screen.

[ci:skip-build] already built successfully in CI
2023-03-13 16:06:58 -07:00
Dylan Van Assche 41e81fe4f0 main/postmarketos-bootsplash: launch splash on shutdown (MR 3884)
Instead of a blank screen with a tty login prompt, show a proper
shutdown screen during poweroff or reboot.
2023-03-13 16:06:55 -07:00
Dylan Van Assche a08bd157da cross/gcc-*: upgrade to 12.2.1_git20220924-r9
[ci:skip-build]: Already built successfully in CI
2023-02-06 12:33:05 +01:00
Dylan Van Assche 1cbc021701 unmaintained/shift-axolotl-downstream: new device (MR 3637)
Downstream for kernel development, not for actual use.

Kernel defconfig taken from stock with:
- CONFIG_ANDROID_PARANOID_NETWORK unset
- CONFIG_DEVTMPFS set
- CONFIG_EXT4_FS_POSIX_ACL set
- CONFIG_LOCALVERSION set to "-downstream"
- CONFIG_SYSVIPC set
- CONFIG_USB_CONFIGFS_RNDIS set
- CONFIG_USER_NS set

Change-Id: I22bfd30dfc664dfaa2123c856b3662ddb37e760f
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
[ci:skip-build]: already built successfully in CI
2022-11-27 18:56:37 +01:00
Dylan Van Assche d8c4343bea community/soc-qcom-sdm845: add ALSA UCM for SHIFT6mq (MR 3606)
Update the ALSA UCM package for the SDM845 so the ALSA UCM configs for
the SHIFT6mq are included. Speaker, microphones, headset work fine in
HiFi mode. In Voice Call mode, the microphone works, but the earpiece is
still silent.

[ci:skip-build]: already built successfully in CI
2022-11-01 16:53:49 +01:00
Dylan Van Assche 9ce52b3587 community/device-shift-axolotl: add q6voiced config (MR 3606)
q6voiced is a daemon to allow voice calls with the q6voice kernel
driver. Add its config so it can open the right audio device on the
SHIFT6mq during a call.
2022-11-01 16:53:49 +01:00
Dylan Van Assche 90c11c46ca main/device-pine64-pinephone: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:38 +02:00
Dylan Van Assche 08bed11db5 community/device-shift-axolotl: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:19 +02:00
Dylan Van Assche 2867af783a community/device-pine64-pinephonepro: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:03 +02:00
Dylan Van Assche 3ec4e103fa community/linux-pine64-pinephonepro: enable SPI flash (MR 3401)
SPI flash for Tow-Boot was enabled a long time ago, but the config was missing in pmaports.

Enables https://gitlab.com/pine64-org/linux/-/merge_requests/29
[ci:skip-build]: already built successfully in CI
2022-09-05 08:47:34 +02:00
Dylan Van Assche 8c291862b6 main/postmarketos-base: add replace for busybox-openrc (MR 3400)
Alpine refactored the Busybox APKBUILD which resulted into a few
renamings like busybox-initscripts to busybox-openrc.

See https://gitlab.alpinelinux.org/alpine/aports/-/commit/8b30ff10ab691ce8380423c551dd9c327a5a1f9a
2022-09-04 12:58:15 +02:00
Dylan Van Assche 7d72743b1f device-odroid-hc2: switch to linux-edge (MR 3378)
ODROID HC2 is based upon the Samsung Exynos 5422 and can run full
mainline. Switch to linux-edge from Alpine to enable this and drop
the close-to-mainline fork for this device. The close-to-mainline
fork was already linux-edge for a while but with a separate KConfig.
These KConfig changes are now integrated in linux-edge of Alpine.

U-boot script was updated to handle vmlinuz-edge as well since
Alpine's linux-edge does not generate a vmlinuz file, but vmlinuz-edge.
Probably to allow installing linux-lts as well.

initcall_blacklist=exynos_drm_init was added to the kernel cmdline
because upstream wants to set CONFIG_DRM_EXYNOS=y instead of module.
The DRM subsystem of Exynos5 in the kernel seems to be broken for this
device. There's also no use for it since this device does not have video
out. See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/38094
2022-09-02 12:55:49 +02:00
Dylan Van Assche 3942f8b1b6 soc-qcom-sdm845: set MAC address on boot (MR 3360)
SDM845 devices running mainline lack a valid MAC address, and
fallback to a random one on each boot. This makes DHCP IPs vary
on each boot and breaks Bluetooth BNEP mode since the kernel enforces
that a valid MAC address is used when Bluetooth BNEP mode is activated.

Add a udev rule to trigger a script when the WLAN or Bluetooth interface
appear to set the MAC address by reading it from the persist partition
for the WLAN MAC address and increment it for generating a Bluetooth MAC
address. This approach seems to be common on some downstream devices
such as the Oneplus 6.

[ci:skip-build]: already built successfully in CI
2022-08-19 09:36:15 +02:00
Dylan Van Assche 2bb6c15cbd main: bootmac: new pmaport (MR 3360)
Bootmac configures the MAC addresses of WLAN and Bluetooth interfaces at boot.
Bootmac can be invoked in various ways at boot, but currently only udev rules are tested.
Bootmac generates MAC addresses from the `serialno` provided by Android bootloaders
through /proc/cmdline or from /etc/machine-id. The Organizationally Unique Identifier (OUI)
is retrieved from a lookup database macdb by matching deviceinfo_manufacturer
from /etc/deviceinfo with the entries in the database.

See https://gitlab.com/postmarketOS/bootmac
2022-08-19 09:35:45 +02:00
Dylan Van Assche 133cbd3116 soc-qcom-sdm845: drop upower subpackage (MR 3361)
UPower config to shut down device on low battery
is usefull for all SDM845 devices.

[ci:skip-build]: built successfully in CI
2022-08-15 18:46:53 +02:00
Dylan Van Assche 47c6d4995a soc-qcom-sdm845: shutdown when battery is critical (MR 3287)
UPower defaults to HybridSleep mode when battery is critical.
Since we allow suspending the device in regular use, this approach
won't help in a critical battery case scenario. When the battery
level is critical, shutdown the device instead.

Moreover, adjust the default levels for battery low, critical, critical
action since they are too high for SDM845 devices.
2022-07-24 17:07:55 +02:00
Dylan Van Assche b23b3c4cd8 device-kobo-clara: add mesa-dri-gallium dep (MR 3306)
Mesa dependency was missing causing the screen to stay blank after boot
2022-07-23 11:17:01 -04:00
Dylan Van Assche a3f7bf3e1a main/postmarketos-base: use setup-devd (MR 3302)
Alpine does not use setup-udev anymore and provides the same
functionality through setup-devd. The setup-udev script was deleted [1]
but postmarketos-base still used it and caused pmbootstrap to fail when
building a device image. Use the rc-service setup directly from
setup-devd.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/commit/b56c4c2b9ddea6007c5e4349f97310a1538f29b6
2022-07-20 10:05:27 -04:00
Dylan Van Assche f9c7ffa9b6 temp/pulseaudio: fork for Bluetooth HFP/HSP support (MR 3080)
PulseAudio is used for handling all audio on postmarketOS.
This also involves Bluetooth audio such as A2DP, HSP and HFP audio.
In the case of HFP/HSP, the HF and AG can interact with each other
through AT commands defined in the Bluetooth HFP 1.8 spec.

This set of patches implements HFP support to allow Bluetooth devices
to accept/reject/hangup calls, dial numbers, DTMF tone generation,
query signal strength, roaming status, service status, AG battery level,
call status, etc.

More details in the upstream MR:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/693

Available in edge for testing this merge request with a broader user
base. Not intended for backporting to stable branches.

[ci:skip-build]: already built successfully in CI
2022-06-16 09:33:35 +02:00
Dylan Van Assche 8848527c22 device-odroid-hc2: enable Samsung JPEG encoder (MR 3191)
Add missing firmware from linux-firmware-other to enable Samsung JPEG hardware encoder
[ci:skip-build]: already built successfully in CI
2022-06-06 09:38:08 +02:00
Dylan Van Assche 7a0e90c2fb linux-odroid-hc2: upgrade to 5.18.1 (MR 3191) 2022-06-06 09:37:48 +02:00
Dylan Van Assche 7c8e019085 device-pine64-pinephonepro: depend on fwupd (MR 2760)
Installing fwupd allows automatic upgrades of the Quectel EG25-G modem
firmware.
2022-02-24 18:52:54 +01:00
Dylan Van Assche b71d958fe7 device-pine64-pinephone: depend on fwupd (MR 2760)
Installing fwupd allows automatic upgrades of the Quectel EG25-G modem
firmware.
2022-02-24 18:52:49 +01:00
Dylan Van Assche b24b021431 main/postmarketos-ui-kodi: switch to GBM (MR 2808)
Kodi UI is broken on Wayland with Cage, switch to GBM instead.
GBM is more suitable for running standalone and easier to maintain.
Also add udev rules to automount USB drives as you cannot access
them from Kodi otherwise.

[ci:skip-build] already built successfully in CI
2022-01-04 22:58:11 -08:00
Dylan Van Assche d5c96ecc4c linux-odroid-hc2: upgrade to 5.15.7 (MR 2774)
And add patches for CVE-2021-39685

[ci:skip-build] Already built on CI in MR
2021-12-19 23:35:42 +03:00
Dylan Van Assche 415ff553f0 linux-odroid-hc2: upgrade to 5.15.5 (MR 2724)
Tested on my ODROID HC2 running edge

[ci:skip-build]: already built successfully in CI
2021-12-05 21:12:03 +01:00
Dylan Van Assche 8ae1039a95 temp/modemmanager: drop, upstreamed to Alpine (MR 2490)
All patches are merged upstream and released in the latest release.
Drop our fork and use Alpine's version again.
2021-09-12 23:41:29 +02:00
Dylan Van Assche 093488b82f device-odroid-hc2: drop NetworkManager (MR 2455)
Console UI can be used now instead of None UI.
Console UI is necessary to have access to the device over SSH
as no display can be used.

[ci:skip-build] already built successfully in CI
2021-09-10 19:32:46 -07:00
Dylan Van Assche c3b1eeda66 odroid-hc2: move to community (MR 2455)
This devices runs a close-to mainline kernel as linux-odroid-hc2.
I have 2 of these devices which power my selfhosted infrastructure
for some time now and they work really well! Running my selfhosted
infrastructure on Alpine stable releases would be great.
2021-09-10 19:32:45 -07:00
Dylan Van Assche 6cb262ef27 temp/eg25-manager: drop, upstreamed to Alpine (MR 2485)
The eg25-manager now has a proper release with our patches
2021-09-08 11:04:42 +02:00
Dylan Van Assche 23fd7a15bc linux-odroid-hc2: upgrade to 5.14.0 (MR 2488)
[ci:skip-build] Already built on CI in MR
2021-09-06 05:45:57 +03:00
Dylan Van Assche 23ee2f2dd3 temp/upower: drop torch patches (MR 2429)
With Phosh 0.13.0, Logind is used without patches for the torch
as UPower doesn't want to handle this. Therefore, we can drop
the torch patches to UPower.

[ci:skip-build] already built successfully in CI
2021-08-17 22:39:17 -07:00
Dylan Van Assche e730b0b7ac linux-odroid-hc2: upgrade to 5.13.0 (MR 2353)
Upgrade to 5.13.0 mainline and disable staging drivers.
Staging drivers are not used by this device and cause
build failures [1].

[1] https://github.com/tobetter/linux/issues/29
[ci:skip-build]: already built successfully in CI
2021-07-18 14:25:54 +02:00
Dylan Van Assche a40026d05e postmarketos-base-ui: install obexd and obex-capabilities (MR 2245)
Install obex-capabilities and a modified DBus Service
for BlueZ's obexd when BlueZ OBEX support is installed.
UIs depending on BlueZ are now also depending on
bluez-obexd for OBEX support through various MRs at Alpine.
2021-07-18 11:38:10 +03:00
Dylan Van Assche e78ebb2574 device-pine64-pinephone: use quick suspend/resume hooks (MR 2187)
Improved suspend/resume handling for the EG25 modem

[ci:skip-build] already built successfully in CI
2021-07-11 14:53:13 -07:00
Dylan Van Assche 34d7794feb temp/modemmanager: add quick suspend/resume patches (MR 2187)
See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/459
2021-07-11 14:53:07 -07:00
Dylan Van Assche 4b225a5f32 device-pine64-pinephone: drop eg25-manager configs (MR 2185)
Replaced by GNSS assistance support

[ci:skip-build] already built successfully in CI
2021-07-02 14:02:08 -07:00
Dylan Van Assche 0ee9109215 temp/eg25-manager: add GNSS assistance support (MR 2185) 2021-07-02 14:02:08 -07:00
Dylan Van Assche 233b133e72 temp/eg25-manager: sync configs with modem-power (MR 2185) 2021-07-02 14:02:08 -07:00
Dylan Van Assche b2e1af04e6 temp/eg25-manager: clean up modem_iface when MM disappears (MR 2185) 2021-07-02 14:02:08 -07:00
Dylan Van Assche bdf5c5116d odroid-hc2: new device (MR 2249)
[ci:skip-build]: already built successfully in CI
2021-06-27 17:50:02 +02:00
Dylan Van Assche 407ea85f72 linux-postmarketos-allwinner: drop jack detection patch (MR 2190)
This patch is obsolete now and even breaks the detection
of headphones. Headsets are properly detected at all times.

Dropping this, allows ALSA to see the 'Headphone Jack' event
when headphones are plugged in and removed. This way, ALSA UCM
can act on these jack events as well.

[ci:skip-build] Already built on CI in a MR
2021-06-13 21:45:58 +02:00
Dylan Van Assche 31b99cc224 device-pine64-pinephone: add Dylan Van Assche as co-maintainer (MR 2190) 2021-06-13 21:45:57 +02:00
Dylan Van Assche ccf639f856 device-pine64-pinephone: detect headphones jack events (MR 2190)
Headset jack events emit 2 events: 'Headset Microphone Jack'
and 'Headphone Jack'. These were properly detected before,
but not headphone jack events only: 'Headphone Jack'.
This change allows to detect headphone jack events as well
and act on these events by setting the headphones as
default audio output while keeping the internal
microphone as audio input. For headsets,
the microphone is switched to the headset microphone as well.
2021-06-13 21:45:52 +02:00
Dylan Van Assche 5e562fdbc6 main/postmarketos-base: add pulseaudio config
Automatically switch to a connected USB or
Bluetooth audio device and duck the main volume
when a notification is received.
2021-06-02 18:58:04 +02:00
Dylan Van Assche 9125d49e8e device-pine64-pinetab: improve PulseAudio sample rate 2021-06-02 18:57:54 +02:00
Dylan Van Assche 1ae70f921b device-pine64-pinephone: improve PulseAudio sample rate 2021-06-02 18:57:48 +02:00
Dylan Van Assche ead17254db device-pine64-pinetab: shutdown on critical battery (MR 2193)
The PMIC AXP803 sends an interrupt to the A64 CPU when the
battery is critical low. This wakes up the tablet at ~10%
battery level, but UPower wasn't configured to add upon
this interrupt as the action level was way lower.
Therefore, the PMIC performed a hard shutdown when the
battery level dropped further, which may cause data loss.
2021-05-30 15:53:12 +02:00
Dylan Van Assche cfb5d41bdf device-pine64-pinephone: shutdown on critical battery (MR 2193)
The PMIC AXP803 sends an interrupt to the A64 CPU when the
battery is critical low. This wakes up the phone at ~10%
battery level, but UPower wasn't configured to add upon
this interrupt as the action level was way lower.
Therefore, the PMIC performed a hard shutdown when the
battery level dropped further, which may cause data loss.
2021-05-30 15:53:01 +02:00
Dylan Van Assche 2ccc3bc796 linux-postmarketos-allwinner: enable CONFIG_RMNET (MR 2149)
Next release of ModemManager needs Qualcomm RMNET support
for QMAP mobile data support.

armv7 config doesn't have ethernet enabled at all,
so this is only enabled for the aarch64 config.
2021-05-27 14:13:16 +02:00
Dylan Van Assche 094f15a104 device-pine64-pinetab: increase maximum volume headphone jack (MR 2170)
Headphones are not so quiet anymore from now on!
2021-05-20 13:08:26 +02:00
Dylan Van Assche a38ca6c0e5 device-pine64-pinephone: increase maximum volume headphone jack (MR 2170)
Headphones are not so quiet anymore from now on!
2021-05-20 13:08:26 +02:00
Dylan Van Assche 41cd9f226c temp/gnome-settings-daemon: drop gnome-settings-daemon fork, upstreamed (MR 2095)
GNOME accepted the patch and was released within version 40. Dropping this fork to use Alpine upstream
2021-04-05 21:49:41 +03:00
Dylan Van Assche a57d0c630e device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche 2055cfad30 device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Dylan Van Assche 520894dc1b temp/modemmanager: dropped, upstreamed to Alpine 2021-03-22 21:18:10 +01:00
Dylan Van Assche 8330d2a552 main/postmarketos-base: add dependency on wireless-regdb (MR 1974)
CRDA in the kernel requires a regulatory database to be available
to configure the WiFi card correctly following the regulations in
each possible environment.
2021-02-23 14:54:49 +01:00
Dylan Van Assche 6a8a62c327 temp/gnome-settings-daemon: remove idle notification before suspend (MR 1937)
GNOME settings daemon notifies the user that the device will
suspend soon through a notification.
However, this triggers the notification LED which stays on during
suspend, causing unnecessary power consumption.
2021-02-11 09:17:24 +01:00
Dylan Van AsscheandOliver Smith aa77b10c44 main/postmarketos-ui-phosh: add user to feedbackd (MR 1750)
Use _pmb_groups and post-upgrade mechanisms to add the user to the
feedbackd group.

Depends: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/17489
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2021-02-03 00:51:44 +01:00
Dylan Van Assche 0a202c17c2 main/postmarketos-ui-kodi: switch to tinydm (MR 1908) 2021-01-29 10:14:33 +03:00
Dylan Van Assche a6bc3c30eb main/postmarketos-ui-kodi: align supported arches with Alpine (MR 1908) 2021-01-28 20:47:56 +01:00
Dylan Van Assche 6e33ebe6f3 main/linux-postmarketos-allwinner: set leds-gpio max_brightness to 1 (MR 1838)
LEDs controlled through the leds-gpio driver are not PWM capable.
Setting the max_brightness property to 1 instead of 255.
2020-12-29 16:15:00 +01:00
Dylan Van Assche 42e857ab79 temp/modemmanager: Fix missing text messages in deep sleep and reduce probing time
[ci:skip-build]: already built successfully in CI
2020-11-29 11:50:18 -08:00
Dylan Van Assche 9d0c1b48d8 Set voice call playback rate to 8000 Hz, closes #864 (MR 1711) 2020-11-14 00:46:37 -08:00