找回密码
 注册
查看: 590|回复: 4

如何将mandrake下的ALSA设置用到Debian下?

[复制链接]
发表于 2005-1-16 12:42:06 | 显示全部楼层 |阅读模式
几天前我发过一个贴子,说我的IBM TP600E的声卡问题。

机子配置:CPU 366M HZ;MEMORY 192M;HD 20G

我装的所有的LINUX把声卡识别为CS4610,用的驱动是CS46xx,事实上,只有用cs4232,cs4236之类的驱动才可用。

我装的Sarge内核是2.6.8-1-386,装了alsa-base,alsa-utils。配置的时候一切正常,但重启还是用的CS46xx或是snd-cs46xx的驱动。

死活不行。

昨天我装了一下mandrake10.0,并用alsaconf 配置了一下,重启声音一切正常,完全可用。

我仔细对比了一下和Debian的区别:
在mandrake下,我配置完后会提示用alsamixer之类的修改音量;但在DEBIAN下没有。
mandrake用的ALSA是1.0.2版本,而debian用的是1.0.5版

在文件方面,我发现mandrake下有个/etc/modprobe.conf文件,里面有下列语句:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.2 ---
options snd device_mode=0666
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5
# --- END: Generated by ALSACONF, do not edit. ---


我觉得这是一个关键的地方!!

但如何将这几句话用到Debian里呢?要加在哪个文件里呢?

Please give me a hand !
发表于 2005-1-16 12:53:04 | 显示全部楼层
alsaconf 命令配置修改/etc/modprobe.conf,基本上就是一路回车
回复

使用道具 举报

发表于 2005-1-16 16:35:53 | 显示全部楼层
You need to save the information below into a file in the /etc/modutils/ directory (Eg. /etc/modutils/alsa) and run update-modules

[code:1]
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-au8820  
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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
[/code:1]

In your case , it is not au8820 , instead of  what your audio card is .(cs4624 maybe), then  dont forget to run  update-modules
回复

使用道具 举报

 楼主| 发表于 2005-1-18 20:15:58 | 显示全部楼层
[quote:886a2f54ce="cnhnln"]用 alsaconf 命令配置修改/etc/modprobe.conf,基本上就是一路回车[/quote]



[quote:886a2f54ce="linky_fan"]You need to save the information below into a file in the /etc/modutils/ directory (Eg. /etc/modutils/alsa) and run update-modules

[code:1]
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-au8820  
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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
[/code:1]

In your case , it is not au8820 , instead of  what your audio card is .(cs4624 maybe), then  dont forget to run  update-modules [/quote]

在我update-modules后,用alsamixer,出现"is not found or is busy"的提示,重启也没用
回复

使用道具 举报

发表于 2005-1-19 20:54:21 | 显示全部楼层
modprobe过没有?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-13 21:53 , Processed in 0.021869 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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