[Letux-kernel] GTA04 Audio
H. Nikolaus Schaller
hns at goldelico.com
Tue Jan 10 19:43:14 CET 2017
> Am 10.01.2017 um 19:38 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>
> Hi,
> recently, I found that audio wasn't working any more on the
> GTA04.
>
> By running our letux-4.6 binaries:
>
> http://download.goldelico.com/letux-kernel/letux-4.6/
>
> I found that it is working there, when I run the ./twl4030
> demo script. This has been removed in newer kernel versions.
>
> There is no sound when using the (universal) ./twl script.
> It is universal in the sense that it can run the same
> demos on twl4030 and twl6040 (Pandaboard and Pyra).
>
> After copying back the old twl4030 script I also have
> sound on letux-4.10-rc2. There is only one minor
> difference:
>
> root at letux:~# ./twl4030
> [ 122.537628] omap-mcbsp 49022000.mcbsp: TX Buffer Overflow!
> [ 123.733917] omap-mcbsp 49022000.mcbsp: TX Buffer Overflow!
> [ 124.601043] omap-mcbsp 49022000.mcbsp: TX Buffer Overflow!
> [ 125.232940] omap-mcbsp 49022000.mcbsp: TX Buffer Overflow!
> [ 125.338745] omap-mcbsp 49022000.mcbsp: TX Buffer Overflow!
> [ 126.163330] omap-mcbsp 49022000.mcbsp: TX Buffer Overflow!
> ^CAborted by signal Interrupt...
> root at letux:~#
>
> Anyways, this means that there is a bug in the ./twl script.
>
> Since it also reports TX Buffer Overflow, I think there is
> only a bug in the amixer setup:
>
> http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=Letux/root/twl4030;h=a122995706fb1a08492c5e84fcda4c38e9ecea39;hb=refs/heads/letux-4.6
Found it...
There is an option -nhf (no handsfree) for the ./twl script
and the logic to enable/disable handsfree was negated.
Easy to fix :)
BR,
Nikolaus
>
> BR,
> Nikolaus
>
> PS: the GTA04A5 board work almost perfectly so far. USB works,
> internal/external GPS switch works. Audio and phone calls (software
> routing) can be tested tomorrow :)
>
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
More information about the Letux-kernel
mailing list