|
kernel-2.6.0-test11编译使用自带的alsa,无法发声.
今日下载kernel-2.6.0,编译时不选择任何声音支持,使用从http://www.alsa-project.org/下载的alsa1.0.0rc2支持声音,编译driver时出错,屏蔽错误后可编译通过,但无法加载声音模块.但此法在kernel-2.6.0-test11下成功.
郁闷之余,使用kernel-2.6.0自带的alsa,选项如下:
在声音选项中
Sound>>>
Sound card support SOUND M
Advanced Linux Sound Architecture >>>
Advanced Linux Sound Architecture SND M
Sequencer support SND_SEQUENCER M
Sequencer dummy client SND_SEQ_DUMMY M
OSS API emulation SND_OSSEMUL Y
OSS Mixer API SND_MIXER_OSS M
OSS PCM (digital audio) API SND_PCM_OSS M
OSS Sequencer API SND_SEQUENCER_OSS Y
RTC Timer support SND_RTCTIMER M
Generic devices >>>
Dummy (/dev/null) soundcard SND_DUMMY M
Virtual MIDI soundcard SND_VIRMIDI M
MOTU MidiTimePiece AV multiport MIDI SND_MTPAV M
UART16550 - MIDI only driver SND_SERIAL_U16550 M
Generic MPU-401 UART driver SND_MPU401 M
PCI devices >>>
此处选择你的相应驱动,我是笔记本,ac97声卡,intel.选择:
Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111 SND_INTEL8X0 M
其余都不选,特别是不必选择"Open Sound System"中任何项目.
编译通过后,从http://www.alsa-project.org下载:ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.0rc2.tar.bz2 & ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.0rc2.tar.bz2,编译后安装.用alsaconf命令配置声卡.
如果无声是音量没有打开,用aumix设置音量,第一项vol多半在0处,调节到右面,(用左右箭头),第二项pcm可以用xmms中音量来调节.
存在问题:任务栏上音量调节不好使,点击后弹出"Couldn't open mixer device /dev/sound/mixer"错误.大概是所指向的设备改变,懒的找原因,反正不影响使用,只不过调节总音量时用字符界面而已.如果有人解决请告知一声,谢谢!
环境配置:
PIII 1.13 G
512M
Linux zzzz 2.6.0 #4 Sun Dec 21 23:58:46 CST 2003 i686 i686 i386 GNU/Linux
Fedora Core release 1 (Yarrow) |
|