我最近在华硕 X556UB 上安装了带有 KDE 的 Debian Jessie,但音频根本无法工作。
我可以使用 KMix 查看和调整音量控件,但没有效果。
当我尝试 alsactl init 时,我收到以下消息:
No protocol specified
xcb_connection_has_error() returned true
Found hardware: "HDA-Intel" "Intel ID 2809" "HDA:10ec0255,10431c7d,00100002 HDA:80862809,80860101,00100000" "0x1043" "0x1c7d
当我尝试使用 mplayer 以 root 身份播放 WAV 文件时,得到以下输出:
Detected file format: WAV / WAVE (Waveform Audio) (libavformat)
[lavf] stream 0: audio (pcm_u8), -aid 0
Load subtitles in <FOLDER>
Selected audio codec: Uncompressed PCM [pcm]
AUDIO: 22050 Hz, 1 ch, u8, 176.4 kbit/100.00% (ratio: 22050->22050)
No protocol specified
xcb_connection_has_error() returned true
AO: [pulse] Init failed: Access denied
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied
[AO_ALSA] Playback open error: Connection refused
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[JACK] cannot open server
[AO SDL] Samplerate: 22050Hz Channels: Mono Format u8
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied
[AO SDL] Unable to open audio: No available audio device
AO: [null] 22050Hz 1ch u8 (1 bytes per sample)
谁能帮我找出问题所在吗?
先感谢您。
答案1
我已经修好了!
我所做的是将以下行添加到/etc/modprobe.d/alsa-base.conf
:
options snd-hda-intel model=pch position_fix=1
这是安装firmware-intel-sound
软件包后的结果。
但仅此还不够。我必须跑阿尔萨混合器并选择英特尔声卡(而不是“默认”,它不起作用)。
感谢大家的建议!
答案2
正如建议的这个线程那么你可以尝试将以下内容添加到底部/etc/modprobe.d/alsa-base.conf
options snd-hda-intel model=generic
如果该文件不存在,只需创建它并让它只包含该行。