Re: [PATCH 2/5] HSI: nokia-modem: kernel based PM

From: Pavel Machek
Date: Sun Feb 07 2016 - 16:39:55 EST


On Sun 2016-01-31 19:00:09, Sebastian Reichel wrote:
> Hi,
>
> On Sun, Jan 31, 2016 at 06:29:48PM +0100, Pavel Machek wrote:
> > > So far power management had to be done in uerspace using exported
> >
> > "userspace"
>
> Right, thanks.
>
> > > This patch adds kernel based power management, which will bind the
> > > modem's power state to the state of the phonet network interface.
> >
> > Ok, so I have ofonod that already does power management in
> > userspace. What happens when power management is done twice?
>
> I have patches for ofono, which add support for the in-kernel
> power management. Currently ofono will not start with the new
> method, since it wants the GPIOs for userspace based PM.

Ok, but breaking userspace is a no-no, and stock ofono works well on
N900. So this should not go in as-is...?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html