LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Debentoo Gao

在Gentoo Linux下轻松安装ALSA

[复制链接]
发表于 2003-7-23 19:45:03 | 显示全部楼层
我编译都可以成功,只是到了启动的时候老是提示找不到声卡,不管我用的是PCI声卡,还是板载声卡都是一样,在LFS下面。
发表于 2003-7-24 21:50:50 | 显示全部楼层
My audio card is
>grep audio /proc/pci
"Intel Corp. 82801BA/BAM AC'97 Audio (rev 2).

How can I do ? are there any tool like sndconfig do it all.

Do I must do
1. compile kernel with
a. sound card support as modue
b. >> intel i8x0  as module
2. restart with new kernel
3. emerge alsa-driver
4. config conf ... then ???
发表于 2003-7-25 03:08:28 | 显示全部楼层
最初由 ztaif 发表
强呀,请版主把这个贴子置顶,肯定要救好多的兄弟的是说!

这样的贴子在置顶的索引里面都有的。
发表于 2003-7-31 04:35:24 | 显示全部楼层
test2内置了alsa了
发表于 2003-9-7 17:35:12 | 显示全部楼层
In larry's Post
My audio card is
>grep audio /proc/pci
"Intel Corp. 82801BA/BAM AC'97 Audio (rev 2).

How can I do ? are there any tool like sndconfig do it all.

Do I must do
1. compile kernel with
a. sound card support as modue
b. >> intel i8x0 as module
2. restart with new kernel
3. emerge alsa-driver
4. config conf ... then ???


I C alsa's card db only 82801AA
Is it ok?
发表于 2003-10-25 10:39:44 | 显示全部楼层
# amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 8 [26%] [on] Capture [off]
Front Right: Playback 12 [39%] [on] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities:
Mono:
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 7 [47%] [on]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities:
Mono:
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [on]
Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'External Amplifier Power Down',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Input Source Select',0
Capabilities:
Mono:
Simple mixer control 'VIA DXS',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Front Left: Playback 255 [100%]
Front Right: Playback 255 [100%]

# amixer set Master 100 unmute
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
# amixer set PCM 100 unmute
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]

when i do this ,there still haven't sound , How to open the sound ?
my soundcard is via8233
(#grep audio /proc/pci
    Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 64).
)
so i use the command env ALSA_CARDS='via82xx' emerge alsa-driverto install ALSA.

# amixer set Center 100 unmute
amixer: Unable to find simple control 'Center',0

# amixer set Surround 100 unmute
amixer: Unable to find simple control 'Surround',0
what's wrong?
发表于 2003-10-26 00:44:58 | 显示全部楼层
我的是创新128数码板,用env ALSA_CARDS='ens1371' emerge alsa-driver安装成功,
再装alsa-utils之后我运行:
#amixer 出现如下错误提示(内核2.6.0-test7只选了sound modules support )
amixer: Mixer attach default error: No such file or directory

这是为什么?
 楼主| 发表于 2003-10-26 11:59:46 | 显示全部楼层
2.6内核已经集成了ALSA,不需要再安装alsa-drivers了呀
发表于 2003-10-26 17:52:37 | 显示全部楼层
gentoo还没有2.6吧,而且2.6的编译方法有点不一样的。
发表于 2003-10-26 18:24:11 | 显示全部楼层
I am using gentoo, Kernel is 2.6.0-test8-mm1, I don't have to install alsa, coz kernel has one.

But sound driver can still not be used by two processes.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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