我刚刚安装了 Ubuntu 11 Server 和 LXDE。我发现没有声音。我该怎么办?
下列的声音故障排除
jm@jm-laptop:~$ gnome-volume-control
** (gnome-volume-control:8750): WARNING **: Connection failed, reconnecting...
jm@jm-laptop:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
jm@jm-laptop:~$ find /lib/modules/`uname -r` | grep snd
/lib/modules/2.6.38-8-server/kernel/sound/pcmcia/vx/snd-vxpocket.ko
/lib/modules/2.6.38-8-server/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/2.6.38-8-server/kernel/sound/i2c/snd-cs8427.ko
/lib/modules/2.6.38-8-server/kernel/sound/i2c/snd-i2c.ko
/lib/modules/2.6.38-8-server/kernel/sound/i2c/other/snd-ak4117.ko
/lib/modules/2.6.38-8-server/kernel/sound/i2c/other/snd-ak4114.ko
/lib/modules/2.6.38-8-server/kernel/sound/i2c/other/snd-pt2258.ko
/lib/modules/2.6.38-8-server/kernel/sound/i2c/other/snd-ak4xxx-adda.ko
...
jm@jm-laptop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
Subsystem: Dell Device 0419
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: cfe00000-cfefffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
Subsystem: Dell Device 0419
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f0b05800 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
...
jm@jm-laptop:~$ wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh
...
Your ALSA information is located at http://www.alsa-project.org/db/?f=711f054c4abd11e4c5570d5f7c315982f9d147e7
URL 的内容http://pastie.org/1929819
怎么办?
答案1
我发现安装
gnome-media pulseaudio
似乎解决了这个问题
答案2
我使用的是 Ubuntu 12.04 64 位,最近安装了 XFCE-4 桌面。当我第一次登录 xfce-4 时,我注意到根本没有声音(Rythmbox、游戏等)。而且我没有找到任何可以调整声音的图标。
这是我解决问题的方法:
1)转到应用程序菜单>声音和视频>混音器。
2) 在声卡选项菜单中,选择播放:内置音频模拟立体声(PulseAudio Mixer)。
3) 播放窗口可能为空。单击“选择控件...”,启用/选中主控,然后关闭。
4)取消音量条下方的声音图标的静音。
我猜你需要检查你使用的是 PulseAudio 还是 Alsa 驱动程序。这不会改变你需要在 Mixer 中的“播放:音频立体声”中取消选中静音图标的事实。
我希望这能有所帮助:-)
PS:我是Linux方面的新手,如果我说错了什么,请纠正我。