hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #00244
ACPI call functions ,device capabilities
Some interesting functions with acpi and device state prior to sending
arguments,this should work for other laptops ,mine is the asus n61.
Found out that the device must be capable of being woken up or put into sleep/suspend state ,this can be checked by this command and also set to enable wakeup eg ;
I found that calling PS0 didnt make any difference until these states were
changed or PS3 ( sleep state) until the device was enabled .
My states after echoing the acpi bus name to /proc/acpi/wakeup
[test@localhost]# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P1 S4 *disabled pci:0000:00:1e.0
HDEF S4 *enabled pci:0000:00:1b.0
RP01 S4 *enabled pci:0000:00:1c.0
PXSX S4 *enabled
RP02 S4 *enabled
PXSX S4 *enabled
WLAN S3 *enabled
RP03 S4 *enabled pci:0000:00:1c.2
PXSX S4 *enabled
RP04 S4 *enabled pci:0000:00:1c.3
PXSX S4 *enabled
USB3 S3 *enabled pci:0000:05:00.0
RP05 S4 *enabled pci:0000:00:1c.4
PXSX S4 *enabled
RP07 S4 *enabled
PXSX S4 *enabled
RP08 S4 *enabled
PXSX S4 *enabled
RP06 S4 *enabled pci:0000:00:1c.5
PXSX S4 *enabled
GLAN S4 *enabled pci:0000:07:00.0
PEGR S4 *enabled pci:0000:00:01.0
GFX0 S4 *enabled pci:0000:01:00.0
PEG3 S4 *enabled
PEG4 S4 *enabled
PEG5 S4 *enabled
PEG6 S4 *enabled
EHC1 S3 *enabled pci:0000:00:1d.0
USB1 S3 *disabled
USB2 S3 *disabled
USB3 S3 *disabled
USB4 S3 *disabled
EHC2 S3 *enabled pci:0000:00:1a.0
USB5 S3 *disabled
USB6 S3 *disabled
USB7 S3 *disabled
My acpi device states after echoing it again ( disables suspend /sleep /wakeup) which are the normal states unless a driver ( eg wlan /lan) sends an acpi command to wake it the device on boot.
[test@localhost]# echo 'PEGR' > /proc/acpi/wakeup
[test@localhost]# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P1 S4 *disabled pci:0000:00:1e.0
HDEF S4 *enabled pci:0000:00:1b.0
RP01 S4 *disabled pci:0000:00:1c.0
PXSX S4 *disabled
RP02 S4 *disabled
PXSX S4 *disabled
WLAN S3 *disabled
RP03 S4 *disabled pci:0000:00:1c.2
PXSX S4 *disabled
RP04 S4 *disabled pci:0000:00:1c.3
PXSX S4 *disabled
USB3 S3 *disabled pci:0000:05:00.0
RP05 S4 *disabled pci:0000:00:1c.4
PXSX S4 *disabled
RP07 S4 *disabled
PXSX S4 *disabled
RP08 S4 *disabled
PXSX S4 *disabled
RP06 S4 *disabled pci:0000:00:1c.5
PXSX S4 *disabled
GLAN S4 *disabled pci:0000:07:00.0
PEGR S4 *disabled pci:0000:00:01.0
GFX0 S4 *disabled pci:0000:01:00.0
PEG3 S4 *disabled
PEG4 S4 *disabled
PEG5 S4 *disabled
PEG6 S4 *disabled
EHC1 S3 *enabled pci:0000:00:1d.0
USB1 S3 *disabled
USB2 S3 *disabled
USB3 S3 *disabled
USB4 S3 *disabled
EHC2 S3 *enabled pci:0000:00:1a.0
USB5 S3 *disabled
USB6 S3 *disabled
USB7 S3 *disabled
#
This may help setting prior to sending calls to the devices and call methods ,i have placed in my /etc/rc.local file the above commands.
Cheers