Open ClarexZhou opened 4 years ago
Current have some issue with DAPM
folder refer the environment
This change will merge into sof-dump-status.py
here have some simple command:
pci_id=$(lspci |grep audio -i|awk '{print $1;}')
grep "On" "/sys/bus/pci/devices/0000:$pci_id/"* -rni 2>/dev/null|grep -i 'DAPM'
Update for new work path:
cat /sys/kernel/debug/asoc/machine-driver-name/0000\:00\:1f.3/dapm/*
eg. command: cat /sys/bus/pci/devices/00.1f.3/mahine-driver-name/DAPM/ | grep "On"
Should no "On" if need enter runtime PM suspend