分页: 1 / 2
没声音
发表于 : 2015-11-05 21:00
由 自由建客
代码: 全选
>0< ~# lspci | grep Audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
>0< ~# lscpu | grep 'Model name'
Model name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
>0< ~#
代码: 全选
>0< ~$ aplay .config/login.wav
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: 没有那个文件或目录
>1< ~$
Re: 没声音
发表于 : 2015-11-05 21:52
由 自由建客
代码: 全选
https://packages.debian.org/jessie-backports/linux-image-amd64
内核都更新了,还是一样

Re: 没声音
发表于 : 2015-11-07 10:12
由 cnkilior
代码: 全选
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CX20561 Analog [CX20561 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: CX20561 Digital [CX20561 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 9619 [15%] [on]
Front Right: Capture 9619 [15%] [on]
看看你的默认设备是不是被设置到了HDMI 了?
Re: 没声音
发表于 : 2015-11-07 10:16
由 cnkilior
可以用aplay hw:x,y zzz.wav 试试
x 为 card id, y为device id, 可以用aplay -l得出。
Re: 没声音
发表于 : 2015-11-07 11:19
由 daf3707
巧了。前几天也是没声音 也是debian。
反正我刚用.折腾kodi时发现的。但前天明明有声音。
在此期间就是准备编译一个程序,瞎装了些软件没注意有没有看有没有卸载什么东西。
也在这里界面里把各种折腾,切换。
后来安装了一个 alsa-????的
也不知道是不是它起作用,反正又有声音了。

Re: 没声音
发表于 : 2015-11-07 22:31
由 自由建客
cnkilior, Realtek ALC1150
Re: 没声音
发表于 : 2015-11-08 19:34
由 自由建客
重装了,还是一样。
Re: 没声音
发表于 : 2015-11-08 20:21
由 poloshiao
先描述一下 你使用何種喇叭 ?
Re: 没声音
发表于 : 2015-11-08 20:35
由 自由建客
*#$%&**(%$@
装了屁音频(pulseaudio)就有声音,卸载了就没有。即便保留 pulseaudio 那些依赖,单单卸载 pulseaudio 一个包,也没声音。
不爆它的菊都不行!

Re: 没声音
发表于 : 2015-11-08 20:50
由 poloshiao
装了屁音频(pulseaudio)就有声音,卸载了就没有
1. Ubuntu / Debian 預設就是由 pulseaudio 管理音效
2. 如果你的喇叭是立體聲
pulseaudio 全部設定 類比訊號 就足足有餘 其它都不必
3. pavucontrol 套件是 pulseaudio 音效控制程式
4. 進一步 請先告知 你使用何種喇叭 ?
Re: 没声音
发表于 : 2015-11-08 21:11
由 自由建客
poloshiao 写了:装了屁音频(pulseaudio)就有声音,卸载了就没有
1. Ubuntu / Debian 預設就是由 pulseaudio 管理音效
2. 如果你的喇叭是立體聲
pulseaudio 全部設定 類比訊號 就足足有餘 其它都不必
3. pavucontrol 套件是 pulseaudio 音效控制程式
4. 進一步 請先告知 你使用何種喇叭 ?
什么意思?
Re: 没声音
发表于 : 2015-11-08 21:16
由 poloshiao
要根據
你使用何種喇叭
來提供建議
pavucontrol
如何設定
看看 有沒有效
Re: 没声音
发表于 : 2015-11-08 22:12
由 自由建客
poloshiao 写了:要根據
你使用何種喇叭
來提供建議
pavucontrol
如何設定
看看 有沒有效
问题是我不想用 pa,我把它卸了。如果装上 pa,不用设置也有声音。没有 pa,不是没声音,而是压根无法播放。
Re: 没声音
发表于 : 2015-11-09 0:39
由 poloshiao
问题是我不想用 pa,我把它卸了。
http://voices.canonical.com/david.henni ... our-audio/
Top five wrong ways to fix your audio
2. Don’t purge PulseAudio
解決音效問題常犯的錯誤前五名
第二名 不要移除 PulseAudio
因為許多套件依賴於 PulseAudio
Re: 没声音
发表于 : 2015-11-09 8:31
由 cnkilior
那么我觉得还是默认声卡有问题,没有正确的.asound.conf。
首先,你要用aplay确定声卡在没有pulseaudio的情况下是能发声的,然后试着写.asound.conf指定默认声卡和输出设备。