← Back to team overview

tiomap-dev team mailing list archive

[Bug 880929] [NEW] alsa ucm udev rules not working on SDP4430

 

You have been subscribed to a public bug by Xavier Boudet (x-boudet):

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.

** Affects: alsa-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
alsa ucm udev rules not working on SDP4430
https://bugs.launchpad.net/bugs/880929
You received this bug notification because you are a member of TI OMAP Developers, which is subscribed to the bug report.