[alsa-devel] ASOC: support for Allwinner on-chip codec

jonsmirl at gmail.com jonsmirl at gmail.com
Fri Jul 18 03:21:18 CEST 2014


On Thu, Jul 17, 2014 at 10:18 AM, jonsmirl at gmail.com <jonsmirl at gmail.com> wrote:
> We have the first pass of the ASOC driver for the Allwinner on-chip
> codec making some noise that makes sense.  Code is here...
> https://github.com/jonsmirl/lpc31xx/blob/codec/sound/soc/sunxi/sunxi-codec.c
>
> Something isn't right in the channel assignments. If I play a mono
> clip I hear it. If I play a stereo clip I get silence. If I use
> speaker-test to play eight channels, I hear Center and Side Right
> channels.  Not Front left/right as expected. Device only does stereo.

We have tracked this down to something being wrong in the Linaro rootfs builds.
This one from 6/23 fails:
https://releases.linaro.org/latest/ubuntu/trusty-images/developer

Rootfs from buildroot or debian work.

Maybe Linaro is broken or this SOC driver is sending the wrong info up
to libasound on Linaro.

>
> If anyone wants to do a first pass code review I can start making the
> needed changes.
>
> --
> Jon Smirl
> jonsmirl at gmail.com



-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Alsa-devel mailing list