Commit Graph
80 Commits
Author SHA1 Message Date
Clayton Craft 6db0e21df7 device-purism-librem5: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:34:23 -08:00
clayton craft 6410ab3fe5 linux-purism-librem5: upgrade to 5.9.15 (MR 1836)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/868f3eb8525afae3be7b74320ee85bcaa722a758

Suspend is also disabled in the kconfig, since it is not
supported/working on this device

[ci:skip-build]: already built successfully in CI
2020-12-28 15:34:10 +01:00
Luca Weiss de9b5d3c21 pine64-pinetab: move to community (MR 1753)
[ci:skip-build]: already built successfully in CI
2020-12-06 18:06:31 -08:00
clayton craft e067004579 linux-purism-librem5: upgrade to 5.9.12+purism5.1 (MR 1791)
[ci:skip-build]: already built successfully
2020-12-06 18:01:13 -08:00
Bart Ribbers c981d35ce6 pine64-pinephone: move from community to main (MR 1752)
First actual phone in main 🎉
Fits the requirements for main devices as listed on
https://wiki.postmarketos.org/wiki/Device_categorization.
2020-12-02 02:30:13 +01:00
clayton craft 15a07ac74c device-pine64-pinephone: add craftyguy as co-maintainer (MR 1765)
I have been working a lot with this device lately, and own one, so it
seems appropriate right‽

[ci:skip-build]: already built successfully in CI
2020-11-27 22:20:03 -08:00
clayton craft 4915578771 device-pine64-pinephone: fix audio after pulseaudio upgrade (MR 1765)
After pulseaudio 14.0 was released, audio on the pinephone was broken.
This applies the relevant config from here to fix it:
https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/alsa-ucm-pinephone/-/commit/c23f92aa4621f04f6ad028201371383d834b2a09

[ci:skip-build]: already built successfully in CI
2020-11-27 22:19:52 -08:00
Minecrell b3248bfd32 device/community/soc-qcom-msm8916: fix regressions after PA update (MR 1760)
New upstream ALSA/PulseAudio release, new UCM regressions - of course!
Introduce some new hacks to make the ALSA UCM configurations work again.

This fixes weird "Combination of Speaker,Primary Microphone" outputs
appearing in the PulseAudio mixer.

And while we're at it, some minor improvements/additions:

  - Default to Speaker/PrimaryMic instead of Headphones/Headset
    I believe this is just a workaround until headphones detection
    works properly.

  - Add UCM configurations for oppo-a51f and lenovo-a6010
2020-11-26 11:45:14 +01:00
Luca Weiss 959bbaaffe treewide: remove unused files (MR 1731)
These files aren't references by any APKBUILD, delete them.
2020-11-18 11:24:01 +01: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
Bart Ribbers bb41f53879 pine64-pinephone: clean setup-modem.sh script (MR 1701)
Since we now use the in-kernel modem driver of Megi's 5.9 kernel, the
majority of the setup script has become unnecessary. Remove all the now
unnecessary commands and keep it just for enabling VoLTE auto profile
selecting

https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n531
https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n580
https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n610
2020-11-13 01:08:58 -08:00
clayton craft 5a7962685e purism-librem5: set deviceinfo_mesa_driver (MR 1625) 2020-11-12 23:42:39 -08:00
Luca Weiss 870db09b50 pine64-pinephone: set deviceinfo_mesa_driver to get fast osk-sdl (MR 1625) 2020-11-12 23:41:29 -08:00
clayton craft fb42b3b601 device-purism-librem5: upgrade to 1.8 (MR 1689)
- Upgrade librem5-base config
        - add goodix touch input and edx touchscreen drivers to
          deviceinfo/initramfs
2020-11-10 02:58:12 +00:00
clayton craft b721b442e6 linux-purism-librem5: upgrade to 5.9.5 (MR 1689) 2020-11-10 02:58:12 +00:00
Clayton Craft 38607b7f12 device-purism-librem5: select dtb based on device rev (MR 1673)
[ci:skip-build]: already built successfully in CI
2020-11-02 09:07:26 +01:00
Clayton Craft 48d1727d15 linux-purism-librem5: upgrade to 5.9.1 (MR 1673)
This also includes a patch from Purism that is the best workaround so
far for the hang that plagues Dogwood phones.
2020-11-01 19:15:42 -08:00
Minecrell 421095284a device/community/soc-qcom-msm8916: fork alsa-ucm-conf entirely (MR 1655)
Upstream keeps making breaking changes in patch releases.
Let's fork alsa-ucm-conf entirely for now instead of just patching
in some files to ensure that these files don't break every few months.

This fixes audio on MSM8916 devices when not using the modem.
2020-10-30 17:10:18 +01:00
clayton craft 737f33e561 pine64-pinephone: add workaround for purging the -elogind subpackage (MR 1660)
This subpackage was removed when a proper fix for suspend was merged,
however apk doesn't know to purge this subpackage, so the old elogind
hook workaround stuck around. This workaround could probably be removed
once we're sure all folks on edge have installed this upgraded package
with the 'provides'...
2020-10-28 22:34:56 -07:00
Martijn Braam 07a7853b50 device-pine64-pinephone: add autofocus firmware (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:32 -07:00
Pedro Moreno e4366d5f8a Pinephone: Fix excessive mic noise on call (MR 1652)
Fix ucm2 settings to lower mic boost and increase mic volume.

Fixes: #720
2020-10-28 11:45:02 -07:00
Bhushan Shah 378904d076 device-pine64-pinephone: remove the elogind hook (MR 1651)
musb_hrdc bug is fixed properly with kernel patch, so we do not need to
do this bind/unbind dance anymore.

This partially reverts commit f7d743a213.
2020-10-27 13:58:34 +05:30
clayton craft f7d743a213 device-pine64-pinephone: fix suspend with elogind (MR 1636)
- re-enable console suspend, which seems to be broken with elogind when
  suspending (kernel gets hung up indefinitely in vt_waitactive)

- add a suspend hook to work around the musb driver not allowing the
  device to suspend

Based on my testing, this option seems to prevent suspending via
elogind (using `loginctl suspend`). When console suspend is disabled,
the kernel gets hung up in the call to vt_waitactive, and elogind times
out trying to suspend.
2020-10-25 11:17:34 -07:00
Oliver SmithandMartijn Braam 517f905b84 pine64-pinephone: update devicepkg for 5.9 kernel (MR 1614)
* update modem init for modem_power
* adjust alsa configs
* remove obsolete megapixels config file

Related: https://xnux.eu/log/#020
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
2020-10-20 18:02:24 +02:00
clayton craft bdf120c6a7 device-purism-librem5: upgrade to 1.6 (MR 1628)
This new version:
        - Upgrades device config from upstream to v25
        - Fixes a problem using modesetting driver on Xorg (lightdm
          was broken because it now uses Xorg)
        - Override GDK to use GLES (change from upstream Purism)
2020-10-08 22:08:35 -07:00
clayton craft d2cf30ae66 linux-purism-librem5: upgrade to 5.9.0-rc8 (MR 1628) 2020-10-08 22:08:35 -07:00
Martijn Braam 879bd336b7 device/pine64-pinephone: remove megapixels config (MR 1587)
(cherry picked from commit 2ac5e8f90a9f491520b880a98d16a7a4fe0a5c43)
2020-10-07 12:55:20 +02:00
Minecrell e9925b4a72 device/community/soc-qcom-msm8916: update ALSA UCM configurations (MR 1603)
- Add UCM configuration for Xiaomi Redmi 2 (wt88047)
- Add UCM configuration for Xiaomi Redmi Note 4 (xiaomi-mido)
- Some fixes to UCM configuration for BQ Aquaris X5 (bq-paella)
2020-10-05 02:16:19 +03:00
Minecrell 2c491df415 bq-paella: enable splash screen (MR 1602)
Actually the display has been working in initramfs since MR 1261
(device-bq-paella: enable display and touchscreen on boot).
We should make it explicit in deviceinfo.
2020-09-28 14:49:14 +02:00
Bart Ribbers f88001e233 firmware-pine64-rtl8723bt: upgrade to 0_git20200705 (MR 1588) 2020-09-18 22:32:07 +03:00
Oliver Smith 1acf66c8bf pine64-pinephone: add megapixels config (MR 1537)
Copy of https://git.sr.ht/~martijnbraam/megapixels/tree/master/pinephone.ini
Let's do it like with other device specific configs, and put them into
the device package. It's a short file and it looks like it won't change
often.
2020-09-14 22:29:49 +02:00
Ralf Rachinger 583d433d85 device/device-pine64-pinephone: swaps L/R at Headset (MR 1556)
This Patch is needed, because in the kernel the audio from the cpu to the headset gets turned around. We need to turn this around again.
Please revert this if there is a fixed kernel.
2020-09-13 15:00:20 -07:00
Bart Ribbers ff0929c925 asus-me176: modernize APKBUILD (MR 1538) 2020-09-08 10:09:07 +02:00
Luca Weiss 3720293639 pine64-pinephone: add anx7688 module to initramfs for usb keyboards (MR 1555)
The anx7688 module is needed for any USB devices to probe which we want
in the initramfs for unlocking osk-sdl using a USB-connected keyboard.
2020-09-07 21:19:59 +02:00
Linus Walleij eb8a6b0cd0 device-nokia-n900: Add Finnish/Swedish keymap (MR 1519)
This adds a Finnish/Swedish key map for the Nokia n900.
The same keymap is used for Finnish and Swedish.

This makes the keyboard work in the console. To fix the
XkbLayout other changes are needed to pmbootstrap.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-09-07 18:24:07 +02:00
Danct12 da565bb838 community/firmware-analogix: add new firmware (MR 1421)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-19 15:57:25 +02:00
Danct12 11c6587dca device/*: switch to Alpine Mesa (MR 1496)
[ci:ignore-count]

Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-18 14:53:31 +07:00
Clayton Craft aaddd13d23 linux-purism-librem5: upgrade to 5.8.0+librem5.1 (MR 1489)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/457325eb59d8feefb49661c92fc517b2b5abc9d6
2020-08-11 17:06:46 +02:00
Oliver Smith dbf4d13907 treewide: avoid "More than one maintainer" error (MR 1480)
Alpine's abuild is soon going to complain if an APKBUILD has more than
one "Maintainer:" listed. Work around it by renaming the additional
maintainers to "Co-Maintainer:". While at it, move the devicepkg reference
link to the top in device-xiaomi-santoni for consistency.

In postmarketOS, we require at least two maintainers for devices in
main, therefore it does not make sense to drop additional maintainers
from the file.

In Alpine, this change was made because pkgs.alpinelinux.org apparently
can't handle more than one maintainer. I looked into it, and it would
require a database change to add it there, so it does not seem worth the
effort. I also thought about extending abuild to add an environment
variable to skip the check, but then the package would not build with
plain abuild without using the env var.

Related: https://gitlab.alpinelinux.org/alpine/abuild/-/commit/dd4cd9d606f5e28f382414e258af562e346c6ab5
[ci:skip-build] [ci:skip-vercheck]
2020-08-08 22:07:20 +02:00
Bart Ribbers 15acd86d60 pine64-pinephone: enable VoLTE (MR 1434)
Also fix configuring device sleep wakeup when modem receives a call
2020-08-04 12:19:36 +02:00
Clayton Craft 5b603d94c7 linux-purism-librem5: upgrade to 5.7.12+librem5.1 (MR 1474)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/7a614767bdae80662cf1a52092f2ecb5ddde932e
2020-08-03 12:26:46 +02:00
Danct12 76cade06e1 device-pine64-pinephone: make the proximity sensor usable within iio-sensor-proxy (MR 1416)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-07-31 18:03:12 +02:00
Federico Amedeo Izzo 4a0b0e7b18 samsung-serranovelte: fix Phosh scaling (MR 1407)
[ci:skip-build]: already built successfully in CI
2020-07-28 15:34:03 +02:00
Federico Amedeo Izzo 57b59eafb6 samsung-a3ulte: Fix Phosh scaling, make ui elements bigger (MR 1407) 2020-07-28 15:33:08 +02:00
Clayton Craft 25f3534d9b linux-purism-librem5: upgrade to 5.7.9+librem5.1 (MR 1447)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/70f4e814deda6c822420f1718d929592a10c00f7
2020-07-24 13:37:15 +02:00
Oliver Smith 802add79d4 pine64-pinephone: use PMOS_FORCE_PARTITION_RESIZE (MR 1428)
Automatically resize the root partition, if it is followed by
unallocated space.
2020-07-21 22:53:03 +02:00
Oliver Smith c19d5dfc26 pine64-pinephone: fix setup-modem.initd (MR 1427)
The OpenRC service failed with the following error, as shown on serial:
	command_background option used but no pidfile specified
2020-07-20 20:17:59 +02:00
Martijn Braam 957dc9356a pine64-pinephone: add multiple dtbs (MR 1163) 2020-07-16 23:16:17 +02:00
Bart Ribbers dff419cf10 pine64-pinephone: setup modem to wake device (MR 1163) 2020-07-16 23:14:54 +02:00
Oliver Smith 7463d92293 device/*: clarify "close to mainline" (cosmetic) (MR 1408)
Make it clear, that these kernels are not mainline, but "close to
mainline".

[ci:skip-build] [ci:skip-vercheck]: just changing pkgdesc

Related: https://wiki.postmarketos.org/wiki/(Close_to)_Mainline
2020-07-11 16:06:16 +02:00