LinuxSir.cn,穿越时空的Linuxsir!

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

slack10已经alsaconf加载了声卡模块,仍然没法发声

[复制链接]
 楼主| 发表于 2004-7-6 17:02:17 | 显示全部楼层
up!
 楼主| 发表于 2004-7-6 19:52:03 | 显示全部楼层
运行aumix时提示:
aumix:找不到设备

这个是什么原因呢?
发表于 2004-7-6 20:04:32 | 显示全部楼层
Unless you've patched your kernel to include ALSA support, there won't be any modules for the start-up scripts to load. Your options are to

a.) patch your kernel with the latest diffs from http://www.alsa-project.org/ , recompile, and reinstall the modules,

b.) revert back to using the OSS drivers. Try: "modprobe i810_audio" since the chipset you listed is a superset of the i810 (I think...). To make this permanent, you'll have to uncomment this (or the appropriate) driver in the /etc/rc.d/rc.modules file.

or

c.) If you've used the same compiler and libraries (gcc 3.3.4 and glibc 2.3.2, I believe, same as listed on the site) to build the kernel, you _might_ be able to get away with reinstalling the alsa-driver package. This should repopulate the /lib/modules/2.4.26/ directory with the ALSA modules you're looking for. Do this: "upgradepkg --reinstall $PATH_TO_CDROM/slackware/l/alsa-driver-1.0.5a-i486-2" where $PATH_TO_CDROM is your Slackware disc or mounted image.

A word of warning, this last suggestion will only work correctly with a matching kernel version. If you try it on kernel 2.4.27 or whatever, not only will the package install the modules to the incorrect direcotry, modutils will also complain about an incorrect kernel version and refuse to load them. (That is, unless the kernels are built without version-checking and Patrick has wired the scripts to install to the current running kernel's module directory. I haven't looked at the doinst.sh file for alsa-driver.)

Hope that helps a little bit.
 楼主| 发表于 2004-7-6 20:22:20 | 显示全部楼层
谢谢楼上的
看我的主题还有lsmod | grep snd的结果声卡模块已经加载了,2.4.26的内核和2.6.7的都是
ps:我没有自己编译内核装的是testing下的kernel2.6.7和alsadriver,自带的2.67好象没有oss
 楼主| 发表于 2004-7-6 20:32:45 | 显示全部楼层
算了,我编译内核吧
发表于 2004-7-6 20:58:06 | 显示全部楼层

开机没运行rc.hotplug?

好像这样内核才为声卡生成设备(udev下)
 楼主| 发表于 2004-7-6 21:27:00 | 显示全部楼层
hotplug运行了的
发表于 2004-7-6 22:36:04 | 显示全部楼层

下载alsa-driver源码,运行其中snddevices

看能否生成相关设备
发表于 2004-7-7 19:38:02 | 显示全部楼层
disable hotplug
chmod 660 /etc/rc.d/rc.hotplug
then
edit /etc/rc.d/rc.local and and modprobe your-card-module

reboot your machine
to enable hotplug if this doens work make it executable with chmod 765 /etc/rc.d/rc.hotplug
发表于 2004-7-9 22:44:25 | 显示全部楼层
删掉slackware10的alsa包,到alsa下载相应的源码照alsa网站上的说明自己编译安装就可以搞定,我的T40 72U也是在9下没有问题,在是10加载了模块,但提示找不到mixer,自己编译源码安装后,问题解决
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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