[Gta04-owner] alsaloop and poll issues with the modem ALSA driver.
Denis 'GNUtoo' Carikli
GNUtoo at no-log.org
Sun May 20 18:24:37 CEST 2012
I am trying to get a good forwarder to work on the gta04 A3 for SHR
(The forwarder is the main blocking thing for me, since I've no gta04 A4).
Here are the result from debugging alsaloop:
If the modem is in call, the poll system call behave normally:
poll took 246094us //from alsaloop
but if the modem is not in a call:
the poll will take a lot less:
poll took 31us //from alsaloop
which will result in 100% or near 100% CPU usage.
I think that the right thing is to fix the audio driver or the ASOC framework.
More information about the Gta04-owner