QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1626|回复: 16

rh9+alsa.96 请高手帮忙看看错误信息, 谢谢

[复制链接]
发表于 2003-8-10 17:40:04 | 显示全部楼层 |阅读模式
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!

[root@ppcfa utils]# ./alsasound status
ALSA sound driver not loaded.
[root@ppcfa utils]#


////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文件.

请问各位仁兄,我的电脑应该如何是好?
发表于 2003-8-10 18:17:55 | 显示全部楼层
重装ALSA
回复

使用道具 举报

 楼主| 发表于 2003-8-10 19:20:33 | 显示全部楼层
你指的是不是从make install那一步开始过?我已经试过了,没有用.问题依旧.
回复

使用道具 举报

发表于 2003-8-10 21:38:11 | 显示全部楼层
听说有些文章说要关闭所有的正在运行的声卡程序。谁说的,根本就不懂吗!

这样编译alsa:

./configure
make-------------注意这里是make
make install
./snddevice
cd util
./alsaconf
reboot
回复

使用道具 举报

 楼主| 发表于 2003-8-10 21:51:23 | 显示全部楼层
是MAKE了,还编译了我大半个钟头呢...
回复

使用道具 举报

发表于 2003-8-10 22:00:17 | 显示全部楼层
你做第四步了吗?安装设备到/dev目录。
回复

使用道具 举报

 楼主| 发表于 2003-8-10 22:11:30 | 显示全部楼层
都做了
回复

使用道具 举报

发表于 2003-8-11 19:24:59 | 显示全部楼层
没办法,刚装的时候就是得花时间。
其实现在得ALSA什么0.96,0.95要比以前好装,公社里有2篇文章虽然老了点,但照上面做也是“兼容”的。
我觉得写 MODULES.CONF 文件,确定自己的声卡芯片2个地方要注意
回复

使用道具 举报

发表于 2003-8-12 05:08:24 | 显示全部楼层
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.
回复

使用道具 举报

 楼主| 发表于 2003-8-12 12:50:21 | 显示全部楼层
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?
回复

使用道具 举报

 楼主| 发表于 2003-8-12 13:20:53 | 显示全部楼层
[root@ppcfa alsa-driver-0.9.6]# ./configure --with-cards=intel8x0 \ --with-sequencer=yes
configure: error: invalid variable name:  --with-sequencer
回复

使用道具 举报

发表于 2003-8-12 15:15:45 | 显示全部楼层
[quote:8456a91fee="silverme"][root@ppcfa alsa-driver-0.9.6]# ./configure --with-cards=intel8x0 \ --with-sequencer=yes
configure: error: invalid variable name:  --with-sequencer[/quote]

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
回复

使用道具 举报

 楼主| 发表于 2003-8-12 15:45:01 | 显示全部楼层
old problem. doesn't work. utilities cannot be installed..

[root@ppcfa alsa-utils-0.9.6]# ./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.
[root@ppcfa alsa-utils-0.9.6]#
回复

使用道具 举报

发表于 2003-8-12 20:47:45 | 显示全部楼层
[quote:c6071ec4d2="ritou"]./configure --with-cards=intel8x0 \ --with-sequencer=yes;make;make install

[/quote]

我加了--with-oss=yes

楼上的,先执行ldconfig在安装试试
回复

使用道具 举报

发表于 2003-8-13 02:57:13 | 显示全部楼层
[quote:7dcd447595="silverme"]old problem. doesn't work. utilities cannot be installed..

[root@ppcfa alsa-utils-0.9.6]# ./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.
[root@ppcfa alsa-utils-0.9.6]#[/quote]

OK. My bad again. You need to install alsalib before you install utils.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-18 16:46 , Processed in 0.054550 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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