Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2014 13:05:30 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        isdtor <isdtor@gmail.com>
Cc:        "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>
Subject:   Re: Best experience with Thinkpad suspend/resume
Message-ID:  <CAJ-Vmok3ftgqGR6pULjA%2BydkBEoVZqiedXsXz-oMye8W0-yPdw@mail.gmail.com>
In-Reply-To: <CAAupw%2BLfaR-mv=eJb=9-4-cOD_P7F2GcZk=zhrksgmz-MWCgUg@mail.gmail.com>
References:  <54707D0A.2060502@peercorpstrust.org> <54709DAF.5050406@shurik.kiev.ua> <CAJ-VmomY95%2B_YJNN2p%2BtrO-JwLAWNUr88v=oFgUmYNDC77pwfQ@mail.gmail.com> <54782046.20804@shurik.kiev.ua> <CAAupw%2BKVivt59c1sp8y-wYgm3FbBjnmGD2Xeo-i8fAP2VpB4CA@mail.gmail.com> <CAJ-VmomvOwQgBCOg1VsO%2BAEkJB1hoEwNLSpkn%2BLmivAM-cA47Q@mail.gmail.com> <CAAupw%2BLfaR-mv=eJb=9-4-cOD_P7F2GcZk=zhrksgmz-MWCgUg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
acpiconf -s3 will suspend from the command line.

You can configure the suspend-from-lid-close in ACPI, doesn't have
into involve Mate.

hw.acpi.lid_switch_state=S3


.. and yes, when you run startx, it should be loading drm2 and
i915kms. If it isn't, then you likely won't see the screen come back
after resume.

Oh, and load acpi_video too before you run startx.



-adrian


On 30 November 2014 at 12:33, isdtor <isdtor@gmail.com> wrote:
> On 30 November 2014 at 00:00, Adrian Chadd <adrian@freebsd.org> wrote:
>> hi!
>>
>> can you just try -HEAD on the laptop and see how it behaves?
>>
>> If it's Ivy Bridge and not Haswell then suspend/resume should work
>> fine as long as vt(4) as a console is used and i915kms is loaded.
>
> I'm not sure how to even test that. The current Mate power manger
> doesn't have config option for action on lid close. When I close the
> lid now, dmesg logs
> CPU0: local APCI error 0x80
>
> Is there a suspend from command line? Yes, this is Ivy Bridge, vt(4)
> is in use, but it doesn't matter whether or not i915kms is loaded. By
> default, it's not, and I'm using the discrete graphics bios option for
> FBSD.
> _______________________________________________
> freebsd-mobile@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok3ftgqGR6pULjA%2BydkBEoVZqiedXsXz-oMye8W0-yPdw>