LinuxSir.cn,穿越时空的Linuxsir!

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

Question About configuring $VIDEO_CARDS and $ALSA_CARDS variable

[复制链接]
发表于 2008-2-17 17:48:44 | 显示全部楼层 |阅读模式
I saw in the file of /usr/portage/profiles/default-linux/make.defaults, the variable $VIDEO_CARDS and $ALSA_CARDS has a lot of cards. Do I need to modify it to what I only need for my computer in make.conf?

If needed, How to change it ? Whether Only copying the definition of the variable and delete the useless flags in make.conf or like USE, using -mach64 to remove the flag?

Thanks. Sorry for using english, because my linux can not use Chinese input method for now.
发表于 2008-2-17 17:53:57 | 显示全部楼层
是的。仅仅写入需要的显卡、声卡就行了。
回复 支持 反对

使用道具 举报

发表于 2008-2-18 09:27:46 | 显示全部楼层
在/etc/make.conf中这么写:
ALSA_CARDS="intel8x0" //声卡类别
VIDEO_CARDS="radeon" //显卡类别
回复 支持 反对

使用道具 举报

发表于 2008-2-19 12:58:59 | 显示全部楼层
我记忆当中,如果你是使用内核中的 ALSA 内核,好像就不用设置 ALSA_CARDS 了。
回复 支持 反对

使用道具 举报

发表于 2008-2-19 15:05:57 | 显示全部楼层
Post by 至高之光;1817681
我记忆当中,如果你是使用内核中的 ALSA 内核,好像就不用设置 ALSA_CARDS 了。




emerge --info

如果不写上,系统就把所有驱动都装上了。
回复 支持 反对

使用道具 举报

发表于 2008-2-20 22:12:48 | 显示全部楼层
不是吧,确实不写 ALSA_CARDS 变量的值是全部系统认可的值,但是如果没有安装 alsa-driver 的话,应该是任何驱动都没有安装才对。
回复 支持 反对

使用道具 举报

发表于 2008-2-20 23:51:50 | 显示全部楼层
Post by 至高之光;1817681
我记忆当中,如果你是使用内核中的 ALSA 内核,好像就不用设置 ALSA_CARDS 了。

在内核中还是要配制声卡设备啊,自然不用ALSA_CARDS这个变量了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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