Elektrine lite

← Feed

@elly@donotsta.re

Post #2932259

2026-02-23 07:23 UTC

@cas@social.treehouse.systems @valpackett@social.treehouse.systems Uhh, are you sure? This looks like hard-coded value… https://gitlab.com/sdm845-mainline/linux/-/blob/sdm845/6.16-dev/drivers/input/misc/qcom-spmi-haptics.c#L820-830 I just looked at DT dumped from downstream, apparently I need “SQUARE” instead of “SINE”. With that it kinda works, but is very weak (probably a different actuator type): qcom,haptics@c000 { compatible = "qcom,pm660-haptics"; reg = ; interrupts = ; interrupt-names = "hap-sc-irq", "hap-play-irq"; qcom,actuator-type = "erm"; qcom,vmax-mv = ; qcom,ilim-ma = ; qcom,play-rate-us = ; qcom,lra-auto-resonance-mode = "qwd"; qcom,lra-resonance-sig-shape = "square"; status = "okay"; phandle = ;

Replies (2)