Audio on HDMI is not working on trackin-panda

Bug #889844 reported by vishal
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Medium
Unassigned
Linaro Multimedia WG project
Won't Fix
High
Kurt Taylor
linaro-landing-team-ti
Fix Released
Medium
warmcat

Bug Description

Audio on HDMI is not working on tracking-panda with 3.1 kernel https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=51.

Revision history for this message
vishal (vishalbhoj) wrote :

Audio works on line-out using plughw:0,0 device , but fails when tried on HDMI using plughw:1,0.

Here are the commands I used to verify audio on HDMI.

alsa_amixer cset name='DL1 Mixer Multimedia' 1
alsa_amixer cset name='DL1 Media Playback Volume' 118
alsa_amixer cset name='Sidetone Mixer Playback' 1
alsa_amixer cset name='SDT DL Volume' 120
alsa_amixer cset name='DL1 PDM Switch' 1
alsa_amixer cset name='Headset Left Playback' 'HS DAC'
alsa_amixer cset name='Headset Right Playback' 'HS DAC'
alsa_amixer cset name='Headset Playback Volume' 13

 alsa_aplay -Dplughw:1,0 -vvv init
Playing raw data 'init' : Unsigned 8 bit, Rate 8[ 1296.798492] asoc: can't set codec omap4-hdmi-audio-codec hw params
000 Hz, Mono
aplay: set_params:1117: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: U8
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 1000
PERIODS: 6
BUFFER_TIME: 750000
BUFFER_SIZE: 6000
BUFFER_BYTES: 6000
TICK_TIME: 0

Revision history for this message
warmcat (andy-warmcat) wrote :

Big changes in HDMI code came in from mainline last week, I solved most of the issues around video but I guess something is still broken here.

Changed in linaro-landing-team-ti:
status: New → Confirmed
assignee: nobody → warmcat (andy-warmcat)
warmcat (andy-warmcat)
Changed in linaro-landing-team-ti:
importance: Undecided → Medium
Revision history for this message
Jassi Brar (jassisinghbrar) wrote :

Vishal, the amixer settings above affect only onboard audio, HDMI wouldn't see any difference.
Anyways, the attached patch should fix the HDMI Audio.

warmcat (andy-warmcat)
Changed in linaro-landing-team-ti:
milestone: none → 2012.01
Anmar Oueja (anmar)
Changed in linaro-landing-team-ti:
milestone: 2012.01 → 2011.12
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 11.11 → 11.12
Revision history for this message
Tony Mansson (tony-mansson) wrote :

Vishal says: Audio may be working at the kernel level but Audio HAL layer is not enabled at the userspace level which is causing the problem presently. since the HAL implementation changed from alsa-lib based to tinyALSA based audio can not be enabled and this bug cannot be tested on ICS.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

I think this may be a good bug to hand to MM. I'll ask Tom and company if their interested in taking a look.

Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: High → Medium
milestone: 11.12 → 12.01
importance: Medium → High
Revision history for this message
warmcat (andy-warmcat) wrote :

Hm tilt fixed our side of this a while back, seems remaining issue is android userland side only. Closing our bit.

Changed in linaro-landing-team-ti:
status: Confirmed → Fix Released
Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: High → Medium
milestone: 12.01 → backlog
Revision history for this message
Tom Gall (tom-gall) wrote :

Kurt,

  I'd like to think this bug is a none-issue, but please take a moment and validate it's not. Thanks.

Changed in linaro-multimedia-project:
assignee: nobody → Kurt Taylor (kurt-r-taylor)
milestone: none → 2012.03
importance: Undecided → High
Kurt Taylor (krtaylor)
Changed in linaro-multimedia-project:
status: New → Won't Fix
Fathi Boudra (fboudra)
Changed in linaro-android:
milestone: nearterm → none
vishal (vishalbhoj)
Changed in linaro-android:
status: New → Won't Fix
assignee: vishal (vishalbhoj) → nobody
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.