因此,我只使用 Linux 工作,我对它相当陌生,当我重新格式化我的电脑时,耳机无法工作。首先的问题是,当它们连接时,耳机和扬声器都没有声音。我尝试了这篇文章中的所有解决方案:耳机插孔不工作?
现在,即使连接了耳机,声音也会从扬声器中传出。我通过修改引脚找到了解决方案: https://ubuntuforums.org/showthread.php?t=2317239
但我无法从 Alsa 打开 HDA 分析器。我输入:
sudo python run.py
并收到错误消息且无 GUI:
Please, install pygtk2 or python-gtk package
Using temporary directory: /dev/shm/hda-analyzer
You may remove this directory when finished or if you like to
download the most recent copy of hda-analyzer tool.
File cached /dev/shm/hda-analyzer/hda_analyzer.py
File cached /dev/shm/hda-analyzer/hda_guilib.py
File cached /dev/shm/hda-analyzer/hda_codec.py
File cached /dev/shm/hda-analyzer/hda_proc.py
File cached /dev/shm/hda-analyzer/hda_graph.py
File cached /dev/shm/hda-analyzer/hda_mixer.py
Downloaded all files, executing hda_analyzer.py
Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 32, in <module>
import gobject
ImportError: No module named gobject
有人可以帮忙吗?