LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: Hexec

求助alsasound无法自启动

[复制链接]
发表于 2010-3-8 13:36:22 | 显示全部楼层
记得是要编译成模块的M才能使用ALSA
http://www.gentoo.org/doc/zh_cn/alsa-guide.xml
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-8 13:56:46 | 显示全部楼层
Post by blackwhite;2073915
ls /etc/runlevels/default/ -lrt

出来什么结果?

ls /etc/runlevels/boot/ -lrt
这个呢?



default的结果是
lrwxrwxrwx 1 root root 20  3月  7 19:54 net.eth0 -> /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 21  3月  7 19:59 syslog-ng -> /etc/init.d/syslog-ng
lrwxrwxrwx 1 root root 20  3月  7 20:22 netmount -> /etc/init.d/netmount
lrwxrwxrwx 1 root root 17  3月  7 20:22 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 16  3月  7 22:22 hald -> /etc/init.d/hald
lrwxrwxrwx 1 root root 16  3月  7 22:22 dbus -> /的etc/init.d/dbus
lrwxrwxrwx 1 root root 21  3月  8 11:30 alsasound -> /etc/init.d/alsasound
lrwxrwxrwx 1 root root 26  3月  8 12:24 udev-postmount -> /etc/init.d/udev-postmount
lrwxrwxrwx 1 root root 15  3月  8 12:58 xdm -> /etc/init.d/xdm

boot的结果是
lrwxrwxrwx 1 root root 23  3月  7 19:24 consolefont -> /etc/init.d/consolefont
lrwxrwxrwx 1 root root 19  3月  7 20:22 urandom -> /etc/init.d/urandom
lrwxrwxrwx 1 root root 24  3月  7 20:22 termencoding -> /etc/init.d/termencoding
lrwxrwxrwx 1 root root 18  3月  7 20:22 sysctl -> /etc/init.d/sysctl
lrwxrwxrwx 1 root root 16  3月  7 20:22 swap -> /etc/init.d/swap
lrwxrwxrwx 1 root root 16  3月  7 20:22 root -> /etc/init.d/root
lrwxrwxrwx 1 root root 18  3月  7 20:22 procfs -> /etc/init.d/procfs
lrwxrwxrwx 1 root root 18  3月  7 20:22 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 16  3月  7 20:22 mtab -> /etc/init.d/mtab
lrwxrwxrwx 1 root root 19  3月  7 20:22 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 22  3月  7 20:22 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 19  3月  7 20:22 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 19  3月  7 20:22 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 20  3月  7 20:22 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 16  3月  7 20:22 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20  3月  7 20:22 bootmisc -> /etc/init.d/bootmisc
回复 支持 反对

使用道具 举报

发表于 2010-3-9 08:55:27 | 显示全部楼层
Post by chenhaolost;2073917
记得是要编译成模块的M才能使用ALSA
http://www.gentoo.org/doc/zh_cn/alsa-guide.xml


原来有这样的事,学习了。
回复 支持 反对

使用道具 举报

发表于 2010-3-9 09:10:21 | 显示全部楼层
Post by chenhaolost;2073917
记得是要编译成模块的M才能使用ALSA
http://www.gentoo.org/doc/zh_cn/alsa-guide.xml

这个是说法是错的。
回复 支持 反对

使用道具 举报

发表于 2010-3-9 09:49:50 | 显示全部楼层
至少不是非编译成模块才能使用alsa-utils。看你的情况安装应该都没问题了,执行->
rc-update delete alsasound boot ->rc-update delete alsasound default  ->reboot ->rc-update add alsasound default 试试吧
回复 支持 反对

使用道具 举报

发表于 2010-3-9 12:09:33 | 显示全部楼层
无责任猜想之一:/etc/make.conf里指定的ALSA_CARDS有误,intel8x0还是hd-intel,最好到alsa的wiki上查一下

无责任猜想之二:默认静音的,你没有开启,老早前好像遇到过说不能启动的报错(报错有问题),后来的已经能正常报错了

至于alsa模块编译进内核还是模块的问题,以前(大概2年前,当时的手册上好像写不编进模块就可能无法出声音)从OSS到ALSA的时候貌似是有些依赖关系没有解决好才编译成模块而且当时默认的miniCD里是没有这个加载模块的要手动编辑,后来就不清楚了(应该是改进了内核中的某些依赖关系),我至少手动编译内核在四台不同的机器上装了gentoo,都是编译进内核的,全都能正常启动,好久没用过genkernel,所以现在的miniCD是否默认编译进内核还是模块就不清楚了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-9 12:23:59 | 显示全部楼层
莫名其妙的就好了。。。。真是诡异~~
估计是缺什么软件包的原因吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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