On 12/22/2011 09:42 AM, Somebody in the thread at some point said:
Hi Andy, Thanks for your answer.
On Wed, Dec 21, 2011 at 4:33 PM, "Andy Green (林安廸)"andy@warmcat.com wrote:
On 12/21/2011 03:46 PM, Somebody in the thread at some point said:
Hi -
I have one pandboard (4430), however, it's said the audio and
audiohw not supported in the Linaro android release 11.11 or 11.12,
Well, the alsa driver side is working, the two main issues left are about integration with pulse and fixing an issue with one channel of audio record.
So if you update to latest pulseaudio and run this script for example with a 48kHz stereo wav
audio should be coming from headphone jack on Panda OK.
I am interested in the Linaro android release, not try the Linario ubuntu version, and Android doesn't use pulseAudio. as matter of fact, I have tried the ubuntu omap image (from ubuntu site), the audio works just as what you said.
Oh.. I see. The Linaro kernel for Android is just the vanilla one with some Androidization patches applied, so the kernel sound status is the same.
During gingerbread onboard sound in the rootfs was also working after Vishal Bhoj did the work to integrate it.
Now the Android side moved to ICS, I don't know the status of audio there, although I guess we can expect a few things to regress initially in userland due to the big changes. But it's workable on kernel side.
so is there one way to add the support manually ? if yes, where to begin ? I am also interested in enabling the video hw support for the board, but no idea until now.
Do you mean just video output at all? It should be working well from HDMI jack. If you mean accelerated video multimedia decode, this is very close to being there but has a latency bug we didn't get a chance to look at yet
https://bugs.launchpad.net/bugs/880840
once that's solved it should be workable end-end.
I mean the latter, however, it seems that it's only concerned about the ubuntu way.
Right... with TI there's no real relationship between vanilla / ubuntu effort for accelerated MM and Android effort, and despite trying to find a common basis so at least some of the kernelside stuff can be shared between the two ongoing, it doesn't look like that's going to happen.
Part of TI feeds Omapzoom kernel with Android pieces customized around the needs of Android pieces, and the part of TI we (the Landing Team) work with do their own thing differently for Vanilla, driven by needs of gstreamer and X pipeline. Those two implementations conflict reflecting the conflicting drivers creating them.
Of the two, the vanilla side is almost always more closely aligned with upstream implementation, a lot of the stuff that enters and sticks around in Omapzoom does not care much about that it was just trying to get stuff working with whatever was at hand.
In addition, we keep the vanilla stuff up to date on tracking branches, currently 3.2-rc5.
Currently Linaro Android is building AOSP kernel (3.0 based) in addition to ours, which seems to have been fed with / based off omapzoom stuff, although that provides a quick fix for some pieces of the puzzle it has its own problems. I don't know if it provides MM acceleration out of the box either.
And certainly work on AOSP with 3.0 basis does not feed either Linus upstream or synergize with other Linaro kernel work - in fact undermines it - so it will be interesting to see how that plays out.
Anyway currently -- and we did look at it -- there's no easy path for us to add accelerated video decode for Android on LT kernel. After we finished ICS SGX support we might look at it again but it's not the biggest issue on our list.
-Andy