Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339856

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

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
Date 2016-02-22 20:30 +0100
Message-ID <r54lc-274-9@gated-at.bofh.it> (permalink)
References (2 earlier) <r1h7k-4kD-7@gated-at.bofh.it> <r1P8Z-1hb-1@gated-at.bofh.it> <r2bjc-7Fs-1@gated-at.bofh.it> <r4VBh-42I-11@gated-at.bofh.it> <r541Q-1YW-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 2016-02-22 15:59:48, Diego Viola wrote:
> On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek <pavel@ucw.cz> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-10 05:30 +0100
  Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-10 22:40 +0100
    Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-12 09:20 +0100
      Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-13 21:40 +0100
        Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-14 21:20 +0100
          Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Richard Weinberger <richard.weinberger@gmail.com> - 2016-02-14 21:30 +0100
          Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Pavel Machek <pavel@ucw.cz> - 2016-02-22 11:10 +0100
            Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-22 20:10 +0100
              Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Pavel Machek <pavel@ucw.cz> - 2016-02-22 20:30 +0100
                Re: Computer fails to resume from suspend unless I rmmod jme before  initiating the suspend Diego Viola <diego.viola@gmail.com> - 2016-02-23 01:40 +0100
            Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend "Guo-Fu Tseng" <cooldavid@cooldavid.org> - 2016-03-02 06:20 +0100

csiph-web