Calibrate volume-independent 157 Hz haptic vibration on nokia-sparkler
- Compensate PipeWire softVolumes and RX3 Digital Volume via libpulse FLOAT_LE PCM - Tune L1/L2/L3 reference amplitudes to 1950/2550/3300 at HAPTIC_REF_RX3_VOL=84 - Fix root HOME lookup, muted-sink bypass, build-dwm-plugins sync, and refresh a1120 image checksums
This commit is contained in:
1 parent
d7992904bf
commit
0d8047ddfe
9 files changed
+548
-128
No files matched your search
@@ -112,10 +112,20 @@ class TestSparklerPort(unittest.TestCase):
|
||||
self.assertIn(" qcom_scm_set_boot_addr_mc\n", sysmap)
|
||||
|
||||
vib_c = read_text("src/dwm-plugins/sxmo_vibrate.c")
|
||||
for expected in ("is_haptic_audio_device", "vibrate_haptic_audio", "157.0", "nokia,sparkler"):
|
||||
for expected in (
|
||||
"is_haptic_audio_device",
|
||||
"vibrate_haptic_audio",
|
||||
"157.0",
|
||||
"nokia,sparkler",
|
||||
"SND_PCM_FORMAT_FLOAT_LE",
|
||||
"pa_sw_volume_to_linear",
|
||||
"HAPTIC_REF_RX3_VOL",
|
||||
):
|
||||
self.assertIn(expected, vib_c)
|
||||
build_p = read_text("scripts/build-dwm-plugins.sh")
|
||||
self.assertIn("alsa", build_p)
|
||||
for script_rel in ("scripts/build-dwm-plugins.sh", "scripts/build-sxmo-x11.sh"):
|
||||
build_s = read_text(script_rel)
|
||||
for expected in ("alsa", "libpulse", "pulseaudio-dev"):
|
||||
self.assertIn(expected, build_s, script_rel)
|
||||
|
||||
cam_c = read_text("src/msm8905-cam/msm8905-cam.c")
|
||||
for expected in (
|
||||
|
||||
Reference in new issue
Block a user