alsa ucm udev rules not working on SDP4430

Bug #880929 reported by Xavier Boudet
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
Fix Released
Medium
Tobin Davis

Bug Description

Release: ubuntu-11.10-preinstalled-desktop-armel+omap4 image
alsa-utils version: 1.0.24.2-0ubuntu8.1

I am using the ARM Oneiric image for OMAP4 on Panda and Blaze.
On Panda the Audioo is correctly configured, not on SDP4430.
My understanding is that /usr/bin/alsaucm shall set the card in the udev rules.
Indeed, by running "alsaucm listcards" on Panda or SDP4430 boards, we have following output:
  0: Panda
  1: SDP4430

I suppose that when alsaucm is used without a card precised, the first one is considered.

In file /lib/udev/rules.d/90-alsa-ucm.rules, replacing the following lines :
ATTRS{id}=="SDP4430|Panda", RUN+="/usr/bin/alsaucm set _verb HiFi"
ATTRS{id}=="SDP4430|Panda", RUN+="/usr/bin/alsaucm set _verb Record"

With:
ATTRS{id}=="SDP4430", RUN+="/usr/bin/alsaucm -c SDP4430 set _verb HiFi"
ATTRS{id}=="SDP4430", RUN+="/usr/bin/alsaucm -c SDP4430 set _verb Record"
ATTRS{id}=="Panda", RUN+="/usr/bin/alsaucm -c Panda set _verb HiFi"
ATTRS{id}=="Panda", RUN+="/usr/bin/alsaucm -c Panda set _verb Record"

... fixes the issue.
With that rules audio is OK on both Panda and SDP4430.

Related branches

Revision history for this message
Tobin Davis (gruemaster) wrote :

I'm seeing this now on PandaES as well. The above workaround is only a workaround. The real fix involves fixing alsaucm to only parse the correct set of config files. Ultimately, there could be dozens of UCM configurations. alsaucm needs to pick the right one, not the first one (which seems to be the case here).

Changed in alsa-utils (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
milestone: none → ubuntu-12.04-beta-1
assignee: nobody → Tobin Davis (gruemaster)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-utils - 1.0.25-1ubuntu2

---------------
alsa-utils (1.0.25-1ubuntu2) precise; urgency=low

  * Adjust the ucm udev rule for Pandaboards to reflect the PandaES device
    name changes, thanks to Tobin Davis <email address hidden> for this fix.
    (LP: #880929)
 -- Oliver Grawert <email address hidden> Fri, 24 Feb 2012 18:56:28 +0100

Changed in alsa-utils (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.