Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend

From: Diego Viola
Date: Mon Feb 22 2016 - 19:38:15 EST


On Mon, Feb 22, 2016 at 4:20 PM, Pavel Machek <pavel@xxxxxx> wrote:
> On Mon 2016-02-22 15:59:48, Diego Viola wrote:
>> On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek <pavel@xxxxxx> wrote:
>> > Hi!
>> >
>> >> >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>> >> >>>> at resume unless I unload the jme driver.
>> >
>> > It seems to have some kind of suspend/resume support. ... and it is
>> > rather complex.
>> >
>> > Maybe jme_start_irq(jme) should be moved to the end of jme_resume
>> > function?
>> >
>> >> > So I found that disabling async as in:
>> >> >
>> >> > $ echo 0 > /sys/power/pm_async
>> >> >
>> >> > Helps with my issue, I can't reproduce the hang anymore, tried
>> >> > suspend/resume almost ~15 times.
>> >> >
>> >> > Diego
>> >>
>> >> Can someone please help?
>>
>> Hi Pavel,
>>
>> This did the trick, suspend/resume is now working perfectly for me
>> (tried more than 10 times). :)
>>
>> Thank you so much, should I send a patch?
>
> Yes please.
>
> Pavel
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Sent, thank you.

Diego