Commit graph

84 commits

Author SHA1 Message Date
Bobby The Builder
615cd3f67c
device-pine64-pinephone: remove cma from boot args (MR 2371)
default value already defined:
   Symbol: CMA_SIZE_MBYTES [=256]
   Type  : integer
   Defined at kernel/dma/Kconfig:134
2021-07-22 23:54:01 -07:00
Uniformbuffer
c043ffaaa7
device-pine64-pinephone: re-enable ngl gsk renderer (MR 2369) 2021-07-21 11:58:08 +02: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
Clayton Craft
f1e0404fb8
device/*: set gpu_accelerated for devices that show '3D=Y' on wiki (MR 2078)
[ci:ignore-count]
[ci:skip-vercheck] needed for the postmarketos-ui-* packages in this
series
[ci:skip-build] already built ui-* packages in CI, and device pacakges
are just trivial deviceinfo change (manually built some just to verify)
2021-07-07 08:06:17 +03: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
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
1ae70f921b
device-pine64-pinephone: improve PulseAudio sample rate 2021-06-02 18:57:48 +02:00
Oliver Smith
0b7e4d6371
pine64-pinephone: upower: replace config properly (MR 2205) 2021-05-30 17:01:39 +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
Bart Ribbers
5a5a3cd619
pine64-pinephone: depend on u-boot >= 2021.01_git20201228-r2 (MR 2149) 2021-05-27 14:13:16 +02:00
Oliver Smith
cfe73e6680
pine64-pinephone: lower headphone volume to 70% (MR 2182)
We used to have it at 40% and just bumped it to 100%. With 100%, I can
hear static noise in the headphones when using the PinePhone (pmOS CE)
in a silent room, even if I turn the volume down in Pulseaudio (e.g.
18%-30% in Phosh). This was not the case when we had it at 40%.

70% seems to be the sweet spot, where no static noise can be heard when
using headphones in a silent room, but where volume can still be turned
up to a very high level if necessary.
2021-05-21 20:02:04 +02:00
Oliver Smith
5e227888fc
pine64-pinephone: add gtk4 artifacts workaround (MR 2132) 2021-05-21 00:44:53 +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
Bart Ribbers
27b8ef368f
*/*: replace uboot-tools dependency for u-boot-tools (MR 2141)
uboot-tools is provided by u-boot-tools but sometimes apk still gets
confused. This change prevents errors such as

pine64-pinephone:~$ sudo apk upgrade --verbose
WARNING: Failed to perform initial self-upgrade, continuing with full upgrade.
ERROR: unable to select packages:
  uboot-tools (virtual):
	    provided by: u-boot-tools
			    required by: device-pine64-pinephone-0.25-r1[uboot-tools]
[ci:ignore-count]
[ci:skip-build]: already built in CI successfully
2021-04-27 22:01:06 +02:00
Oliver Smith
caae6d5405
treewide: bump pkgrel to generate new splashes (MR 1996) 2021-04-11 19:52:37 +02:00
Bobby The Builder
259c9eefe5
pine64-*: change default RAM clock from 552 to 528 (MR 1998)
Issue #981 Change default clock from 552 to 528
(latest batches such as KDE are having issues with 552)
2021-04-05 11:14:18 +02:00
Bobby The Builder
ba84cd8d49
temp/u-boot-pinephone: expose ram_freq in device tree (MR 1998)
Query the ram clock:
cat /proc/device-tree/memory/ram_freq
2021-04-05 11:14:17 +02:00
Bobby The Builder
5322350898
temp/u-boot-pinephone: build with 3 RAM clocks (MR 1998)
U-Boot package will be built and packaged with tree
different images, each with a custom RAM clock.

Supported clocks: 528, 552 and 624
2021-04-05 11:14:13 +02:00
Oliver Smith
a9a343dc16
pine64-pinephone: drop setup-modem.sh.ofono (MR 2066)
Now that eg25-manager is able to send the AT commands to the modem, even
when ofono is used, drop the ofono specific script.
2021-03-28 23:26:36 +02: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
Clayton Craft
5023b9c433
device-pine64-pinephone: add gpio_vibra module to initfs (MR 1870)
This is needed to enable osk-sdl's haptic feedback when typing
2021-02-22 15:40:48 +03:00
Bart Ribbers
e2cbd9e4ed
pine64-pinephone: enable Kirigami lowpower mode (MR 1928)
Should increase performance a bit of Kirigami applications by disabling
some fancy stuff like shadows
2021-02-11 09:50:05 +01:00
Martijn Braam
6fe006aa52
device-pine64-pinephone: Enable jack detection (MR 1943)
Enable headset jack detection and automatic switching in the UCM
2021-02-11 09:15:10 +01:00
Oliver Smith
c48037d5ed
pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +01:00
Bart Ribbers
be2f27a342
pine64-pinephone: re-add checksums
Not sure how I missed that one, and here I was wondering why CI was
broken
2021-01-27 10:19:29 +01:00
Bart Ribbers
71c3d3cc90
pine64-pinephone: change permissions of flashlight so PlaMo can toggle it (MR 1894)
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user
session and needs direct access to the sys entries of the flashlight to
be able to toggle it in the GUI

[skip ci] Broken, thinks there is an unreferenced file while there is
not
2021-01-27 10:03:33 +01:00
Oliver Smith
4b8f37e46e
pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00
Clayton Craft
6606d81688
device-pine64-pinephone: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:30:17 -08:00
Clayton Craft
3a6500492e
device-pine64-pinephone: enable eg25-manager in post-upgrade (MR 1867)
On existing installs of pmOS, the service should also be enabled...
2021-01-10 12:36:39 -08:00
clayton craft
d0588c4046
device-pine64-pinephone: do not rely on modem-power from kernel (MR 1815)
This adds eg25-manager for managing modem power in userspace instead of
relying on the modem-power stuff in the kernel. The userspace
eg25-manager has proven to be more reliable than using modem-power.

An older setup-modem script is installed for ofono, since eg25-manager
cannot interface with ofono (yet).

The eg25 init script was removed since it only dealt with configuring
the modem-power driver in the kernel

[ci:skip-build]: already built successfully in CI
2021-01-08 15:28:11 -08:00
Craig Comstock
c3078f5e97
pine64-pinephone: add default alsa config (MR 1741)
For use with or without pulseaudio.
2020-12-04 13:24:01 +01: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