本帖最后由 leonli01 于 2019-5-20 12:02 编辑
已解决:见四楼版主回复
求助,华为matebook x的ALC298声卡AppleALC驱动成功但只有左边扬声器工作。这个问题在linux,android x86上都存在,但是在Windows上两个扬声器都工作,所以不是硬件的问题。github的linux for matebook x项目下有人提出了一个解决办法,用一个shell脚本实现右扬声器的激活,我直接把内容复制过来。也附上链接https://github.com/lidel/linux-on-huawei-matebook-x-2017/issues/8#issuecomment-460067010
我不太懂工作原理,编程小白,懂的朋友能不能帮忙怎么应用到OS X上,谢谢啦!
Ok, I got it working without needing to recompile the kernel. Make sure that you have the alsa-tools installed on your machine. Running the attached script at runtime will send the necessary verbs to the sound card to enable the right speaker. Here is my systemd service file to launch it at startup. (Type idle is important to launch it at the end)
Here's a few instructions: 1,Download the script provided by omegadota found here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1721987/comments/25 2,Copy the script to /usr/local/bin: sudo cp huawei-sound.sh /usr/local/bin/huawei-sound.sh 3,Add a new service to /etc/systemd/service to call the script like so: $ sudo touch /etc/systemd/service/huawei-sound.service 4,add the following details into your service: [Unit] Description=Huawei-soundfix [Service] Type=idle ExecStart=/usr/bin/bash /usr/local/bin/huawei-sound.sh [Install] WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target 5,enable the service: systemctl enable huawei-sound 6,check that the service is running: systemctl status huawei-sound
|