rh9+alsa.96 请高手帮忙看看错误信息, 谢谢
Loading driver...Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: insmod /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o failed
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: insmod snd-intel8x0 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
./alsaconf: line 591: /usr/sbin/alsactl: 没有那个文件或目录
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, please use alsamixer or gamix.
Have a lot of fun!
# ./alsasound status
ALSA sound driver not loaded.
#
////HAVE A LOT OF FUN!!! 我弄了一整晚,看了很多资料都不明白是什么原因. 当我安装ALSA最后一步./alsaconf, 明明搜到是intel8x0 Intel Corp. 82801BA/BAM AC'97 Audio (rev 05), 但配置完声卡后却出现以上FAILED的信息,还叫我HAVE FUN.
///东芝手提SATELLITE系列, RH9昨天新装.
///听说有些文章说要关闭所有的正在运行的声卡程序, 不知如何查看和关闭正在运行的声卡程序? 我查过在MISC目录里面也没有SOUND.O文件,却在/lib/modules/2.4.20-8/kernel/drivers/sound 里查找到该文件. 看上去这个文件夹是个驱动库,所以我没有删除里面的sound.o文件.
请问各位仁兄,我的电脑应该如何是好? 重装ALSA 你指的是不是从make install那一步开始过?我已经试过了,没有用.问题依旧. 听说有些文章说要关闭所有的正在运行的声卡程序。谁说的,根本就不懂吗!
这样编译alsa:
./configure
make-------------注意这里是make
make install
./snddevice
cd util
./alsaconf
reboot 是MAKE了,还编译了我大半个钟头呢... 你做第四步了吗?安装设备到/dev目录。 都做了 没办法,刚装的时候就是得花时间。
其实现在得ALSA什么0.96,0.95要比以前好装,公社里有2篇文章虽然老了点,但照上面做也是“兼容”的。
我觉得写 MODULES.CONF 文件,确定自己的声卡芯片2个地方要注意 Just for your reference since I also have intel 8x0 sound card.
Installation of driver:
./configure --with-cards=intel8x0 \ --with-sequencer=yes;make;make install
Installation of utils:
./configure;make;make install
Then use 'which alsactl' and 'alsactl -v' to make sure the alsactl is 0.9.6 version.
I also installed the lib:
./configure;make;make install
Here is my modules.conf:
...
#Native ALSA
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
#OSS 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
...
You may need to comment out the old config in your old modules.conf about sound card.
Restart and good luck!
BTW, the sound is default set to dumb. Use aslactl to save and restore your sound card volume. my modules.conf settings:
{{{{{
alias eth0 e100
alias usb-controller usb-uhci
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
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
options snd major=116 cards_limit=1
options snd-intel8x0 index=0
# --- END: Generated by ALSACONF, do not edit. ---
}}}}}
Does it work?
为什么明明是搜到声卡,但出来的时候说NO such device? # ./configure --with-cards=intel8x0 \ --with-sequencer=yes
configure: error: invalid variable name:--with-sequencer # ./configure --with-cards=intel8x0 \ --with-sequencer=yes
configure: error: invalid variable name:--with-sequencer
Sorry for the confusion. "\" is not needed. The message editor is not wide enough to contain the entire command. So I use "\" for continuing the command in next line. You can use
./configure --with-cards=intel8x0 --with-sequencer=yes
make
make install old problem. doesn't work. utilities cannot be installed..
# ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...-lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.
# ./configure --with-cards=intel8x0 \ --with-sequencer=yes;make;make install
我加了--with-oss=yes :mrgreen:
楼上的,先执行ldconfig在安装试试 old problem. doesn't work. utilities cannot be installed..
# ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...-lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.
#
OK. My bad again. You need to install alsalib before you install utils.
页:
[1]
2