Skip to content

linux-yocto: enable audio for qemux86 and qemux86-64

Bruce Ashfield poky yocto 1 version Applied

Status from this message: Merged to master, thanks Bruce.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1linux-yocto: enable audio for selected qemu targetsmeta/classes/kernel-yocto.bbclass meta/conf/distro/include/poky-default-revisions.inc meta/recipes-kernel/linux/linux-yocto_git.bb+9 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] linux-yocto: enable audio for qemux86 and qemux86-64

Richard/Saul,

This Fixes [BUGID #488 #734]

As discussed, this enables the configuration options for qemu audio for x86/x86-64 (limited to this for now). I did build and boot testing (but couldn't directly test audio) for the impacted qemu boards.

The commit message from the patch tells the rest of the story:

Enable audio for qemux86/qemux86-64 via the following kernel configuration options.

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

The mechanism to trigger these options is in the form of an optional kernel feature that is only appended for qemux86 and qemux86-64, but is contained within the kernel tree.

This allows several things:

- the options to be available/shared for all boards
- the options to be in tree
- to not add the options to every board, which unecessarily bloats the default configuration.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: zedd/kernel
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Thanks,
Bruce Ashfield <[email protected]>
---

Bruce Ashfield (1):
linux-yocto: enable audio for selected qemu targets

 meta/classes/kernel-yocto.bbclass                  |    4 +++-
 .../conf/distro/include/poky-default-revisions.inc |    4 ++--
 meta/recipes-kernel/linux/linux-yocto_git.bb       |    6 ++++--
 3 files changed, 9 insertions(+), 5 deletions(-)