How to set S3/S4 state for devices on suspend?
Status: New User - Welcome
Joined: 15 Aug 2019
Posts: 2
Location: Ukraine
Reply Quote

I have Dell Venue transformer with LUbuntu 18.04 with the kernel 5.1.0-6.4-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.1-4ubuntu1~bionic (2019-06-03) x86_64 x86_64 x86_64 GNU/Linux. I disabled wakeup by all devices except PBTN. In BIOS USB PowerShare is switched off.

Nevertheless, after suspending the laptop remains warm. Only three USB controllers (EHC1, EHC2, XHC) do not change the power state:

:: Code ::
$ cat /proc/acpi/wakeup
$ cat /proc/acpi/wakeup
Device   S-state     Status   Sysfs node
UAR1     S3   *disabled
RP01     S4   *disabled
PXSX     S4   *disabled
RP02     S4   *disabled
PXSX     S4   *disabled
RP03     S4   *disabled  pci:0000:00:1c.0
PXSX     S4   *disabled  pci:0000:01:00.0
RP04     S4   *disabled  pci:0000:00:1c.3
PXSX     S4   *disabled  pci:0000:02:00.0
RP05     S4   *disabled
PXSX     S4   *disabled
RP06     S4   *disabled
PXSX     S4   *disabled
RP07     S4   *disabled
PXSX     S4   *disabled
RP08     S4   *disabled
PXSX     S4   *disabled
GLAN     S4   *disabled
EHC1     S0   *disabled
EHC2     S0   *disabled
XHC     S0   *disabled  pci:0000:00:14.0
HDEF     S4   *disabled  pci:0000:00:1b.0
TPD4     S4   *disabled
PEG0     S4   *disabled
PEGP     S4   *disabled
PEG1     S4   *disabled
PEG2     S4   *disabled
LID0     S3   *disabled  platform:PNP0C0D:00
PBTN     S3   *enabled   platform:PNP0C0C:00

Testing by non-controlled USB LED toys shows that they are remain on during suspend. Installing laptop-mode-tools is not helpful (possibly, some additional settings are necessary). In my mouse, the LEDs of sensor and buttons are switched off during suspend, but the scroll LED cannot be switched off as well as the power LED on the USB hub. To avoid discharge, I should disconnect USB cable at suspending.

How to set the USB controllers to S3 or S4 state?
Back to top
Display posts from previous:   

All times are GMT - 8 Hours