LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 5610|回复: 17

关于安装ALSA声卡驱动的一个提醒!

[复制链接]
发表于 2004-10-13 09:57:35 | 显示全部楼层 |阅读模式
在alsa-driver-1.0.6a的包里的INSTALL中有这样一句话:

You must compile the kernel with sound support (CONFIG_SOUND on
2.2/2.4 kernels) either as module or built-in. You do not need to
select any of the other sound modules apart from sound support.


大概的意思是:
你必须编辑内核(在2.2.或2.4版本的内核中,当然可以是新版本内核)的声卡模块:,config_sound,做为一个模块或是编辑在内核中,你不需要再选择任何的其它的声卡
模块来支持你声卡。

在这里我想提醒大家:CONFIG_SOUND=m 是一个好的做法。

当你安装完ALSL-1.06A-DRIVER 后会有一个提示:


WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.

意思是说:默认状态下ALSA的声卡控制器是静音的,你必须使用ALSA或OSS的声音控制器来设置音量。

注意:此时关于声卡的驱动已经安装完成,有朋友说不能执行:
./alsaconf 这一步,我自己安装的时候是知道声卡的型号的,所以直接就配置的modules.conf文件,而lirry朋友已经解决了这个问题:(http://www.linuxsir.cn/bbs/showthr...mp;pagenumber=2)

我刚刚解决了上面几个老兄提到的问题.
其实是这样的,rr19xx兄写的贴子一点错也没有,只是对安装步骤的理解问题:
@当在driver目录下执行完./snddevices后,应该马上转到lib目录 去,并在lib目录下执行:
#./configure
#make
#make install
之后马上转到utils目录去执行:
#./configure
#make
#make install
这样就可以在utils目录下运行./alsaconf
对于1.0.6版./alsaconf存在alsaconf子目录下,并没有隐藏.所以应该执行:
#cd alsaconf
#alsaconf
这样就可以了.
注意次序不能错,否则也有错误信息.

现在我们来安装一个MIXER吧,所以才要安装:
gamix

安装完成以后就可以使用你的声卡了,
发表于 2004-10-15 19:30:55 | 显示全部楼层
best

有些新手弟兄,对于安装方面还是有点难度。虽然有好多教程,有时还是拿不下。

hades兄辛苦了。。。。。
发表于 2004-10-15 19:58:30 | 显示全部楼层
小弟在此问一下:ALSA能支持多音频流吗?
发表于 2004-10-15 20:00:37 | 显示全部楼层
最初由 ldh168 发表
小弟在此问一下:ALSA能支持多音频流吗?


说实在的,我用的alsa还是能行的,没有碰到过不能多音频的事。比如播放vcd,也一样用xmms播放mp3。由此可以看到能否多音频与声卡的芯片有关。

不知对否?
发表于 2004-10-15 20:03:35 | 显示全部楼层
那为何我使用XMMS播放时,再打开Realplay时Realplay象死了一样,此时关闭XMMS,Realplay就可正常运行。
发表于 2004-10-15 21:59:30 | 显示全部楼层
笔记本的声卡就是麻烦。方正s1000,安装Debian sid。ich4板载ac97声卡,声音系统alsa。alsaixer下可以对很多声音选项调整了,桌面环境下也可以调整声音了。但是扬声器还是没有声音。
上网google到很多东西。比如这个:
http://linux.w1n-forum.net/
提到可以调整register参数来使扬声器发声!?
按着帖子作了,无效。
OSS也配置过(和alsa分开试验的),从dmesg看到设备认出了,还是没声音。
Knoppix也没声,启动过程中看到声卡认出了,型号没有错。
不只各位对此有什么秘籍。多谢!
发表于 2004-10-22 15:31:41 | 显示全部楼层
第一步就出错:(
./configure --with-cards=via82xx

config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
root@gentoo:/home/vvlaw/down/drivers/alsa/alsa-driver-1.0.7rc2#ls /include
发表于 2004-10-22 15:36:49 | 显示全部楼层
详细一点吧~~~希望大家能够帮到:(弄了好久了alsa,一直搞不定~~~

checking for driver version... 1.0.7rc2
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "no"
checking for PC9800 support in kernel... "no"
checking for parallel port support... "yes"
checking for which soundcards to compile driver for... via82xx
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
root@gentoo:/home/vvlaw/down/drivers/alsa/alsa-driver-1.0.7rc2#
发表于 2004-10-22 15:42:18 | 显示全部楼层
#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

==================
声卡在内核里头设置没有错呀
发表于 2004-10-22 16:44:54 | 显示全部楼层
奇怪!!!~~~
emerge的话,可以下去~~~

但是./snddevices的时候好像有错误~!~

#./snddevices
Creating /dev/mixer?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/sequencer...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/midi0?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/dsp?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/audio?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/sndstat...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/music...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/dmmidi?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/dmfm?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/amixer?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/adsp?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/amidi?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/admmidi?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
创建连至‘/dev/mixer0’的符号链接‘/dev/mixer’
创建连至‘/dev/midi00’的符号链接‘/dev/midi’
创建连至‘/dev/dsp0’的符号链接‘/dev/dsp’
创建连至‘/dev/audio0’的符号链接‘/dev/audio’
创建连至‘/dev/music’的符号链接‘/dev/sequencer2’
创建连至‘/dev/adsp0’的符号链接‘/dev/adsp’
创建连至‘/dev/amidi0’的符号链接‘/dev/amidi’
mv: 无法移动‘/dev/sndstat’至‘/dev/1sndstat’: 不允许的操作
rm: 无法删除‘/dev/snd’: 是一个目录
mv: stat‘/dev/1sndstat’失败: 没有那个文件或目录
rm: 无法删除‘/dev/snd/controlC0’: 不允许的操作
rm: 无法删除‘/dev/snd/pcmC0D0c’: 不允许的操作
rm: 无法删除‘/dev/snd/pcmC0D0p’: 不允许的操作
rm: 无法删除‘/dev/snd/seq’: 不允许的操作
rm: 无法删除‘/dev/snd/timer’: 不允许的操作
rmdir: ‘/dev/snd’: 不允许的操作
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
Creating /dev/snd/control?...mknod: ‘/dev/snd/controlC0’: 文件已存在
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
rm: 无法删除‘/dev/snd/seq’: 不允许的操作
Creating /dev/snd/seq...mknod: ‘/dev/snd/seq’: 文件已存在
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
rm: 无法删除‘/dev/snd/timer’: 不允许的操作
Creating /dev/snd/timer...mknod: ‘/dev/snd/timer’: 文件已存在
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/snd/hw??...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/snd/midi??...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/snd/pcm??p...mknod: ‘/dev/snd/pcmC0D0p’: 文件已存在
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/snd/pcm??c...mknod: ‘/dev/snd/pcmC0D0c’: 文件已存在
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
ALSA loader devices
Creating /dev/aload?...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
Creating /dev/aloadSEQ...chown: `root.audio' syntax is obsolete; use `:' since this will be removed in the future
done
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表