[已解决]xubuntu 没有声音,但是开机登录的时候有开机鼓点声音,进去后没有声音

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
madam
帖子: 9
注册时间: 2009-05-08 21:21

[已解决]xubuntu 没有声音,但是开机登录的时候有开机鼓点声音,进去后没有声音

#1

帖子 madam » 2009-06-03 18:14

如题,搞了一下午了,时间都浪费到这上面了,快崩溃了,哪位大大来拯救下我~~~~ :em20 :em20 :em20 :em20

代码: 全选

madam@ubuntu:~$ aplay -l
**** PLAYBACK硬件设备列表 ****
卡 0: I82801CAICH3 [Intel 82801CA-ICH3], 设备 0: Intel ICH [Intel 82801CA-ICH3]
  子设备: 1/1
  子设备:#0: subdevice #0

代码: 全选

madam@ubuntu:~$ uname -r
2.6.27-14-generic

代码: 全选

madam@ubuntu:~$ ps aux|grep esd
madam     6005  0.0  0.1   3460   804 pts/0    S+   18:22   0:00 grep esd

代码: 全选

madam@ubuntu:~$ lsmod|grep snd
snd_intel8x0           37532  1 
snd_ac97_codec        111652  1 snd_intel8x0
ac97_bus                9856  1 snd_ac97_codec
snd_pcm_oss            46848  0 
snd_mixer_oss          22784  1 snd_pcm_oss
snd_pcm                83204  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy          10884  0 
snd_seq_oss            38528  0 
snd_seq_midi           14336  0 
snd_rawmidi            29824  1 snd_seq_midi
snd_seq_midi_event     15232  2 snd_seq_oss,snd_seq_midi
snd_seq                57776  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              29960  2 snd_pcm,snd_seq
snd_seq_device         15116  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    63268  12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15328  1 snd
snd_page_alloc         16136  2 snd_intel8x0,snd_pcm
附件
005.jpg
004.jpg
004.jpg (36.53 KiB) 查看 469 次
003.jpg
002.jpg
001.jpg
上次由 madam 在 2009-06-04 11:55,总共编辑 1 次。
头像
clarezoe
帖子: 220
注册时间: 2007-05-25 18:41
联系:

Re: [有图有真相]xubuntu 没有声音,但是开机登录的时候有开机鼓点声音,进去后没有声音

#2

帖子 clarezoe » 2009-06-04 2:08

驱动没有问题,是不是声卡选错了,哪里没声音?耳机还是外置音箱?
madam
帖子: 9
注册时间: 2009-05-08 21:21

Re: [已解决]xubuntu 没有声音,但是开机登录的时候有开机鼓点声音,进去后没有声音

#3

帖子 madam » 2009-06-04 11:58

先谢谢2楼,声音已经自己摸好了,把方法写出来,供大家参考吧~~ :em09

解决方法:去Alsa的官方网站,分别下载 3 个 声卡驱动控制程序安装包,来安装。

一. 声卡驱动控制程序: Alsa 的下载

1. 下载网站: http://www.alsa-project.org/main/index.php/Main_Page

下载Alsa最新版本的3个安装包。
(1) alsa-driver-1.0.20

(2) alsa-lib-1.0.20

(3) alsa-utils-1.0.20

二. 安装

下载好的 3 个软件包,分别是:alsa-driver-1.0.20.tar.bz2和alsa-lib-1.0.20.tar.bz2和alsa-utils-1.0.20.tar.bz2

这3个软件包,安装方法,安装过程,安装步骤,完全相同,都是linux系统下,最原始的:“编译安装 3步走~”。特别注意,这3个软件包,安装有先后顺序的,按照:driver —— lib —— utils进行。

1. 先在终端里面,下载: xmlto,这个软件包并安装

方法: 从“应用程序”—”附件“,打开”终端“,输入: sudo apt-get install xmlto。这样来下载安装。安装好就把终端窗口放一边,我们后面会用到。

2. 解压你下载好的:alsa-driver-1.0.20.tar.bz2

3. 在终端里面cd解压文件夹的名字

4. 回车后,继续输入: ./configure 回车

说明:这个步骤,就是传说中的,编译、配置源代码,根据操作系统的不同,根据其所附带的软件包不同,因此,这个configure过程也不尽相同。因此,没人能够预知会出现什么问题。但是有个前提,就是,你按回车后,屏幕就开始滚动,直到完成,你要看看有没有出现: error(错误),这个词。如果没有,你就能继续下面的步骤了,如果中途出现了”错误“,那就必须先根据终端里面给出的错误提示信息,来上网搜索,解决这个错误。解决后,再回过头来,重新“./configure”

5.完成后:make 回车

这个过程,会有一个警告(warnning):警告: 格式字符串不是一个字面字符串而且没有待格式化的实参“,这个没事,不用理会它。看图吧。make的过程比较长,大约20分钟左右,最后会出现图里面的:”Alsa modules were successfully compiled“,就代表成功了。

6. 完成后返回命令提示符,输入: sudo make install ,回车即可开始安装驱动。

三. 后面的两个软件包的安装。

刚才说了,3个包,安装的步骤,过程,完全一样。我就简述下了。

alsaconf

重新启动电脑了。对于目前流行的大部分声卡,你就能听到动听的声音了。

注意:重启后播放视频没声音时候把音频输出设为alsa,切记!~
bootu
帖子: 66
注册时间: 2006-12-05 10:53

Re: [已解决]xubuntu 没有声音,但是开机登录的时候有开机鼓点声音,进去后没有声音

#4

帖子 bootu » 2009-06-14 13:24

我到第三部编驿不过去了,哪位大大给看一下怎么解决?

Making all in include
make[1]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/include'
make all-am
make[2]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/include'
make[2]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/include'
make[1]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/include'
Making all in alsactl
make[1]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/alsactl'
Making all in init
make[2]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/alsactl/init'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/alsactl/init'
make[2]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/alsactl'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/alsactl'
make[1]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/alsactl'
Making all in utils
make[1]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/utils'
Making all in m4
make[1]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/m4'
Making all in po
make[1]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/po'
Making all in alsamixer
make[1]: Entering directory `/home/roger/Desktop/alsa-utils-1.0.20/alsamixer'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -DCURSESINC="<ncurses.h>" -g -O2 -MT alsamixer.o -MD -MP -MF ".deps/alsamixer.Tpo" -c -o alsamixer.o alsamixer.c; \
then mv -f ".deps/alsamixer.Tpo" ".deps/alsamixer.Po"; else rm -f ".deps/alsamixer.Tpo"; exit 1; fi
alsamixer.c:122:19: error: ncurses.h: No such file or directory
alsamixer.c:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
alsamixer.c: In function ‘mixer_init_draw_contexts’:
alsamixer.c:343: error: ‘COLOR_WHITE’ undeclared (first use in this function)
alsamixer.c:343: error: (Each undeclared identifier is reported only once
alsamixer.c:343: error: for each function it appears in.)
alsamixer.c:343: error: ‘A_BOLD’ undeclared (first use in this function)
alsamixer.c:343: error: ‘COLOR_BLACK’ undeclared (first use in this function)
alsamixer.c:343: error: ‘A_NORMAL’ undeclared (first use in this function)
alsamixer.c:344: error: ‘COLOR_YELLOW’ undeclared (first use in this function)
alsamixer.c:345: error: ‘COLOR_CYAN’ undeclared (first use in this function)
alsamixer.c:348: error: ‘COLOR_GREEN’ undeclared (first use in this function)
alsamixer.c:349: error: ‘COLOR_RED’ undeclared (first use in this function)
alsamixer.c:351: error: ‘A_DIM’ undeclared (first use in this function)
alsamixer.c:352: error: ‘COLOR_BLUE’ undeclared (first use in this function)
alsamixer.c:352: error: ‘A_REVERSE’ undeclared (first use in this function)
alsamixer.c:355: error: ‘ACS_CKBOARD’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_clear’:
alsamixer.c:394: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:394: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_abort’:
alsamixer.c:409: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:411: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c:413: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_cbar_get_pos’:
alsamixer.c:463: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c:481: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c: In function ‘draw_volume_bar’:
alsamixer.c:825: error: ‘ACS_LTEE’ undeclared (first use in this function)
alsamixer.c:826: error: ‘ACS_RTEE’ undeclared (first use in this function)
alsamixer.c:828: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:829: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:831: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c:837: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:855: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:858: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c: In function ‘draw_playback_switch’:
alsamixer.c:866: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:867: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:869: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c:871: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:874: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:877: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_draw_frame’:
alsamixer.c:1209: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:1214: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:1220: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:1221: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c:1222: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:1224: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_show_text’:
alsamixer.c:1418: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c:1419: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:1420: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:1421: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c:1426: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:1428: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:1445: error: ‘ACS_CKBOARD’ undeclared (first use in this function)
alsamixer.c:1446: error: ‘ACS_BLOCK’ undeclared (first use in this function)
alsamixer.c:1447: error: ‘ACS_BOARD’ undeclared (first use in this function)
alsamixer.c: In function ‘recalc_screen_size’:
alsamixer.c:1650: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_init_window’:
alsamixer.c:1854: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:1867: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_resize’:
alsamixer.c:1886: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:1886: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_iteration’:
alsamixer.c:2010: error: case label does not reduce to an integer constant
alsamixer.c:2026: error: case label does not reduce to an integer constant
alsamixer.c:2031: error: case label does not reduce to an integer constant
alsamixer.c:2035: error: case label does not reduce to an integer constant
alsamixer.c:2037: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c:2045: error: case label does not reduce to an integer constant
alsamixer.c:2055: error: case label does not reduce to an integer constant
alsamixer.c:2077: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c:2088: error: ‘KEY_BTAB’ undeclared (first use in this function)
alsamixer.c:2091: error: ‘KEY_A1’ undeclared (first use in this function)
alsamixer.c:2095: error: ‘KEY_A3’ undeclared (first use in this function)
alsamixer.c:2099: error: ‘KEY_C1’ undeclared (first use in this function)
alsamixer.c:2103: error: ‘KEY_C3’ undeclared (first use in this function)
alsamixer.c:2107: error: ‘KEY_RIGHT’ undeclared (first use in this function)
alsamixer.c:2111: error: ‘KEY_LEFT’ undeclared (first use in this function)
alsamixer.c:2115: error: ‘KEY_UP’ undeclared (first use in this function)
alsamixer.c:2121: error: ‘KEY_DOWN’ undeclared (first use in this function)
alsamixer.c:2127: error: ‘KEY_PPAGE’ undeclared (first use in this function)
alsamixer.c:2132: error: ‘KEY_NPAGE’ undeclared (first use in this function)
alsamixer.c:2136: error: ‘KEY_BEG’ undeclared (first use in this function)
alsamixer.c:2137: error: ‘KEY_HOME’ undeclared (first use in this function)
alsamixer.c:2140: error: ‘KEY_LL’ undeclared (first use in this function)
alsamixer.c:2141: error: ‘KEY_END’ undeclared (first use in this function)
alsamixer.c:2250: error: ‘KEY_IC’ undeclared (first use in this function)
alsamixer.c:2255: error: ‘KEY_DC’ undeclared (first use in this function)
make[1]: *** [alsamixer.o] Error 1
make[1]: Leaving directory `/home/roger/Desktop/alsa-utils-1.0.20/alsamixer'
make: *** [all-recursive] Error 1
回复