使用以下命令查看声卡,可以看到目前有三个声卡
cat /proc/asound/cards
修改设备树
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dts b/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dts
index 515334c127..5b592a852f 100755
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dts
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dts
@@ -118,6 +118,6 @@
};
&hdmi_sound {
- status = "okay";
+ status = "disabled";
};
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dtsi
index 6e66762e96..cbacc6e9bd 100755
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3399-jw-d039.dtsi
@@ -452,7 +452,7 @@
};
&dp_sound {
- status = "okay";
+ status = "disabled";
};
&hdmi_in_vopb {
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
index 4263f9d89d..25bd362c6d 100644
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
@@ -1088,7 +1088,7 @@
};
&hdmi_sound {
- status = "okay";
+ status = "disabled";
};
&i2c0 {
修改过后,重新编译代码,烧录固件,再次查看声卡,只剩下一个声卡了