Commit graph

9 commits

Author SHA1 Message Date
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
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
Caleb Connolly
245f6e6911
soc-qcom-sdm845: add qbootctl (MR 3190)
[ci:skip-build] already built successfully in CI
2022-06-11 15:47:26 -07:00
Joel Selvaraj
1969218aec
community/soc-qcom-sdm845: update ucm conf and add q6voiced for call audio support (MR 2982)
Also, moving the modemmanager.conf file from the main package to the
nonfree-firmware subpackage as Modem Manager is going to work
only if the nonfree-firmwares are present.
2022-03-22 12:29:44 +01:00
Joel Selvaraj
487333981f
soc-qcom-sdm845: 5.14 feedbackd fix and modemmanager suspend/resume support (MR 2416)
Fix the feedbackd rule as the haptics modules has been renamed.

Although SDM845 doesn't really suspend well, MM needs suspend
and resume support when the device attempts to suspend. Without
which MM will crash and wont resume properly when a suspend
action is triggered.

Depend on msm-modem-uim-selection to configure to modem for modemmanager
2021-08-26 02:14:15 +01:00
Jakob Hauser
6614be1f17
device/community: add swclock-offset dependency for affected SoCs (MR 2241)
Set package dependency "swclock-offset" to "soc-qcom-msm8916" and
"soc-qcom-sdm845".

These SoC's have a read-only real-time clock (RTC). The package
"swclock-offset" keeps an offset between the RTC and the system time.
2021-06-10 18:29:24 +03:00
Caleb Connolly
83413def86
soc-qcom-sdm845: update ucm profiles for op6 (MR 2206) 2021-06-01 21:13:08 +03:00
Caleb Connolly
36eca9bdda
soc-qcom-sdm845: move to community (MR 2088)
[ci:skip-vercheck]
2021-04-16 19:13:07 +02:00