I’m trying to get haptic feedback working on a Hikey 960. I hooked up a Ti DRV2605L driver IC with a LRA motor and enabled kernel support for it. On boot up, the motor gives a brief buzz, so it seems to kernel has it working. However, I cannot use it in android yet. Calling Vibrator.hasVibrator() returns false.
I guess I have to set up the android.hardware.vibrator HAL, but I cannot really figure out how to go about it. Is there anybody that has been succesful in getting this to work? Any help would be much appreciated.