Sound doesn't work on panda on ICS

Bug #890346 reported by Zach Pfeffer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
High
vishal
linaro-landing-team-ti
Invalid
Undecided
Unassigned

Bug Description

Zach Pfeffer (pfefferz)
Changed in linaro-android:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
warmcat (andy-warmcat) wrote :

There have been changes in mixer names come from upstream -->

'HS Left Playback' -> 'Headset Left Playback'
'HS Right Playback' -> 'Headset Right Playback'
'Aux/FM Stereo In' -> 'FM Stereo In'

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
warmcat (andy-warmcat) wrote :

Vishal the mixer names changed post 3.1 on tracking as described in #1

Revision history for this message
vishal (vishalbhoj) wrote :
Changed in linaro-android:
assignee: nobody → vishal (vishalbhoj)
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

Recording using Speech recorder (can be found at : /data/data/com.android.speechrecorder/app_recordings) are not proper- only noise can be heard.

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

Abhishek, Panda is a bit unusual, input jack is like a "line in" not a microphone input. You need to use a 3.55 jack plug - 3.5mm jack plug stereo cable to hook, eg, your laptop headphone socket to the line-in and play music to record for test.

Zach Pfeffer (pfefferz)
summary: - Sound doesn't work on tracking-panda
+ Sound doesn't work on panda on ICS
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
warmcat (andy-warmcat) wrote :

Can we clarify what the issue is in this bug?

Currently, record is indeed broken on one channel, one channel will record like untuned FM hiss, the other channel will record correctly though IF your input mixer settings are correct (see next paragraph). We're working on solving that (it's an inherited breakage from vanilla).

Also, 4460 and 4430 Panda hardware have the Line-in jack physically wired to different inputs on the twl6040. For 4430 Panda it goes to Headset mic and on 4460 Panda, FM analogue input. So, you need to adapt your mixer settings accordingly.

To help with that, I have added a patch that changes the name of the Alsa 'card' for the onboard sound device, for 4430 Panda it's "Panda" and for 4460 Panda it's "PandaES". You can use this to choose the correct mixer settings.

As I wrote a while back above, mixer names have changed in upstream kernel, you will also need to adapt them or your mixer settings won't be correct for playback.

On current tilt-android-tracking, on ICS, both onboard and HDMI audio output is workable at kernel.

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

Thanks to Vishal helping us with some tinyalsa tools, I confirmed onboard audio is working fine for output on ICS with current tilt-android-tracking. So I take from that lack of sound is just ICS userland regression, marking as invalid for us.

Changed in linaro-landing-team-ti:
status: New → Invalid
Revision history for this message
vishal (vishalbhoj) wrote :
Changed in linaro-android:
status: Confirmed → Fix Committed
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
warmcat (andy-warmcat) wrote :

I think Vishal has sorted out onboard audio today, I added a patch to get HDMI audio able to work, but I am not sure if there's something else going on with that.

vishal (vishalbhoj)
Changed in linaro-android:
status: Fix Committed → Triaged
status: Triaged → In Progress
Revision history for this message
vishal (vishalbhoj) wrote :

For Time being I am forcing audio to go through lineout .
http://review.android.git.linaro.org/#change,1352 should get audio onboard audio working.

Revision history for this message
vishal (vishalbhoj) wrote :
Changed in linaro-android:
status: In Progress → Fix Committed
vishal (vishalbhoj)
Changed in linaro-android:
milestone: none → 12.01
Changed in linaro-android:
status: Fix Committed → 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.