Suspend issue on macbook air 6.2

kernel
suspend

#1

Suspend is not working properly on a macbook air 6.2.

When I suspend it will try to suspend but wakes up immediately.

I have tried “echo XHC1 > /proc/acpi/wakeup”. No luck. I disabled everything i /proc/acpi/wakeup. But I think it is related to device usb2 as output from journalctl shows below:

dec 31 15:24:09 mba kernel: dpm_run_callback(): usb_dev_suspend+0x0/0x10 returns -16
dec 31 15:24:09 mba kernel: PM: Device usb2 failed to suspend async: error -16
dec 31 15:24:09 mba kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
dec 31 15:24:09 mba kernel: sd 0:0:0:0: [sda] Stopping disk
dec 31 15:24:09 mba kernel: PM: Some devices failed to suspend, or early wake event detected
dec 31 15:24:09 mba kernel: sd 0:0:0:0: [sda] Starting disk
dec 31 15:24:09 mba kernel: OOM killer enabled.
dec 31 15:24:09 mba systemd-sleep[3027]: Failed to write /sys/power/state: Device or resource busy

It happens with every kernel I tried.

Any ideas? Thanks in advance.


#2

The problem is not present with kernel 4.18.20-1.

But with 4.19.13-1 and 4.20.0-1 the problems is there.