Bug 105641 - ASUS UX305FA fails to suspend after first suspend/resume; uvcvideo related
Summary: ASUS UX305FA fails to suspend after first suspend/resume; uvcvideo related
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
: 105991 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-08 03:40 UTC by Mervin Beng
Modified: 2016-09-24 14:16 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.2.x
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Mervin Beng 2015-10-08 03:40:33 UTC
On upgrade to 4.2.1 or 4.2.2 kernels, the first suspend/resume works, but subsequent suspend does not. The screen blanks, but power led indicates system is not sleeping, and system is resumed by hitting power button, not lid open or hitting other keys. Multiple suspend/resumes work fine with 4.1.x kernels.

Journalctl -f -all shows that there is a problem suspending 0000:00:14.0, which dmesg indicates is the webcam. No other USB devices are connected. Note that his part of the journal relates to the second time the sleep button is hit.

Oct 04 05:46:16 evo-305 kernel: PM: Suspending system (mem)
Oct 04 05:46:16 evo-305 kernel: Suspending console(s) (use no_console_suspend to debug)
Oct 04 05:46:16 evo-305 kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Oct 04 05:46:16 evo-305 kernel: sd 0:0:0:0: [sda] Stopping disk
Oct 04 05:46:16 evo-305 kernel: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 [usbcore] returns -16
Oct 04 05:46:16 evo-305 kernel: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -16
Oct 04 05:46:16 evo-305 kernel: PM: Device 0000:00:14.0 failed to suspend async: error -16
Oct 04 05:46:16 evo-305 kernel: PM: Some devices failed to suspend, or early wake event detected
Oct 04 05:46:16 evo-305 kernel: rtc_cmos 00:04: System wakeup disabled by ACPI
Oct 04 05:46:16 evo-305 kernel: sd 0:0:0:0: [sda] Starting disk
Oct 04 05:46:16 evo-305 kernel: PM: resume of devices complete after 89.449 msecs
Oct 04 05:46:16 evo-305 kernel: PM: Finishing wakeup.

Presently I have blacklisted uvcvideo on /etc/modprobe.d/, and this allows the system to suspend/resume normally, but of course I lose use of the webcam.

uname -a: Linux evo-305 4.2.2-1-ARCH #1 SMP PREEMPT Tue Sep 29 22:21:33 CEST 2015 x86_64 GNU/Linux

Thank you!
Comment 1 Aaron Lu 2015-10-19 07:04:31 UTC
*** Bug 105991 has been marked as a duplicate of this bug. ***
Comment 2 Mervin Beng 2015-10-24 03:00:52 UTC
I've tested kernel 4.3rc6, and noticed that the suspend issue is no longer present even with the blacklist of uvcvideo removed. Has there been a fix implemented? I recall testing an earlier rc kernel, and the problem still existed.
Comment 3 Mervin Beng 2015-10-28 14:42:25 UTC
FYI, the problem reappears on rc7.
Comment 4 Mervin Beng 2016-05-15 22:02:26 UTC
I've been testing with 4.4, 4.5, etc, and now with 4.6rc7 it appears that the suspend/resume issue no longer appears. I've removed the blacklist of uvcvideo module and I'm getting consistent suspend/resumes.

Was there any specific bugfix developed for this?
Comment 5 Łukasz Żarnowiecki 2016-09-24 14:07:52 UTC
Still happening on 4.7.4 on ASUS UX305.  Removing module during runtime (modprobe -r uvcvideo) does not work.
Comment 6 Łukasz Żarnowiecki 2016-09-24 14:16:10 UTC
Blacklisting solves the issue.

  # echo blacklist uvcvideo > /etc/modprobe.d/suspend-bug.conf

Note You need to log in before you can comment on or make changes to this bug.