LinuxSir.cn,穿越时空的Linuxsir!

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

How to get sound in LFS?

[复制链接]
发表于 2003-8-16 17:26:53 | 显示全部楼层 |阅读模式
I can never get sound in my LFS.
It is said that "It can't find /dev/dsp device".
But I have already compiled my soundcard driver module.

Anybody help me?

Thank you.
发表于 2003-8-16 17:31:10 | 显示全部楼层
装alsa驱动了?
编译alsa驱动时使用的编译器,和编译内核时使用的编译器是同一个版本??
 楼主| 发表于 2003-8-16 17:45:46 | 显示全部楼层

sure

of course
发表于 2003-8-16 19:22:58 | 显示全部楼层
用alsa驱动的话,还要modprobe snd-pcm-oss
这样才会有/dev/dsp设备出来
 楼主| 发表于 2003-8-16 19:29:49 | 显示全部楼层

and if oss driver compiled in kernel?

then how to do it?
发表于 2003-8-17 05:33:02 | 显示全部楼层
Were you compiling OSS drivers into the kernel and not as module? ALSA would not likely to work if you have any OSS module loaded other than soundcore.o.
发表于 2003-8-17 10:09:06 | 显示全部楼层

can't find /dev/dsp

那个文件真的不在那里?
是不是用了devfsd
 楼主| 发表于 2003-8-17 10:37:29 | 显示全部楼层
I didn't use devfsd.
 楼主| 发表于 2003-8-17 10:40:01 | 显示全部楼层
Yes, I compiled OSS drivers into the kernel and it worked well in Mandrake & Debian. Is ALSA  need?
发表于 2003-8-17 21:38:45 | 显示全部楼层
Of course not :cool: if you are happy with OSS. Just make sure you load the appropriate modules (if any) and set your volume to a hearable level. You probably want to remove all the ALSA modules from boot time too, when using an OSS driver.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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