工具与软件:
您好!
使用 AM69和我们的 Toradex Aquila 板,我们看到了这个内核错误:
debugfs: File 'Headphone Jack' in directory 'dapm' already present!
您是否知道这一点? 如果是、原因是什么、或者您能指出如何解决此错误?
欢迎您提供任何帮助、谢谢!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好、Hiago、
我以前没有看到过此错误。 我假设设备树中有问题是由某个问题引起的。
我在 NVIDIA 论坛上找到了一个类似的帖子: https://forums.developer.nvidia.com/t/how-do-i-add-the-wm8904-audio-driver-in-the-jetson-device-tree/242036/43?page=3
我也在其他 Toradex 论坛帖子中找到了日志,但它不是问题的焦点,而只是在日志中。
以下是有关 DAPM 的文档: https://www.kernel.org/doc/html/v5.4/sound/soc DAPM/dapm.html
此致!
Jared
尊敬的 Jared:
感谢您的答复。 这是我们当前的器件树节点:
sound {
compatible = "simple-audio-card";
simple-audio-card,bitclock-master = <&codec_dai>;
simple-audio-card,format = "i2s";
simple-audio-card,frame-master = <&codec_dai>;
simple-audio-card,name = "aquila-wm8904";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,routing =
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"IN2L", "Line In Jack",
"IN2R", "Line In Jack",
"Headphone Jack", "MICBIAS",
"IN1L", "Headphone Jack";
simple-audio-card,widgets =
"Microphone", "Headphone Jack",
"Headphone", "Headphone Jack",
"Line", "Line In Jack";
codec_dai: simple-audio-card,codec {
sound-dai = <&wm8904_1a>;
};
simple-audio-card,cpu {
sound-dai = <&mcasp4>;
};
};
我相信我们已经正确设置了这个 Jack 属性、不知道为什么现在应该有所不同。
你碰巧知道这里的东西是否应该不同?
谢谢!