Commit graph

3891 commits

Author SHA1 Message Date
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
Bhushan Shah
5efdbd13fa
main/linux-postmarketos-allwinner: fix display framerate on pinephone (MR 1661)
This patches from the megi solves the issue of the MIPI-DSI panels
framerate being at 2/3rd of actual or expected rate.

[ci:skip-build]: already built successfully in CI
2020-10-30 00:30:38 -07:00
Oliver Smith
4247902156
temp/phosh: upgrade to 0.5.0 (MR 1656)
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
2020-10-29 19:32:38 +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
Antoine Fontaine
c60dd3e80e
main/postmarketos-ui-{phosh,plasma-mobile}: add iio-sensor-proxy-openrc to deps (MR 1658)
As the post-install use the service, it must be in depends.
Otherwise, the install_if may install it *after* the rc-update
command is run, and fails.
2020-10-28 23:52:37 +03:00
clayton craft
394798dc8a
postmarketos-ui-phosh: add gschema override to show squeekboard (MR 1657)
Squeekboard >= 0.10.0 looks for an a11y setting to determine if it
should show up on the screen. This sets the config setting to 'true' so
that it shows up by default. It can apparently be toggled off in Gnome
Settings, but I haven't found the UI switch to do that yet..
2020-10-28 12:32:37 -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
Martijn Braam
628aabf2b6
main/linux-postmarketos-allwinner: add ov5640 autofocus (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:21 -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
Timothee LF
e38c7c069a
temp/gtk+3.0: upgrade to 9999_git20201022
Remove patches:
'0001-gtk-meson.build-add-new-hdy-files.patch' and
'10-Revert-gdkseatdefault-Grab-touch-events-where-applic.patch'
appear in the code downloaded from Purism at precisely the
location of the patches.

[ci:skip-build]: already built successfully in CI
2020-10-28 14:51:03 +01:00
Timothee LF
ae9fd7f8be
temp/epiphany: upgrade to 9999_git20201019 (MR 1650) 2020-10-27 17:22:24 +01:00
Timothee LF
87cf85746e
temp/gtk+3.0: tweak downgrade workaround for libportal (MR 1650) 2020-10-27 17:22:24 +01:00
Bhushan Shah
fe766c43d7
main/linux-postmarketos-allwinner: add patch for suspend hang (MR 1651)
See thread at: https://lore.kernel.org/linux-usb/20201027045519.GA947883@aquila.localdomain/

Fixes: #839
2020-10-27 13:58:34 +05:30
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
32Linux
ebc26c92e2
wiko-ufeel: fix wifi firmware path (MR 1609)
[ci:skip-build]: already built successfully in CI
2020-10-26 11:33:31 +01:00
Andrei Ostanin
628f799ab2
xiaomi-libra: new device (MR 1454) 2020-10-26 09:17:02 +01:00
Oliver Smith
d9157e1adb
main/postmarketos-welcome-gtk3: upgrade to 0.2.1 (MR 1564) 2020-10-26 09:05:26 +01:00
Ultracoolguy
f2987a58f4
linux-postmarketos-qcom-msm8953: upgrade to latest git master (MR 1646) 2020-10-26 08:50:33 +01:00
clayton craft
3c8943148c
gitlab ci: add pinephone elogind hook script to shellcheck (MR 1636) 2020-10-25 11:17:34 -07:00
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
Minecrell
2d10cc697a
modem/msm-modem(-downstream): start modem if necessary (MR 1640)
On some downstream kernels it seems like we need to explicitly keep
/dev/subsys_modem open (without writing anything), otherwise the modem
will be stopped (or never started). Weird.
2020-10-25 18:35:21 +01:00
Minecrell
36eb719b51
main/keepfileopen: new aport (MR 1640)
Sometimes it's just nice to open a file, do nothing with it
and keep it open forever. Yay.
2020-10-25 18:35:06 +01:00
Minecrell
799821e163
modem/rmtfs: fix downstream (MR 1640)
The -s switch to automatically start/stop the modem remoteproc only
works on mainline, on downstream it fails with "Failed to get rprocfd".

Let's abuse /usr/lib/preload/libqipcrtr4msmipc.so to check if we are
(probably) running on a downstream installation, and omit the -s
argument in this case. The modem remoteproc needs to be started
differently on downstream.
2020-10-25 18:34:57 +01:00
Minecrell
58a8f32e2f
modem/rmtfs: upgrade to 0.2_git20200928, make qrtr-ns optional (MR 1640)
qrtr-ns is not needed (or working) on downstream, also it is no longer
needed for mainline starting with Linux 5.9. Convert the "need" dependency
to a "use" so qrtr-ns is only started if it is really needed.
2020-10-25 18:34:48 +01:00
Minecrell
3b8031445c
modem/qrtr: upgrade to 0.3_git20200928, separate library into -libs (MR 1640)
In most cases, the qrtr-ns is not needed anymore now, but we still
need the libqrtr library. Separate that out into a separate package
so it can be installed independently.
2020-10-25 18:34:39 +01:00
Minecrell
8a36bb744e
oneplus-oneplus3(t): explicitly install + activate qrtr-ns (MR 1640)
qrtr-ns is now part of the Linux kernel (as of version 5.9), so
there is no need to start it in userspace anymore. It does not seem
to be needed (or working) on downstream either.

linux-postmarketos-qcom-msm8996 is the only mainline kernel which
is still on < 5.9. In preparation to make the qrtr dependency optional
for rmtfs, let's explicitly enable qrtr-ns for MSM8996 devices to avoid
causing regressions.
2020-10-25 18:34:29 +01:00
Luca Weiss
8e28b197a5
kde/peruse: new aport (MR 1643) 2020-10-25 17:52:51 +01:00
Bart Ribbers
bded85f5e4
main/postmarketos-ondev: depend on new qtvirtualkeyboard-plasma (MR 1590) 2020-10-25 17:34:58 +01:00
Bart Ribbers
93bc6ff7f3
main/qtvirtualkeyboard-plasma: new aport (MR 1590) 2020-10-25 17:34:45 +01:00
Bart Ribbers
7fe548c81a
temp/plasma-phone-components: upgrade to 5.20.1_git20201019 (MR 1590) 2020-10-25 17:34:35 +01:00
Bart Ribbers
013dcd11dd
temp/plasma-nano: upgrade to 5.20.1_git20201001 (MR 1590) 2020-10-25 17:34:10 +01:00
Dolphin von Chips
5a047026f0
main/hello-world-wrapper: update url (MR 1644) 2020-10-24 00:49:09 +03:00
Minecrell
fca4ec8c01
temp/modemmanager: build with a single thread only (MR 1607)
For some reason, the ModemManager build tends to freeze when built
with QEMU user emulation for arm*. Changing the build to use a single
thread only (-j1) avoids that, although the build is slower of course.

Also limit building to "armhf armv7 aarch64" since the forks are not
needed on any other architectures, to reduce build times a bit. The
other architectures can just use the upstream packages from Alpine.
2020-10-23 12:18:22 +03:00
Minecrell
9c76176c24
temp/ofono: assume mainline gobi network interface is "rmnet0" (MR 1607)
This allows to connect the modem to the Internet with oFono.
I have verified that this does not break anything if the "rmnet0"
network interface is missing. Plus, all mainline devices currently
covered by the package should also be able to use the new "BAM DMUX"
network driver that is used as network interface to the modem.

(Note: This works differently on newer SoCs, but they also need
       something different in oFono...)
2020-10-23 12:18:22 +03:00
Minecrell
d070b0b19f
modem/q6voiced: upgrade to 0_git20200604 (MR 1607)
Also listen to DBUS events from ModemManager, to start call audio
when necessary.
2020-10-23 12:12:25 +03:00
Minecrell
0062418e39
temp/modemmanager: fork from Alpine (MR 1607)
Most older Qualcomm SoCs (e.g. MSM8916, MSM8974, ...) communicate
with the modem through shared memory. On mainline kernels these
shared memory channels are exposed through the RPMSG subsystem.

This is different from communication through USB or serial interfaces
that are currently supported by ModemManager.

This commit forks the "modemmanager" package from Alpine and adds
a patch that allows ModemManager to talk to modems through the RPMSG
subsystem.

Working functionality: Calls, SMS, Mobile Data

The same patch has also been submitted upstream:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/363
2020-10-23 12:12:25 +03:00
Minecrell
36f13ad1ab
modem/msm-modem: expose serial AT port from DATA4 SMD channel (MR 1607)
So far we have only created /dev/modem based on the DATA5_CNTL
channel available from the modem. The DATAX_CNTL channels allow
sending QMI messages to the modem. This is sufficient for oFono
to work.

Unfortunately, ModemManager currently does not support starting
calls through the QMI interface. Instead, it uses serial AT commands
that can be alternatively used on all USB-based Qualcomm modems.

It turns out that we can also send serial AT commands through
the RPMSG interface: the DATAX channels (without _CNTL) all respond
to serial AT commands. We set it up at /dev/modem-at, configure
ModemManager accordingly and then we are able to start calls. Yay!
2020-10-23 12:12:22 +03:00
Minecrell
25147b4aa3
temp/ofono: build with a single thread only (MR 1637)
For some reason, the ModemManager build tends to freeze when built
with QEMU user emulation for arm*. Changing the build to use a single
thread only (-j1) avoids that, although the build is slower of course.

The same thing seems to happen fo oFono as well, so set that to -j1 too.

Also limit building to "armhf armv7 aarch64" since the forks are not
needed on any other architectures, to reduce build times a bit. The
other architectures can just use the upstream packages from Alpine.
2020-10-23 09:27:51 +02:00
Alexander Akulich
129b8b7318
temp/ofono: Add a patch for QMI modem driver to fix outgoing calls (MR 1637) 2020-10-23 09:27:51 +02:00
Alexander Akulich
e67d4800a6
temp/ofono: Add a way to set ofonod arguments (MR 1637) 2020-10-23 09:27:51 +02:00
Oliver Smith
80fec94eb8
temp/upower: fork from alpine to apply torch patch (MR 1623)
Required to make the torch button work in Phosh.

[ci:skip-build]: already built successfully in CI
2020-10-23 08:20:11 +02:00
Luca Weiss
65983235e7
temp/phosh: upgrade to 0.4.5 (MR 1623)
re-fork from Alpine to get upstream packaging changes as well
2020-10-22 14:05:37 +02:00
Oliver Smith
757edbd304
main/postmarketos-ui-phosh: add megapixels to _pmb_recommends (MR 1610)
[ci:skip-vercheck]: doesn't need a rebuild
2020-10-20 22:55:04 +02:00
Caleb Connolly
4dd597d8a0
linux-oneplus-sdm845: update to 5.9 (MR 1635)
Update to kernel 5.9 with the following changes:
* Change tri-state key to macro keys instead of 'A', 'B' and 'C' keys.

[ci:skip-build]: already built successfully in CI
2020-10-20 22:30:55 +02:00
Hendrik Borghorst
86adf2a7ce
pine64-pinetab: provide choice of panel and fix audio (MR 1614)
* add LCD panel type selection
* adjust alsa configs

Signed-off-by: Hendrik Borghorst <hendrikborghorst@gmail.com>
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-10-20 18:02:24 +02:00
Oliver Smith
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
Oliver Smith
dcc0a8c855
main/linux-postmarketos-allwinner: upgrade to 5.9.1_git20201019 (megi's tree) (MR 1614)
Switch from the 5.8.x kernel with allwinner specific patches to megi's
5.9 based tree. He drives the PinePhone related kernel development
forward like no other, his tree and changes are well documented on
xnux.eu, and he frequently publishes tested "build this one" commits with
the latest improvements. It makes a faster and less time consuming
workflow to simply package these versions (after a smoke test) into
postmarketOS edge, and after some time to catch possible regressions
ship the same version in postmarketOS stable.

This kernel should make HDMI work for most people, and improve call
quality (thanks to smaeul's patches, which are integrated into megi's
tree).

Kernel config changes:
* Enable MODEM_POWER in the kernel config, among other improvements this
  allows us to get rid of the 30s delay on power off.
* Enable CONFIG_DRM_PANEL_ILITEK_ILI9881C (new PineTab panel)
* Enable CONFIG_ZRAM
* Enable CONFIG_HID_MULTITOUCH

Related: https://xnux.eu/devices/feature/modem-pp.html#toc-modem-power-driver
Changelog: https://megous.com/git/linux/tag/?h=orange-pi-5.9-20201019-1553
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
Co-Authored-By: Clayton Craft <clayton@craftyguy.net>
2020-10-20 18:02:17 +02:00
WTechNinja
25a0dbe27d
samsung-gprimeltecan: new device (MR 1401) 2020-10-13 21:16:24 +02:00
Otto Urpelainen
97fa300bc7
sony-tuba: new device (Sony Xperia XA) (MR 1613)
Initial support for Sony Xperia XA (codename: sony-tuba). Builds, can be
flashed, ssh connection through usb works, display works, touchscreen works,
no wifi or anything else.
2020-10-13 10:07:59 +02:00
Thiago Foganholi
a248ec3e55
Remove armhf from firmware-samsung-i9305 (MR 1631)
As the device samsung-i9305 was updated to armv7, there is no need to
keep the armhf architecture on the firmware package anymore.
2020-10-13 10:04:42 +02:00