lb_ok 发表于 2006-8-22 16:24:39

还是600E声卡问题,请高手帮看看这样设置行吗?

我的本本每次启动ML2后,会提示没有/dev/dsp,在网上找了另一种设置声卡方法,请高手们看看,请注意下划线部分。

copy of my /etc/modules.conf(ML2下是否用/etc/moprobe.conf ?)
(nb. i had two different sets of instructions, one was from a webpage, which
i didnt end up using, hence the commented out sections)...


alias net-pf-4 ipx
alias autofs autofs4
alias usb-interface usb-uhci
# alias sound-slot-0 cs46xx
alias char-major-10-219 mwave
keep

path[thinkpad]=/lib/modules/2.4.18-6mdk/thinkpad    [u]<-----MagicLinux 2.0正式版是这个目录吗?[/u]

options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1
enable_thinkpadpm=1 alias char-major-10-170 thinkpad
alias /dev/thinkpad thinkpad
alias /dev/thinkpad/thinkpad thinkpad
alias /dev/thinkpad/smapi smapi
alias /dev/thinkpad/superio superio
alias /dev/thinkpad/rtcmosram rtcmosram
alias /dev/thinkpad/thinkpadpm thinkpadpm

### ALSA sound ###
#
# from linux-audio-user
#
alias char-major-116 sndcard
alias snd-card-0 sndcard
alias char-major-14 sndcard
alias sound-slot-0 sndcard
alias sound-slot-1 off
alias sound-slot-2 off
alias sound-slot-3 off
alias sound-service-0-0 sndcard
alias sound-service-0-1 sndcard
alias sound-service-0-2 sndcard
alias sound-service-0-3 sndcard
alias sound-service-0-8 sndcard
alias sound-service-0-12 sndcard
alias sound sndcard
alias snd-minor-oss-0 sndcard
alias snd-minor-oss-1 sndcard
alias snd-minor-oss-2 sndcard
alias snd-minor-oss-3 sndcard
alias snd-minor-oss-4 sndcard
alias /dev/sound sndcard
alias /dev/sequencer sndcard
alias /dev/music sndcard
alias /dev/adsp* sndcard
alias /dev/snd* sndcard
alias /dev/audio sndcard

alias sndcard snd-cs4236

below snd-pcm-oss sndcard
below snd-seq-oss sndcard
below snd-midi-oss sndcard
below snd-mixer-oss sndcard

above snd-cs4236 snd-mixer-oss snd-pcm-oss snd-seq-oss

options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
snd_device_gid=29 snd_device_uidoptions snd-cs4236 snd_index=0 snd_id=CARD_0
snd_port=0x530 snd_cport=0x538 snd_sb_port=0x220 snd_fm_port=0x388snd_irq=9
snd_dma1=1 snd_dma2=0 snd_enable=1

path=/lib/modules/`uname -r`/alsa
#
#
# ALSA native device support
# from tp600.html
#
#alias char-major-116 snd
#options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666
snd_device_gid=0 snd_device_uid=0
#
#alias sound snd-card-0
#alias snd-card-0 snd-card-cs4236
#
#options snd-card-cs4236 snd_index=0 snd_id=Card1 snd_isapnp=0 snd_port=0x530
snd_cport=0x538 snd_mpu_port=0x330 snd_fm_port=0x388 snd_sb_port=0x220
snd_irq=9 snd_dma1=1 snd_dma2=0 # snd_mpu_irq=10 snd_dma1_size=xxx
snd_dma2_size=xxx
#
# OSS/Free emulation setup
#
#alias char-major-14 soundcore
#alias sound-slot-0 snd-card-0
#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
#alias snd-minor-oss-0 snd-card-cs4236
#alias snd-minor-oss-1 snd-op13
#alias snd-minor-oss-3 snd-pcm-oss

# parallel port

alias char-major-6 lp
alias parport_lowlevel parport_pc
options parport_pc irq=7 io=0x3bc

### PCMCIA

#keep
#path[pcmcia]=/lib/modules/`uname -r`
#path[pcmcia]=/lib/modules/default
#path[pcmcia]=/lib/modules/preferred
#pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start



下面用处是什么?会生成/dev/dsp文件吗?
cat /dev/sda1 > /dev/dsp

sejishikong 发表于 2006-8-22 17:20:44

应该不是,这应该是向/dev/dsp设备发送数据。当然前提/dev/dsp得存在。
alsa识别不出来声卡?更新新的内核和alsa驱动试试。

jiangtao9999 发表于 2006-8-22 20:43:14


/etc/moprobe.conf

一般是不能混用的………
页: [1]
查看完整版本: 还是600E声卡问题,请高手帮看看这样设置行吗?