Commit graph

4134 commits

Author SHA1 Message Date
Arnav Singh
1e3d484a64
device-pine64-pinephone: update UCM config for new headphone jack name (MR 5022)
The previous name stopped being valid with the kernel 6.8 upgrade. This caused
ALSA to think a headset was connected, which in turn caused callaudiod to
select the Headphones port in the PA sink instead of Earpiece / Speaker.

I missed this in my own kernel upgrade testing because I use
a custom callaudiod that doesn't care about the headphones port.
I now confirmed the issue with regular callaudiod and that this change
fixes it.

Co-authored-by: Fiona Klute <fiona.klute@gmx.de>
2024-04-16 10:53:07 -07:00
Caleb Connolly
19ac4f599b
linux-postmarketos-qcom-sdm845: upgrade to 6.9-rc4 (MR 5036)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-04-16 20:19:22 +03:00
Clayton Craft
f5099ad248
device-lenovo-21bx: various improvements (MR 5027)
- usbguard config: these are builtin USB devices that should be allowed
  by default

- removed nonfree-fw package, I decided that everything from that should
  be required since some fairly major features are broken without these
  firmwares and relevant userspace apps

- re-enabled EFI runtime services, so efifb is used (and probably other
  benefits?)
        - Laptops need the "Linux Boot" option enabled
        - "With recent UEFI firmware efi=noruntime can be left out when
          the Linux Boot option is enabled."
        - https://github.com/jhovold/linux/wiki/X13s#kernel-command-line
[ci:skip-build]: already built successfully in CI
2024-04-16 14:47:54 +02:00
Saalim Quadri
583ab0a2fe
asus-x00p: new device (Asus Max M1) (MR 5028)
Signed-off-by: Saalim Quadri <danascape@gmail.com>
2024-04-13 09:51:36 +09:00
Doni Halim
2ae9112ce1
zte-b860hv5: new device (MR 4886)
[ci:skip-build]: already built successfully in CI
2024-04-12 13:25:25 +02:00
Doni Halim
b3a07b8cec
u-boot-amlogic-s905x2-tv: new aport (MR 4886) 2024-04-12 13:25:22 +02:00
Doni Halim
5b99c13534
linux-postmarketos-amlogic: add support for zte-b860hv5 (MR 4886) 2024-04-12 13:25:13 +02:00
Stefan Hansson
90ac4dbad0
Revert "linux-postmarketos-amlogic: add support for zte-b860hv5 (MR 4886)"
Authorship of this commit was incorrectly reset when merging. As such,
it is being reverted to fix this problem.

This reverts commit fa68f4a96b.
2024-04-12 13:21:29 +02:00
Stefan Hansson
e17b5bdef6
Revert "u-boot-amlogic-s905x2-tv: new aport (MR 4886)"
Authorship of this commit was incorrectly reset when merging. As such,
it is being reverted to fix this problem.

This reverts commit dc6dc89779.
2024-04-12 13:20:01 +02:00
Stefan Hansson
13b35693f0
Revert "zte-b860hv5: new device (MR 4886)"
Authorship of this commit was incorrectly reset when merging. As such,
it is being reverted to fix this problem.

This reverts commit 6ac494088f.
2024-04-12 13:19:14 +02:00
Raymond Hackley
383b26a8c6
lg-hammerhead: add subpackage unl0kr (MR 4989)
To get unl0kr working, add subpackage unl0kr for the quirk.
2024-04-12 12:28:52 +02:00
WeirdTreeThing
3365d5764c
device-google-x64cros: depend on alsa-ucm-conf-cros (MR 5020)
[ci:skip-build]: already built successfully in CI
2024-04-11 16:14:17 -07:00
WeirdTreeThing
b383c20a51
alsa-ucm-conf-google-kukui: drop in favor of alsa-ucm-conf-cros (MR 5020) 2024-04-11 16:14:17 -07:00
WeirdTreeThing
e5efdcf862
alsa-ucm-conf-cros: new aport (MR 5020) 2024-04-11 16:14:17 -07:00
Sergey Lisov
5580908a14
samsung-a6lte: configure headroom in wireplumber (MR 5021)
It seems that wireplumber is now installed by default, instead of pipewire-media-session. Thus we need to set api.alsa.headroom in wireplumber configuration too to get working audio.

This basically copies /usr/share/wireplumber/wireplumber.conf.d/alsa-vm.conf and relaxes the filters.
[ci:skip-build]: already built successfully in CI
2024-04-10 17:40:57 +02:00
WeirdTreeThing
082f26f72d
linux-postmarketos-mediatek-mt8183: upgrade to 6.6.25 (MR 5019)
[ci:skip-build]: already built successfully in CI
2024-04-10 16:40:19 +02:00
Sicelo A. Mhlongo
730c56ed35
community/device-nokia-n900: x11: integrate screenshot utility (MR 5014)
Take screenshots in any x11 UI by depressing the camera key while keeping the
proximity sensor covered

This is a variation of [1] and [2] from postmarketOS/pmaports!4133.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=35007eaefd0e471634c74aad9294234ceed260ae
[2] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=0ef9ffe3928313b7afc5ce68ad0ec4487f1f2f11

Co-Authored-By: DvaMishkiLapa <thesame.personal@gmail.com>
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
2024-04-10 22:40:37 +09:00
Ferass El Hafidi
cb693d6164
linux-postmarketos-amlogic: upgrade to 6.8.4 (MR 5010)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-04-10 11:29:24 +02:00
Pablo Correa Gómez
6ac494088f
zte-b860hv5: new device (MR 4886)
[ci:skip-build]: already built successfully in CI
2024-04-10 10:55:16 +02:00
Pablo Correa Gómez
dc6dc89779
u-boot-amlogic-s905x2-tv: new aport (MR 4886) 2024-04-10 10:54:45 +02:00
Pablo Correa Gómez
fa68f4a96b
linux-postmarketos-amlogic: add support for zte-b860hv5 (MR 4886) 2024-04-10 10:52:17 +02:00
Ferass El Hafidi
ce57bf3416
{xiaomi-once,beelink-gt1}: drop maintainership as requested (MR 5011)
exkc has stated that he cannot maintain the ports anymore,
see #postmarketos-devel discussion:

	<@f_[xmpp]> af2e02839bcfb0aae789a9ea66f63a: hiya, are you available?
	<@f_[xmpp]> It's about 2 of your Amlogic device ports. You said
	before that your beelink-gt1 and xiaomi-once were broken
	<@f_[xmpp]> are you still able to maintain these ports?
	<@f_[xmpp]> If not then they should probably be dropped.
	<af2e02839bcfb0aae789a9ea66f63a> drop them
	<@f_[xmpp]> af2e02839bcfb0aae789a9ea66f63a: sure

[ci:skip-vercheck]

Suggested-by: exkc <exxxxkc@getgoogleoff.me>
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-04-10 08:30:59 +02:00
Sicelo A. Mhlongo
e3b33d613b
wl1251-cal: build only for armv7 (n900) (MR 5017)
The tool is Nokia N900-specific, so no need to build for all archs

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-09 17:49:36 +02:00
Kacper
57863359a9
lenovo-karatep: new device (MR 4875)
For now there is just PMOS Splash Screen and ssh connection working
2024-04-09 16:11:42 +02:00
Alexandre Messier
c72f4346d2
device-htc-m8: add support for near-mainline kernel (MR 5018)
Add option to use near-mainline kernel package
linux-postmarketos-qcom-msm8974.

[ci:skip-build]: already built successfully in CI
2024-04-09 09:45:08 +02:00
Anton Bambura
60415b58db
ayn-odin: depend on soc-qcom-sdm845-ucm (MR 5013)
[ci:skip-build]: already built successfully in CI
2024-04-08 12:39:07 +02:00
Anton Bambura
ee5fec6b29
soc-qcom-sdm845: upgrade ucm configs to the latest commit (MR 5013) 2024-04-08 12:39:07 +02:00
Luca Weiss
bbd3bf58c2
linux-postmarketos-qcom-msm8974: upgrade to 6.8.4 (MR 5007)
Add support for Sony Xperia Z3 Compact and HTC One (M8).

Also take the opportunity to align the LOCALVERSION/KBUILD_BUILD_VERSION
fields with e.g. SC7280 kernel.
[ci:skip-build]: already built successfully in CI
2024-04-08 12:36:37 +02:00
Oliver Smith
816ed854d0
qemu-amd64: tweak kernel descriptions (MR 5016)
I just noticed that the virt kernel doesn't have mouse and network
working anymore in QEMU and Alpine edge. It did work with v23.12.
Everything seems to work with the LTS kernel though, and it doesn't
change often, so recommend that for now.

[ci:skip-build]: already built successfully in CI
2024-04-08 12:34:28 +02:00
Sicelo A. Mhlongo
a61c3a3e48
device-nokia-n900: i3wm: use volume keys for audio and display brightness (MR 5012)
Volume keys adjust alsa volume, and Shift + volume keys adjusts display
brightness.

This is a variation of [1] and [2] from from postmarketOS/pmaports!4133.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=a060096b4abe8b614e9ae11aff29f133aa4486b9
[2] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=968293603a3d55d1380fdff34d4c89d8bcd00bda

Co-Authored-By: DvaMishkiLapa <thesame.personal@gmail.com>
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
[ci:skip-build]: already built successfully in CI
2024-04-07 13:33:00 +02:00
Arnav Singh
646e0b50df
linux-postmarketos-allwinner: upgrade to 6.8.4_git20240405 (MR 5008)
- 0003-dts-pinetab-add-missing-bma223-ohci1.patch

  The original patch added a node for BMA223 and a node for ohci1.
  The former is already present in upstream, so the new patch
  0003-dts-pinetab-add-missing-ohci1.patch only adds the latter.

- 0004-arm64-dts-allwinner-Add-bluetooth-node-to-the-PineTa.patch

  The patch is now present in upstream so it has been removed.
  However it's worth noting that upstream's node has the wake GPIOs
  reversed from the original patch. The original patch added:

      device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
      host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */

  ... while upstream has:

      device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
      host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */

  This has not been tested on a PineTab.

- 0005-dts-pinetab-make-audio-routing-consistent-with-pinep.patch

  The first hunk of the patch is in upstream and has been removed.

- 0013-Revert-usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch

  This patch reverted upstream commit that was present until v6.7
  ( f9e3e7ea4e )
  but is not present in v6.8, so the patch has been removed.

- 0014-usb-serial-option-add-reset-resume-callback-for-WWAN.patch

  The patch is now present in upstream so it has been removed.
2024-04-06 12:54:29 -07:00
Richard Acayan
a4901cc122
testing/linux-postmarketos-qcom-sdm670: upgrade to 6.8.2 (MR 5003) 2024-04-06 22:32:14 +09:00
Lost-Entrepreneur439
9d9cc83ea2
lg-sf340n: new device (MR 5004)
(MR 5004)
2024-04-06 18:09:01 +09:00
Barnabás Czémán
95a9e93450
device/msm8953*: Generate extlinux.conf (MR 4999)
Genearete extlinux.conf for msm8953 make ability switch to new lk2nd seamlessly.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-04-05 18:25:19 +02:00
Gianluca Boiano
b4d3cf3d71
linux-postmarketos-qcom-msm8953: upgrade to 6.8.2-r0 (MR 4987)
[ci:skip-build]: already built successfully in CI
2024-04-05 17:58:40 +02:00
Luca Weiss
314a161a86
soc-qcom-sdm845: align pipewire script formatting (MR 5006)
Replace some stray tabs in the file with spaces, as is used by the other
half of the file.

[ci:skip-build]: already built successfully in CI
2024-04-05 17:54:16 +02:00
adamthiede
5ac004cf65
linux-postmarketos-mediatek-mt8173: upgrade to 6.8.4 (MR 5005)
[ci:skip-build]: already built successfully in CI
2024-04-05 17:52:10 +02:00
Sicelo A. Mhlongo
c5bb75e4d0
device-nokia-n900: acpi_handler: fix indentation (MR 4988)
Fixes: 7270f472e3 ("treewide: fix tabs, final newline, trailing whitespace"

[ci:skip-build]: already built successfully in CI
2024-04-03 07:57:52 +02:00
Sicelo A. Mhlongo
e67b6e5a06
device-nokia-n900: turn display off after two minutes (MR 4988)
we are not using a screensaver or similar, so let's turn display off when idle,
to save some power
2024-04-03 07:57:52 +02:00
Sicelo A. Mhlongo
0a0d84325e
device-nokia-n900: enable screen and touchscreen on keyboard slide up (MR 4988)
Partially implements the request from
https://gitlab.com/postmarketOS/pmaports/-/issues/621
2024-04-03 07:57:52 +02:00
Sicelo A. Mhlongo
4ac671b055
device-nokia-n900: switch to more robust locking script (MR 4988)
This is an adaptation of craftguy's improved script [1]

[1] https://gitlab.com/postmarketOS/pmaports/-/tree/n900-screen-locker

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-04-03 07:57:51 +02:00
Sicelo A. Mhlongo
d5ee14fc28
device-nokia-n900: improve handling of slidey key (MR 4988)
The handling for the lock key is currently unreliable (racy?). In many cases,
you have to toggle it twice to turn display off. Fix this by handling it via
acpid. Since the scripts currently depend on X11 tools, move them to the x11
subpackage. They can be moved back to the main device package in future when
Wayland support has been implemented.

Block i3 from handling the lock key to avoid additional races.
2024-04-03 07:57:51 +02:00
Sicelo A. Mhlongo
27523989d9
device-nokia-n900: modernize acpid scripts (MR 4988)
1. Reduce keypad brightness. Full brightness is unnecessary
2. Correct the camera cover states. It is 1 when closed, i.e. covered [1]
3. Drop proximity sensor handling, in favor of supporting it in
   iio-sensor-proxy [2]
4. Drop power button handling. This is handled by the WM [3]
5. Drop handling for volume keys. These will be handled via WM later (when PA
   is integrated)
6. Drop duplicate KP_SLIDE_* entries in handler script

[1] https://elixir.bootlin.com/linux/v6.9-rc1/source/include/uapi/linux/input-event-codes.h#L917
[2] https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/merge_requests/375
[3] 9bb205e18c/device/community/device-nokia-n900/i3wm/i3wm.conf (L67)
2024-04-03 07:57:48 +02:00
Anton Bambura
beb5bebd3f
microsoft-surface-rt: move to community (MR 4943)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-04-03 07:25:51 +02:00
Sicelo A. Mhlongo
fd49591adf
device-nokia-n900: provide feedbackd haptics support (MR 4997)
[ci:skip-build]: already built successfully in CI
2024-04-02 21:26:25 +02:00
Sicelo A. Mhlongo
bd8dfd304f
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
2024-04-02 19:48:14 +02:00
Anton Bambura
ac5c79aa8c
google-x64cros: install rtw88 firmware (MR 4993)
This is used on some devices

[ci:skip-vercheck]: changing only _pmb_recommends
2024-04-02 18:50:42 +03:00
Anton Bambura
5e34e16021
ayn-odin: new device (MR 4986) 2024-04-02 18:36:13 +03:00
Anton Bambura
d425b3630d
firmware-ayn-odin: new aport (MR 4986) 2024-04-02 18:36:13 +03:00
Anton Bambura
d3b6adacd6
linux-ayn-odin: new aport (MR 4986) 2024-04-02 18:36:13 +03:00