Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 22:50:02 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Chris Ernst <snowiswhite@gmail.com>
Cc:        Christian Schwarz <me@cschwarz.com>, freebsd-stable@freebsd.org
Subject:   Re: suspend/resume on Skylake (Lenovo T460s) with FreeBSD11 stable
Message-ID:  <20161219214242.N26979@sola.nimnet.asn.au>
In-Reply-To: <a709409b-a7b8-5e37-4de2-01797f394191@gmail.com>
References:  <e94e03fe-08ac-93e6-789f-907c6e993028@gmail.com> <20161217140223.tql6nmpd5gcgjryn@csarch> <a709409b-a7b8-5e37-4de2-01797f394191@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Dec 2016 08:00:19 +0100, Chris Ernst wrote:
 > > On Wed, Dec 14, 2016 at 05:15:12PM +0100, Chris Ernst wrote:
 > > > 
 > > > i have been hardly trying to get my Lenovo T460s to suspend *and to
 > > > resume
 > > > again*.
 > > > 
 > > > Eventually the system suspends when i close the lid.
 > > > The power LED is slowly blinking on and off.
 > > > 
 > > > That is it! I am not able to resume my system anymore.
 > > > When I push the power button once the power LED *keeps* slowly blinking
 > > > on
 > > > and off. :(
 > > 
 > > What was the last revision where suspend/resume worked on your T460s?
 > > 
 > > Approximately two months ago, I tried the then HEAD of drm-next-4.7
 > > of the FreeBSDDesktop repo [1] and had no success.
 > > 
 > > -- Christian
 > > 
 > > [1] https://github.com/FreeBSDDesktop/freebsd-base-graphics
 > > 
 > 
 > Hi Christian
 > Hi all
 > 
 > it never worked.

Have you only tried 11.x?  Have you tried for example a 10.3 memstick?

 > I tried using the FreeBSD 11-STABLE (Revision 310008).
 > As i pointed out in my first post. Suspend is working but i am unable to
 > resume again.

You haven't said .. is this trying to suspend and resume from text or 
graphics mode?  As you see on the Wiki page at your [1], some machines 
work ok with one but not the other.  Others will - or used to - work if 
switching X to text mode before suspending, where that's still possible.

My much older X200 suspends 100% on 9.x, text or X, and on test memstick 
boots of 10.2 and 10.3, from text mode at least.  But not from an 11.0-R 
memstick boot - it suspends fine (text mode, VT) but resumes sans video; 
'Live CD' boot can't onestart sshd (RO /var) so I've not yet pursued it.

Mine's a far older machine, most likely a different issue to yours and 
I'm not chasing that here, just pointing out that mine has worked fine 
for years without tuning on earlier releases, including (before trying 
with latest X) on 10.3-R memstick boots with fairly thorough testing.

 > Actually i am interested in having an exchange of experiences which kernel
 > modules and configs are needed and which one should be avoided to
 > successfully enable suspend/resume.
 > 
 > I already found "Suspend/Resume on FreeBSD-Wiki" [1]. Unfortunately the
 > information provided there is not valuable for me.
 > 
 > Anyone interested in sharing experiences?
 > 
 > best regards
 > Chris
 > 
 > 
 > [1]https://wiki.freebsd.org/SuspendResume

That poge points to https://wiki.freebsd.org/DebuggingSuspendResume 
which may be helpful, especially re reducing your system to minimum 
services and loaded modules.  Odds seem to favour video card issues.

You could browse freebsd-acpi@ and freebsd-mobile@ archives; not sure 
about "s" model but various T460 appear over the time.  Happy hunting.

cheers, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161219214242.N26979>