From 72f19917607d163769d376e7193a719b7ad61e9f Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Fri, 26 Jan 2024 11:55:06 -0800 Subject: [PATCH] comet/vibrator: Update loc coeff and device mass Updating location coefficient and device mass needed for calculating the bandwidth amplitude map. Note, currently the location coefficient is different for the device being unfolded and folded. We're going to choose the safer value (unfolded) until we decide how we want to handle this. Bug: 314844532 Test: adb shell getprop | grep vib Change-Id: Ibde6bcf4d45059ad0c61e0bf8fc329d554aff76f Signed-off-by: Chris Paulo --- device-comet.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/device-comet.mk b/device-comet.mk index 1900a45..2d47b5a 100644 --- a/device-comet.mk +++ b/device-comet.mk @@ -290,15 +290,15 @@ PRODUCT_VENDOR_PROPERTIES += \ # Haptics # Placeholders for updates later, need to update: -# edit device.mass -# edit loc.coeff -# remove dbc.enable +# remove ro.vendor.vibrator.hal.dbc.enable (needed for setting pm.activetimeout) # remove pm.activetimeout +# ro.vendor.vibrator.hal.loc.coeff.folded currently unused ACTUATOR_MODEL := luxshare_ict_081545 PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.vibrator.hal.chirp.enabled=1 \ - ro.vendor.vibrator.hal.device.mass=0.222 \ - ro.vendor.vibrator.hal.loc.coeff=2.8 \ + ro.vendor.vibrator.hal.device.mass=0.2605 \ + ro.vendor.vibrator.hal.loc.coeff.folded=3.15 \ + ro.vendor.vibrator.hal.loc.coeff=2.58 \ ro.vendor.vibrator.hal.dbc.enable=1 \ ro.vendor.vibrator.hal.pm.activetimeout=5