Bug 751

Summary: qemux86/x86_64 has no audio driver for qemu's emulated sound card
Product: [Yocto Project Subprojects] Kernel Reporter: Edwin Zhai <edwin.zhai>
Component: kernel-configurationAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: edwin.zhai, sgw, yp.kernel.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 488    

Description Edwin Zhai 2011-02-21 18:58:28 UTC
To support audio from guest, we exported ac97&es1370 emulated sound card and enabled oss/also host driver. But linux guest need install proper driver: snd_intel8x0 & snd_ens1370.

To enable them,
Sound Card Support ==>
Advanced Linux Sound Architecture ==>
*Sequence support
*OSS mixer
*OSS PCM
PCI sound device ==>
*(Creative) Ensoniq audiopci 1370
*Intel/SiS/nVidia/AMD/ALI ac97 controller

Thanks,
edwin
Comment 1 Edwin Zhai 2011-02-22 00:06:33 UTC
Bruce,

I have tested following config, which enables qemu sato image with sound support. Pls. add them in your qemu x86/x86_64 kernel config, and mark this bug as fixed then.

==============================
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RAWMIDI_SEQ=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ENS1370=m
CONFIG_SND_INTEL8X0=m
CONFIG_AC97_BUS=m
Comment 2 Bruce Ashfield 2011-02-22 09:42:35 UTC
changes done. out for review by EOD.
Comment 3 Bruce Ashfield 2011-02-23 08:35:42 UTC
code is in tree. built and .config inspected.
Comment 5 Edwin Zhai 2011-03-06 18:12:00 UTC
Verified it got fixed.