alsa ucm udev rules not working on SDP4430
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
Fix Released
|
Medium
|
Tobin Davis |
Bug Description
Release: ubuntu-
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/
ATTRS{id}
ATTRS{id}
With:
ATTRS{id}
ATTRS{id}
ATTRS{id}=="Panda", RUN+="/
ATTRS{id}=="Panda", RUN+="/
... fixes the issue.
With that rules audio is OK on both Panda and SDP4430.
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).