我最近在华硕X556UB上安装了带有KDE的Debian,音频根本不工作。
我可以看到和调整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当我尝试将WAV文件作为根用户使用mplayer播放时,我得到了以下输出:
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)谁能帮我弄清楚出什么事了吗?
提前谢谢你。
发布于 2016-11-04 12:24:47
我修好了!
我所做的是在/etc/modprobe.d/alsa-base.conf中添加以下一行:
options snd-hda-intel model=pch position_fix=1这是在安装了firmware-intel-sound包之后。
但仅凭这一点还不够。我不得不运行alsamixer并选择Intel声卡(而不是默认的,这是不起作用的)。
感谢大家的建议!
发布于 2016-11-03 18:44:07
按照这条线中的建议,您可以尝试将以下内容添加到/etc/modprobe.d/alsa-base.conf底部
options snd-hda-intel model=generic如果该文件不存在,只需创建它并让它只包含该行。
https://unix.stackexchange.com/questions/320809
复制相似问题