免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1277 | 回复: 6
打印 上一主题 下一主题

怎么装声卡??在线等~~!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-21 22:20 |只看该作者 |倒序浏览
我的主板是华硕p4pe-x,我看了好多有关安装alsa 声卡的方章。我都试过了。。都不可以用。。

./configure --with-cards=intel8x0
make install
./snddevices
# ALSA native device support
alias char-major-116 snd
options snd major=116 cards_limit=1
alias snd-card-0 snd-intel8x0

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-intel8x0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >;/dev/null 2>;&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >;/dev/null 2>;&1 || :
我这样做对吗?我用的小红帽9。。。/etc/modules.conf这个文件我改成上面的时候。可是重启的话。。这个文件会改变。这是为什么。。完成后有下面的

Loading driver...
Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod snd-intel8x0 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1050: No soundcards found...
===============================================================================

Now ALSA is ready to use.
For adjustment of volumes, please use alsamixer or gamix.

Have a lot of fun!
这是什么意思...还是没声啊有谁可以告诉我

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
2 [报告]
发表于 2004-03-21 22:28 |只看该作者

怎么装声卡??在线等~~!!!

没有编译成功嘛,fail在哪里摆着的啊,要不你就继续研究,要不就用oss,要不买块linux支持很好的声卡,没有别的办法了!

论坛徽章:
0
3 [报告]
发表于 2004-03-22 00:12 |只看该作者

怎么装声卡??在线等~~!!!

重新编译kernel,只选则“声音支持”,然后安装alsa。

论坛徽章:
0
4 [报告]
发表于 2004-03-22 22:15 |只看该作者

怎么装声卡??在线等~~!!!

可不可以说清楚点。。在哪项里呢?我是菜鸟~~!

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
5 [报告]
发表于 2004-03-22 22:31 |只看该作者

怎么装声卡??在线等~~!!!

[quote]原帖由 "express"]重新编译kernel,只选则“声音支持”,然后安装alsa。[/quote 发表:


恩,声音支持里面也有很多选项吧?能不能说清楚点?还是全选?这样的话只能编译成modules吧?但是似乎这样编译的话,要把生成的文件人工拷贝到对应目录下吧?

谢谢,不胜感激。^_^

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2004-03-22 22:40 |只看该作者

怎么装声卡??在线等~~!!!

[quote]原帖由 "lqrbi20"]可不可以说清楚点。。在哪项里呢?我是菜鸟~~![/quote 发表:


既然和我一样是菜鸟就用oss吧,现在网上已经有了它的license了,免费使用啊,基本上装上就可以使了。

如果,你坚持要自己编译那个alsa建议先买两本oreilly书读读,有点基础在编就会很容易了,要不然,就算照着网上的文章做成了,也学不到什么东西,一般都是一头雾水,然后第二次编译,再照着文章做一遍……

论坛徽章:
0
7 [报告]
发表于 2004-03-23 07:05 |只看该作者

怎么装声卡??在线等~~!!!

有个相同的问题在这里,
http://www.linuxquestions.org/questions/history/134543


我刚在我的IBM A31上装好声卡. 用的是gentoo, 内河是2.6.4.
大概过程如下:
1) 编译内核时,选上ALSA 支持
2)创建 编辑/etc/modules.d/alsa, 加上:
alias snd-card-1 snd-intel8x0
alias sound-slot-0 snd-card-0

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

3)运行
modules-update
在gentoo 里, 这个命令根据/etc/modules.d/目录下的东西更新 /etc/modprobe.conf  (2.6.x kernel) or /etc/modules.conf.  REDHAT 里应该有相似的工具, 因为每次启动时, 系统都会运行这个命令, 所以手动修改两个conf会被覆盖.

4)运行
rc-update add alsasound boot
在gentoo 里, 这个命令把启动alsa的指令加到/etc/init.d/, 所以每次reboot 都会启动alsa.

5)安装alsa-utils. 打开声音.

手动启动alsa
#/etc/init.d/alsasound start
# amixer
# amixer set Master 100 unmute (主音箱?)
# amixer set PCM 100 unmute    (Pulse-Code Modulation ??)
Only if the above doesn't succeed on its own:
# amixer set Center 100 unmute
# amixer set Surround 100 unmute
Test the sound:
# aplay $KDEDIR/share/sounds/pop.wav // (pop.wav is part of KDE)

看看这个,或许有帮助. 安装的过程可能不同, 但道理是一样的.
http://www.gentoo.org/doc/en/alsa-guide.xml
http://foolish.digitalinc.info/docs/alsa/
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP