|
发表于 2009-10-23 10:30:55
|
显示全部楼层
楼主, 既然在开源社区,提问和回答你能说多清楚就说多清楚。因为这是你自己的求助,多打几个字描述清楚也是应该,毕竟大家都很忙。
看上面很多兄弟都被你误导到认为是你的用户权限问题里去了。
lz的声卡和显卡也和我的差不多, 不过好象没lz那么费事,看楼主帖子一个一个开的。用emerge alsa-driver的方法早已不提倡, 内核支持就很好了。
lz内核配置最大的失误是认为要用ATI的声卡选项,但事实上不是。如果你没有其它外接设备连到你的ATI显卡,用hda-intel就够了。
如果这样看我的系统是:
- ~ $ sudo lspci |grep Audio
- 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
- 01:00.1 Audio device: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO]
- ~ $ cat /proc/asound/cards
- 0 [Intel ]: HDA-Intel - HDA Intel
- HDA Intel at 0xe4000000 irq 16
- 1 [HDMI ]: HDA-Intel - HDA ATI HDMI
- HDA ATI HDMI at 0xe1010000 irq 17
复制代码
但在我的/etc/modprobe.conf里有这些足以证明:
- alias snd-card-0 snd-hda-intel
- alias sound-slot-0 snd-hda-intel
- # Set this to the correct number of cards.
- options snd cards_limit=1
复制代码
很显然系统只用了snd-hda-intel。
~ $ /etc/make.conf里面, 我只写了
ALSA_CARDS="hda-intel"
内核配置供lz参考:
- │ │ <*> Sound card support --->
- │ │ <*> Advanced Linux Sound Architecture --->
- <*> Sequencer support
- │ │ <*> Sequencer dummy client
- │ │ <*> OSS Mixer API
- │ │ <*> OSS PCM (digital audio) API
- │ │ [*] OSS PCM (digital audio) API - Include plugin system
- │ │ [*] OSS Sequencer API
- │ │ <*> HR-timer backend support
- │ │ [*] Use HR-timer as default sequencer timer
- │ │ [*] Dynamic device file minor numbers
- │ │ [*] Support old ALSA API
- [*] Verbose procfs contents
- │ │ [*] PCI sound devices --->
- <M> Intel HD Audio --->
- [*] Build hwdep interface for HD-audio driver
- [*] Build Analog Device HD-audio codec support
- [*] Build INTEL HDMI HD-audio codec support
- [*] Build Creative CA0110-IBG codec support
- [*] Enable generic HD-audio codec parser
- [*] Aggressive power-saving on HD-audio
- (0) Default time-out for HD-audio power-save mode
复制代码 |
|