Hi Radek,
Am 21.01.2016 um 11:01 schrieb Radek Polak <[email protected]>:
> On Wednesday 20 of January 2016 19:03:14 H. Nikolaus Schaller wrote:
>
> > The assumption that there is "the" user space of a given platform is wrong.
>
> You can bundle initramfs with daemon that does the GPS power control.
>
> QtMoko and some old SHR versions use initramfs [1] for advanced boot options.
> IMO it works great and could be extended to control GPS. And your kernel with
> such initramfs will have GPS always powered properly.
Yes, sure it *can* be hacked differently for this single case (but raising a
different set of problems).
But I think it is not the right way to go. IMHO kernel is there for powering
on/off all resources if there is no active client. Including this GPS chip.
And I don't want to require users to use initramfs if everything else works
without. Just because of this chip (tail wakes the dog).
This does no exclude to use initramfs for other reasons and avoids
compatibility problems with different initramfs setups someone might want to
use/develop.
BR,
Nikolaus
_______________________________________________
Gta04-owner mailing list
[email protected]
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner