ac100 team mailing list archive
-
ac100 team
-
Mailing list archive
-
Message #00312
Re: suspend breakage vs android 2.2 bootloader?
Hi,
it just jumped in my mind that people with suspend problems (especially
wakeup problems) must *not* specify lp0_vec on the kernel cmdline. This
parameter is obsolte now.
Unfortunately, Ubuntu still specify it in /boot/bootimg.cfg sometimes.
Please check and remove it from there and run abootimg again.
Marc
Am Dienstag 27 September 2011, 19:20:41 schrieb Marc Dietrich:
> To those who have problems with suspend (and are willing to compile
> their own kernel), does this patch help?
>
> diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
> index 38857ee..e07753b 100644
> --- a/drivers/staging/nvec/nvec.c
> +++ b/drivers/staging/nvec/nvec.c
> @@ -801,6 +801,8 @@ static int tegra_nvec_suspend(struct platform_device
> *pdev, pm_message_t state)
> dev_dbg(nvec->dev, "suspending\n");
>
> /* keep these sync or you'll break suspend */
> + msg = nvec_write_sync(nvec, "\x0d\x10\x59\xe9", 4);
> + nvec_msg_free(nvec, msg);
> msg = nvec_write_sync(nvec, EC_DISABLE_EVENT_REPORTING, 3);
> nvec_msg_free(nvec, msg);
> msg = nvec_write_sync(nvec, "\x04\x02", 2);
> @@ -819,6 +821,7 @@ static int tegra_nvec_resume(struct platform_device
> *pdev) clk_enable(nvec->clk);
> enable_irq(nvec->irq);
> /* when making the next line nvec_write_sync, resume seems to stop
> working */ + nvec_write_async(nvec, "\x0d\x10\x59\xe8", 4);
> nvec_write_async(nvec, EC_ENABLE_EVENT_REPORTING, 3);
>
> return 0;
>
> Am Dienstag 27 September 2011, 14:04:59 schrieb Jani Monoses:
> > Following current discussion in the IRC channel let's see if the two
> > are related
> >
> > I know I upgraded to Android 2.2 before flashing linux and I have non
> > working suspend now.
> > I wonder if others who have suspend/resume broken are in the same
> > situation? This is one of the few things which can be different on two
> > identical installs (userland+kernel)
> >
> > Jani
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ac100
> Post to : ac100@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ac100
> More help : https://help.launchpad.net/ListHelp
Follow ups
References