Skip to content

Add alsa-state from OE Classic v2

Joshua Lock openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3alsa-state: add alsa-state from oe classicmeta/recipes-bsp/alsa-state/alsa-state.bb meta/recipes-bsp/alsa-state/alsa-state/alsa-state meta/recipes-bsp/alsa-state/alsa-state/asound.conf +1 more+99 -03 replies
2/3alsa-state: move state files to localstatedirmeta/recipes-bsp/alsa-state/alsa-state.bb meta/recipes-bsp/alsa-state/alsa-state/alsa-state+8 -61 reply
3/3task-base: add alsa-state to task-base-alsameta/recipes-core/tasks/task-base.bb+3 -24 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDarren Hart
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Add alsa-state from OE Classic v2

The small series following introduces the alsa-state recipe from oe-classic. The reason for doing so is to remove the requirement for recipes like the beagleboard-audio recipe in meta-yocto, which ensures the beagleboards sound device has the volume turned up.

Long term I'd like to implement something more generic for handling device quirks, but alsa-state is a simple fix for an immediate need that should standardise how alsa configuration is handled in layers.

Since v1 I've added an extra commit which:
a) defaults to /var/lib/alsa/ for state files, as this is the directory alsactl writes to by default.
b) sed's the path to the state files into the init script, rather than hard codes them.

The following changes since commit fff18970706913e7fd7f4a119d798dddb44b388a:

base-files: filesystems: fix mount order (2012-01-06 14:41:19 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib josh/devices
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/devices

Joshua Lock (3):
alsa-state: add alsa-state from oe classic
alsa-state: move state files to localstatedir
task-base: add alsa-state to task-base-alsa

 meta/recipes-bsp/alsa-state/alsa-state.bb          |   59 ++++++++++++++++++++
 meta/recipes-bsp/alsa-state/alsa-state/alsa-state  |   29 ++++++++++
 meta/recipes-bsp/alsa-state/alsa-state/asound.conf |   12 ++++
 .../recipes-bsp/alsa-state/alsa-state/asound.state |    1 +
 meta/recipes-core/tasks/task-base.bb               |    5 +-
 5 files changed, 104 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-bsp/alsa-state/alsa-state.bb
 create mode 100755 meta/recipes-bsp/alsa-state/alsa-state/alsa-state
 create mode 100644 meta/recipes-bsp/alsa-state/alsa-state/asound.conf
 create mode 100644 meta/recipes-bsp/alsa-state/alsa-state/asound.state
Signature · 1 line
1.7.7.5