← Back to team overview

tiomap-dev team mailing list archive

[Bug 893402] Re: [regression] sound not working on panda with lt-omap at 11.11

 

@Dmitry,

1) Linaro 12.01 misses 2 kernel audio driver bug fixes to work properly with pulse and record in all formats.
So be sure to run the latest tilt-linux-linaro-3.1 branch which contains these patches.
If you still want to use the 12.01 kernel (without these patches), then:
 a) make sure to disable pulseaudio:
  edit /etc/pulse/client.conf and set the following property (it will prevent pulse daemon to start):
autospawn = no
 b) record in 32bits format only (S32_LE)
=> then make your tests using aplay / arecord (be careful that if you did not disable pulse, aplay and arecord will try to start it and mess your setup).

If you use the latest kernel in tilt-linux-linaro-3.1, you don't have to
care about that: pulse and any record format will be supported.

2) With this kernel supporting the ABE, you shall use ports going through the ABE for both play and record if you want to make both simultaneously. So for record, use either 0,0 or 0,1, and for playback either 0,0 or 0,6 (all these go through the ABE).
I tested many configurations with 0,0 and all worked fine (including simultaneous play / record).

3) when going through the ABE, you need some extra mixers and volume.
The following mixers settings are good for PandaES and port 0,0 for play
and record:

                # ABE playback path through DL1
                cset "name='DL1 Mixer Multimedia' 1"
                cset "name='Sidetone Mixer Playback' 1"
                cset "name='DL1 PDM Switch' 1"
                cset "name='DL1 Media Playback Volume' 90,90"
                cset "name='SDT DL Volume' 120"

                # ABE PDM-UL capture path
                cset "name='MUX_UL00' 11"
                cset "name='MUX_UL01' 12"

                # TWL6040 playback path
                cset "name='Headset Left Playback' 1"
                cset "name='Headset Right Playback' 1"
                cset "name='Headset Playback Volume' 13"
                
                # TWL6040 capture path
                cset "name='Analog Left Capture Route' 2"
                cset "name='Analog Right Capture Route' 2"
                cset "name='Capture Preamplifier Volume' 2"
                cset "name='Capture Volume' 4"

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to linaro-landing-team-ti.
https://bugs.launchpad.net/bugs/893402

Title:
  [regression] sound not working on panda with lt-omap at 11.11

Status in Linaro Texas Instruments Landing Team:
  Fix Released
Status in Linaro Ubuntu Evaluation Builds:
  In Progress

Bug description:
  on both 4430 and 4460 panda I get no sound out
  I have tried both the gui speaker test and command line and all I here is a click at the beginning and ending of a sound file
  this is with the 21-2 lt-x11 hwpack

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/893402/+subscriptions