Execute the below commands from Command Terminal.
adb root
adb remount
adb shell mount -t debugfs debugfs /sys/kernel/debug
adb shell
cd /sys/kernel/debug/asoc/msm8960-snd-card/tabla_codec/
From adb shell terminal run the below commands for writing into the WCD9310 codec registers
echo " <Register Address > < value >" > codec_reg
Ex :
Register Address : 0x121
Value to written : 0xA0
echo "0x121 0xA0" > codec_reg
For reading the WCD9310 codec registers, run the below command from adb shell terminal
cat codec_reg
To read all codec registers: cat codec_reg
No comments:
Post a Comment