<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Radek,<div><br><div><div>Am 21.01.2016 um 11:01 schrieb Radek Polak <<a href="mailto:psonek2@seznam.cz">psonek2@seznam.cz</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 9pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 'DejaVu Sans Mono';"><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">On Wednesday 20 of January 2016 19:03:14 H. Nikolaus Schaller wrote:</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> The assumption that there is  "the" user space of a given platform is wrong.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">You can bundle initramfs with daemon that does the GPS power control.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">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.</div></div></blockquote><div><br></div>Yes, sure it *can* be hacked differently for this single case (but raising a different set of problems).</div><div><br></div><div>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.</div><div><br></div><div>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). </div></div><div><br></div><div>This does no exclude to use initramfs for other reasons and avoids compatibility problems with different initramfs setups someone might want to use/develop.</div><div><br></div><div>BR,</div><div>Nikolaus</div></body></html>