Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2020 11:05:45 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?Q?Eirik_=c3=98verby?= <ltning@anduin.net>, freebsd-current@freebsd.org
Subject:   Re: Wake from sleep kinda broken-ish? (ThinkPad Carbon X1 6th gen)
Message-ID:  <a70369c3-998d-4fcf-87bf-69f5d9af1c83@selasky.org>
In-Reply-To: <73d1a651-c3b1-5e6d-2af8-f5bc1049bca8@anduin.net>
References:  <0b2f0f19-490b-4bb5-52b3-201e24ebeaee@anduin.net> <8f160583-47bb-3090-9713-ba0857be9b3e@FreeBSD.org> <a287e0f1-a7f1-b307-6254-f89f64c54ed6@anduin.net> <39ceba1e-3e9e-a861-ab71-d376969990c4@FreeBSD.org> <CAKBkRUxd8O-DVvB5E8MNd8N_LkjsNqeOAEfD0SpnRbb_6vnEhw@mail.gmail.com> <73d1a651-c3b1-5e6d-2af8-f5bc1049bca8@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-09-16 10:51, Eirik Øverby wrote:
> On 9/16/20 9:07 AM, Li-Wen Hsu wrote:
>> On Wed, Sep 16, 2020 at 2:30 PM Andriy Gapon <avg@freebsd.org> wrote:
>>>
>>> On 15/09/2020 23:13, Eirik Øverby wrote:
>>>> On 9/15/20 9:50 PM, Andriy Gapon wrote:
>>>>> On 15/09/2020 22:36, Eirik Øverby wrote:
>>>>>> Now, since I updated from r365358 to r365688, I have not once been able to wake from sleep.
>>>>>
>>>>> Is that the only thing that changed?
>>>>> Any port / package upgrades?
>>>>
>>>> There have been updates to packages, yes - but it didn't even occur to me that these could impact the resume process at such an early stage. Not sure which that would be; obviously the drm module has been rebuilt each time I upgraded, but I don't have any other kernel modules installed from packages.
>>
>> Which version of drm module are you using?
> 
> 13.0-CURRENT FreeBSD 13.0-CURRENT #7 r365688
> drm-devel-kmod-5.4.62.g20200905_1
> 
> Built against the running kernel sources, of course.
> 
> 
>>> Yes, I specifically had drm modules in mind.
>>
>> I also use X1C 6th and it was working perfectly after updating BIOS to
>> 1.30 (which I'm currently using) in Sep. 2018 [1]. I don't remember
>> any suspend/resume failures. But since late 2019, it has exactly the
>> same symptom as yours. Suspending is fine, but upon resuming, there is
>> about a 50% probability that the power LDE continues pulsating with
>> all other LDEs like FnLock and CapsLock are on like the machine is
>> awake.
> 
> Right-o.

To make sure suspend/resume is not blocked by USB you can try setting:

sysctl hw.usb.no_suspend_wait=1

--HPS





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a70369c3-998d-4fcf-87bf-69f5d9af1c83>