[Gta04-owner] [PATCH 4/6] HACK: disable gpio186 check

Andreas Kemnade andreas at kemnade.info
Sun Apr 23 12:16:54 CEST 2017


On Sun, 23 Apr 2017 10:23:59 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> 
> > Am 23.04.2017 um 09:36 schrieb Andreas Kemnade <andreas at kemnade.info>:
> > 
> > this forcefully enables hw routing
> > and removes the check for gpio186 which is
> > hidden in newer kernels
> > 
> > TODO: add a real check for >= GTA04A4
> 
> either read /proc/device-tree/model and parse the string
> 
> or use "rfkill unblock wwan" or "rfkill list wwan".
> Our rfkill extension for newer kernels should hide modem power control completely,
> so no user-space software should know about gpio186 or have a need to.
> 
The script is not about rfkill.
It is about deciding which set of mixer setting to use.
The presence of gpio186 was tested to detect hw sound routing.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20170423/a8abb4c8/attachment.asc>


More information about the Gta04-owner mailing list