Other Parts Discussed in Thread: DRV260XSW-LINUX, DRV2605L
Hello Experts,
I have DRV2604L chip and want to interface with one of my ARM board where I am running Ubuntu based Linux OS.
Able to add the driver based on the below TI reference link.
The driver is also registered without any problem, now I want to validate and test the chip by running some test examples or vibration etc.,
Here is what I did so far.
root@titus:/# ls /sys/class/input/input2/
capabilities event1 modalias phys properties uevent
device id name power subsystem uniq
root@titus:/#
root@titus:/#
root@titus:/#
root@titus:/# ls /sys/class/input/input2/capabilities/
abs ev ff key led msc rel snd sw
root@titus:/#
root@titus:/# echo 1 > /sys/class/input/input2/capabilities/led
-sh: /sys/class/input/input2/capabilities/led: Permission denied
root@titus:/# echo 1 > /sys/class/input/input2/capabilities/snd
-sh: /sys/class/input/input2/capabilities/snd: Permission denied
root@titus:/#
root@titus:/# cat /sys/class/input/input2/name
drv260x:haptics
root@titus:/#
root@titus:/#
root@titus:/# evtest /dev/input/event1
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "drv260x:haptics"
Supported events:
Event type 0 (EV_SYN)
Event type 21 (EV_FF)
Event code 80 (FF_RUMBLE)
Event code 81 (FF_PERIODIC)
Event code 88 (FF_SQUARE)
Event code 89 (FF_TRIANGLE)
Event code 90 (FF_SINE)
Event code 96 (FF_GAIN)
Properties:
Testing ... (interrupt to exit)
How can I enable the vibration and test other features ?
Thanks for your help.
BTW, I also referred the below link, it didn't help as its different haptics chip and android driver.
Regards,
Titus S.