Hi All,
I am on Slackware current on a Macbook Pro mid-2014 hardware. My issue is slow wake up time from suspend. Here is dmesg output:
[19012.585272] ACPI: PM: Waking up from system sleep state S3
[19012.586791] ACPI: EC: interrupt unblocked
[19012.668825] ACPI: EC: event unblocked
[19012.679266] sd 0:0:0:0: [sda] Starting disk
[19012.991955] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[19012.992435] ata1.00: unexpected _GTF length (8)
[19012.993176] ata1.00: unexpected _GTF length (8)
[19012.993278] ata1.00: configured for UDMA/133
[19013.118567] OOM killer enabled.
[19013.118570] Restarting tasks ... done.
[19013.163835] video LNXVIDEO:00: Restoring backlight state
[19013.163981] PM: suspend exit
[19018.305471] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
You will notice that xhci_hd had a timeout which I think caused the slow wake up. Previous iterations had fixed this, I think it was linux kernel 5.15.13.
I did some research and found this in upstream:
https://lore.kernel.org/linux-usb/0a...b7@redhat.com/
The discussions in upstream ended with a patch but sadly this patch was implemented on linux kernel 5.16-rc4. My questions are:
1. How do I solve this? I am not an expert with kernel and linux in general so guidance is much appreciated.
2. Can the patch be applied on Slackware current's kernel version? or it is tied to 5.16?
3. Do I downgrade to a lower kernel version while waiting for this patch?
4. What is your advice?
Thank you and I look forward to receiving your suggestions. Good day.