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, 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. Thanks.
Yuping Luo
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
#!/bin/sh amixer cset name='DL1 Mixer Multimedia' 1 amixer cset name='DL1 Media Playback Volume' 118 amixer cset name='Sidetone Mixer Playback' 1 amixer cset name='SDT DL Volume' 120 amixer cset name='DL1 PDM Switch' 1 amixer cset name='Headset Left Playback' 'HS DAC' amixer cset name='Headset Right Playback' 'HS DAC' amixer cset name='Headset Playback Volume' 13 aplay -Dhw:0,6 -M -f S16_LE -r 44100 -c 2 test48.wav
audio should be coming from headphone jack on Panda OK.
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.
-Andy
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.
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.
-Andy
Thanks Yuping Luo
On 21 December 2011 19:42, Yuping Luo lypingsh@gmail.com wrote:
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.
We have a few Android Panda baselines depending on what you need. All distro's run ICS.
tracking-panda (TI Landing Team kernel) staging-panda (TI Landing Team kernel) aosp-panda (AOSP kernel) panda (only upstream) landing-panda (AOSP kernel)
aosp-panda and landing-panda are based on AOSP's kernel the rest are based on kernels from the TI landing team. The current release is based on landing-panda. As you may have read AOSP doesn't support audio yet (via tinyalsa) but we're working on that with the rest of the Android community. Feel free to subscribe to
http://lists.linaro.org/mailman/listinfo/linaro-android
I've added the relevant groups.
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.
-Andy
Thanks Yuping Luo
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
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