On Wed, 14 Nov 2018, at 13:10:55 +0100, Riccardo Mottola wrote: >HI all, > >I take the discussion started on a similar thread on netbsd-users over here, >since it is still a "current" issue and to debug it I am using netbsd-GENERIV >kernels from RelEng. [...] > >the question is again.. suggestions on what to disable, if you have patch >suggestions, etc.
FWIW, I'm able to get suspend and resume to work reliably on a Lenovo T420 with NetBSD-8.0_STABLE. (With 8.99.x, it doesn't work as reliably because the SATA driver seems to have issues after resumption which don't occur with 8.0.) I didn't have to do anything of note to get it to work, it just does, assuming there's nothing extra attached. (Read on below.) On the other hand, I cannot get it to work on a Lenovo x131e (the AMD CPU version, with Radeon graphics). With that machine, it resumes, but the display stays dark. (This behaviour is consistent with most Linux kernels I've tried as well, so there's something tricky about it.) One other thing to consider is whether you have anything extra plugged into the USB stack when you're trying to suspend. I've found having pretty much anything plugged in (including a mouse) causes my T420 to fail to completely suspend. Regards, Dave