LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]还是alsa的问题!:(

[复制链接]
发表于 2004-10-22 14:19:17 | 显示全部楼层 |阅读模式
之前在内核里头都选*,结果lsmod没有任何东东

这次索性把sound的选项都M了,但是oss三项没有选~!~

开机lsmod显示:
vvlaw@gentoo:~$lsmod
Module                  Size  Used by
snd_via82xx            23524  -
snd_ac97_codec         65640  -
snd_pcm                84168  -
snd_timer              20968  -
snd_page_alloc          8780  -
snd_mpu401_uart         5924  -
snd_rawmidi            18368  -
snd_seq_device          6508  -
snd                    42072  -
soundcore               6880  -
======================================
模块应该加载成功。
因为之前emerge alsa-oss.和alsa-utils。那些alsaconf。alsamixer也都可以用

所以,我就直接alsaconf,认到我的声卡
一路配置。提示have fun~~~提示alsa 已经安装完成

但是重启还老是弹出这个soundserver

测试mpg123来听歌,提示不能打开/dev/dsp!~~~
 楼主| 发表于 2004-10-22 14:21:45 | 显示全部楼层
alsa提示成功。
在/etc/modules.d.autoload.d/kernel-2.6里头加上
snd-via82xx

开机的时候会提示loading snd-via82
[OK]

但是开机都弹出这个,而且xmms和sound system里头没有alsa的选项!~~~

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2004-10-22 14:42:25 | 显示全部楼层
/etc/modules.d/alsa文件信息如下

============================
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.6 ---
options snd  device_mode=0666
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. --
==========================
芯片也可以加载,信息如下:(

root@gentoo:/home/vvlaw#modprobe snd-via82xx
root@gentoo:/home/vvlaw#modinfo snd-via82xx
author:         Jaroslav Kysela <perex@suse.cz>
description:    VIA VT82xx audio
license:        GPL
parm:           index:Index value for VIA 82xx bridge.
parm:           id:ID string for VIA 82xx bridge.
parm:           enable:Enable audio part of VIA 82xx bridge.
parm:           mpu_port:MPU-401 port. (VT82C686x only)
parm:           ac97_clock:AC'97 codec clock (default 48000Hz).
parm:           ac97_quirk:AC'97 workaround for strange hardware.
parm:           dxs_support:Support for DXS channels (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA)
vermagic:       2.6.7-gentoo-r11 preempt K7 4KSTACKS gcc-3.3
depends:        snd-ac97-codec,snd-pcm,snd-page-alloc,snd-mpu401-uart,snd
alias:          pci:v00001106d00003058sv*sd*bc*sc*i*
alias:          pci:v00001106d00003059sv*sd*bc*sc*i*
root@gentoo:/home/vvlaw#

---------------------------------------
感觉都没有错。为什么sound system里头没有alsa的选项呢?
发表于 2004-10-22 15:13:58 | 显示全部楼层
如果你是想安装ALSA,你必须重新编辑内核,请看:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=146326
 楼主| 发表于 2004-10-22 15:33:17 | 显示全部楼层
谢谢~~~
不过第一步就出错了
./configure --with-cards=via82xx

config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
root@gentoo:/home/vvlaw/down/drivers/alsa/alsa-driver-1.0.7rc2#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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