Differences

This shows you the differences between two versions of the page.

Link to this comparison view

aspm [2012/02/20 02:34]
aspm [2022/04/16 12:22] (current)
Line 1: Line 1:
 +@related: LenovO SensoR AcpI DsdT MtR DMesG PcI HdA
  
 +
 +  * http://rzr.online.fr/q/aspm# "ACPI _OSC control for PCIe not granted, disabling ASPM" #LinuxKernel 3.2.6+ #AcpI #DsdT on #LenovoG470 , help?
 +
 +  * http://rzr.online.fr/q/aspm# How to fix #AcpI Active-State Power Management #AspM for #LenovO #G470 #LapTop running GNU !LinuX !DebiaN + w7?
 +
 +
 +FeedBacK :
 +
 +  * http://tech.groups.yahoo.com/group/Lenovo/message/25
 +  * http://forum.thinkpads.com/viewtopic.php?f=18&t=87850&p=653055#p653055
 +  * http://forums.lenovo.com/t5/Linux-Discussion/Lenovo-notebook-ASPM-issue-is-mentioned-on-internet-do-something/m-p/560387/highlight/false#M3296
 +  * http://linuxfr.org/news/une-solution-au-probl%C3%A8me-de-consommation-du-noyau-linux#comment-1291931
 +  * http://phoronix.com/forums/showthread.php?64851-More-Linux-Kernel-Patches-To-Mimic-Windows/page3
 +
 +
 +===== ToDo =====
 +
 +  * https://bugzilla.kernel.org/show_bug.cgi?id=36932#c19
 +  * https://bugzilla.kernel.org/show_bug.cgi?id=34192
 +  * http://www.fewt.com/2011/09/about-kernel-30-power-regression-myth.html
 +  * https://mobile.twitter.com/mjg59
 +  * https://bugs.launchpad.net/ubuntu/oneiric/+source/linux/+bug/760131/comments/155
 +  * http://linuxwireless.org/en/users/Documentation/ASPM#Why_is_ASPM_disabled_for_my_device.3F
 +  * http://forums.lenovo.com/t5/X-Series-Tablet-ThinkPad-Laptops/PCI-Express-Active-State-Power-Management-ASPM-has-been-disabled/m-p/479751
 +  * http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2f671e2dbff6eb5ef4e2600adbec550c13b8fe72
 +  * http://linuxfr.org/news/une-solution-au-probl%C3%A8me-de-consommation-du-noyau-linux
 +  * https://lkml.org/lkml/2011/11/10/467
 +
 +
 +===== LINUX ====
 +
 +
 +
 +<code>
 +Linux lap 3.2.6+ #11 SMP Sat Feb 18 15:22:19 CET 2012 x86_64 GNU/Linux
 +
 +[ 0.759929] pci 0000:00:1c.1: bridge window [mem 0xd0400000-0xd04fffff]
 +[ 0.759948] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
 +[ 0.760158] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
 +[ 0.760212] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
 +[ 0.760387] \_SB_.PCI0:_OSC invalid UUID
 +[ 0.760389] _OSC request data:1 1f 1f
 +[ 0.760392] pci0000:00: Requesting ACPI _OSC control (0x1d)
 +[ 0.760507] \_SB_.PCI0:_OSC invalid UUID
 +[ 0.760508] _OSC request data:1 0 1d
 +[ 0.760511] pci0000:00: ACPI _OSC request failed (AE_ERROR), returned control mask: 0x1d
 +[ 0.760565] ACPI _OSC control for PCIe not granted, disabling ASPM
 +[ 0.765015] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 *4 5 6 10 11 12 14 15)
 +</code>
 +
 +  * http://forums.lenovo.com/t5/Linux-Discussion/linux-on-lenovo-g470/m-p/648689/highlight/false#M3559
 +  * http://phoronix.com/forums/showthread.php?68651-ASPM-Linux-Kernel-Fix-To-Land-Finally-In-3-2-Series&highlight=aspm
 +
 +
 +===== GNU/LINUX/DEBIAN =====
 +
 +  * http://forums.lenovo.com/t5/X-Series-Tablet-ThinkPad-Laptops/PCI-Express-Active-State-Power-Management-ASPM-has-been-disabled/m-p/479751
 +  * https://bugs.launchpad.net/ubuntu/oneiric/+source/linux/+bug/760131/comments/155
 +  * https://wiki.archlinux.org/index.php/Laptop#PCI-e_ASPM
 +  * http://forum.notebookreview.com/hardware-components-aftermarket-upgrades/606100-enable-aspm-t61-running-windows-saving-2w-power-consumption.html
 +
 +
 +<code>
 +
 +  dmesg
 +  
 +  Oct 19 19:03:32 lap kernel: [    0.723772] pci 0000:00:1c.1:   bridge window [mem 0xd0400000-0xd04fffff]
 +  Oct 19 19:03:32 lap kernel: [    0.723791] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
 +  Oct 19 19:03:32 lap kernel: [    0.723909] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
 +  Oct 19 19:03:32 lap kernel: [    0.723938] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
 +  Oct 19 19:03:32 lap kernel: [    0.724020] \_SB_.PCI0:_OSC invalid UUID
 +  Oct 19 19:03:32 lap kernel: [    0.724022] _OSC request data:1 1f 1f 
 +  Oct 19 19:03:32 lap kernel: [    0.724026]  pci0000:00: Requesting ACPI _OSC control (0x1d)
 +  Oct 19 19:03:32 lap kernel: [    0.724091] \_SB_.PCI0:_OSC invalid UUID
 +  Oct 19 19:03:32 lap kernel: [    0.724093] _OSC request data:1 0 1d 
 +  Oct 19 19:03:32 lap kernel: [    0.724096]  pci0000:00: ACPI _OSC request failed (AE_ERROR), returned control mask: 0x1d
 +  Oct 19 19:03:32 lap kernel: [    0.724150] ACPI _OSC control for PCIe not granted, disabling ASPM
 +
 + cat /sys/module/pcie_aspm/parameters/policy
 +[default] performance powersave 
 +
 + echo powersave | sudo tee /sys/module/pcie_aspm/parameters/policy
 +
 + cat /sys/module/pcie_aspm/parameters/policy
 +default performance [powersave] 
 +
 +grep -i aspm  /var/log/kern.log
 +Oct 21 19:32:42 lap kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.1.0-999-generic root=UUID=3f886623-74d6-4874-b27a-ff135d754c51 ro acpi_osi=Linux pcie_aspm=force pci=nocrs pcie_aspm=force i915.i915_enable_rc6=1
 +Oct 21 19:32:42 lap kernel: [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.1.0-999-generic root=UUID=3f886623-74d6-4874-b27a-ff135d754c51 ro acpi_osi=Linux pcie_aspm=force pci=nocrs pcie_aspm=force i915.i915_enable_rc6=1
 +Oct 21 19:32:42 lap kernel: [    0.000000] PCIe ASPM is forcibly enabled
 +Oct 21 19:32:42 lap kernel: [    0.000000] PCIe ASPM is forcibly enabled
 +Oct 21 19:32:42 lap kernel: [    0.512663] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
 +Oct 21 19:32:42 lap kernel: [    0.724331] ACPI _OSC control for PCIe not granted, disabling ASPM
 +</code>
 +
 +  grep -Hn '\_SB_.PCI0' DSDT.dsl 
 +  DSDT.dsl:39:    External (\_SB_.PCI0.IEIT.EITV, MethodObj)    // 0 Arguments
 +  DSDT.dsl:40:    External (\_SB_.PCI0.PEG0.PEGP.DD02)
 +
 +
 +  * http://people.canonical.com/~sforshee/toshiba-acpi/dsdt/Satellite_L670-1JN.dsl
 +  * https://lists.launchpad.net/hybrid-graphics-linux/msg00526.html
 +  * https://bugzilla.redhat.com/show_bug.cgi?id=699156
 +  * http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Power_Management_Guide/ASPM.html
 +
 +
 +===== PCI =====
 +
 +<code>
 +lspci  -n | cut -d' ' -f 1 | while read t ; do sudo lspci -s $t -xxx | tee $t.txt ; done
 +
 +#- Linux lap 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 GNU/Linux
 +#+ Linux lap 3.1.0-030100-generic #201110241006 SMP Mon Oct 24 14:07:10 UTC 2011 x86_64 GNU/Linux
 +
 +--- a/etc/local/lspci/00:00.0.txt
 ++++ b/etc/local/lspci/00:00.0.txt
 +-00: 86 80 04 01 06 00 90 20 09 00 00 06 00 00 00 00
 ++00: 86 80 04 01 06 00 90 30 09 00 00 06 00 00 00 00
 +--- a/etc/local/lspci/00:02.0.txt
 ++++ b/etc/local/lspci/00:02.0.txt
 +-00: 86 80 16 01 07 00 90 00 09 00 00 03 00 00 00 00
 ++00: 86 80 16 01 07 04 90 00 09 00 00 03 00 00 00 00
 +-90: 05 d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ++90: 05 d0 01 00 0c f0 e0 fe 61 41 00 00 00 00 00 00
 +-e0: 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00
 ++e0: 00 00 00 00 01 00 00 00 00 80 00 00 00 00 00 00
 +--- a/etc/local/lspci/00:1a.0.txt
 ++++ b/etc/local/lspci/00:1a.0.txt
 +-90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00
 ++90: 00 00 00 00 00 00 00 00 13 00 06 03 00 01 00 00
 +-e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 02 00 37
 ++e0: 00 00 00 00 00 00 00 00 00 00 00 00 44 12 00 37
 +--- a/etc/local/lspci/00:1b.0.txt
 ++++ b/etc/local/lspci/00:1b.0.txt
 +-00: 86 80 20 1c 06 00 10 00 05 00 03 04 10 00 00 00
 ++00: 86 80 20 1c 06 04 10 00 05 00 03 04 10 00 00 00
 +-60: 05 70 80 00 00 00 00 00 00 00 00 00 00 00 00 00
 ++60: 05 70 81 00 0c f0 e0 fe 00 00 00 00 71 41 00 00
 +--- a/etc/local/lspci/00:1c.0.txt
 ++++ b/etc/local/lspci/00:1c.0.txt
 +-00: 86 80 10 1c 07 04 10 00 b5 00 04 06 10 00 81 00
 ++00: 86 80 10 1c 07 00 10 00 b5 00 04 06 10 00 81 00
 +-80: 05 90 01 00 0c f0 e0 fe 59 41 00 00 00 00 00 00
 ++80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 +--- a/etc/local/lspci/00:1c.1.txt
 ++++ b/etc/local/lspci/00:1c.1.txt
 +-00: 86 80 12 1c 07 04 10 00 b5 00 04 06 10 00 81 00
 +-10: 00 00 00 00 00 00 00 00 00 02 02 00 f0 00 00 20
 ++00: 86 80 12 1c 07 00 10 08 b5 00 04 06 10 00 81 00
 ++10: 00 00 00 00 00 00 00 00 00 02 02 00 f0 00 00 30
 +-40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 02
 ++40: 10 80 42 01 00 80 00 00 00 00 12 00 12 3c 12 02
 +-80: 05 90 01 00 0c f0 e0 fe 61 41 00 00 00 00 00 00
 ++80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 +--- a/etc/local/lspci/00:1d.0.txt
 ++++ b/etc/local/lspci/00:1d.0.txt
 +-e0: 00 00 00 00 ca 02 46 42 81 81 a8 03 04 40 00 37
 ++e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 40 00 37
 +--- a/etc/local/lspci/00:1f.2.txt
 ++++ b/etc/local/lspci/00:1f.2.txt
 +-80: 05 70 01 00 0c f0 e0 fe 71 41 00 00 00 00 00 00
 ++80: 05 70 01 00 0c f0 e0 fe 59 41 00 00 00 00 00 00
 +--- a/etc/local/lspci/01:00.0.txt
 ++++ b/etc/local/lspci/01:00.0.txt
 +-50: 00 00 00 00 89 41 00 00 10 6c 01 00 c5 ff 90 05
 ++50: 00 00 00 00 79 41 00 00 10 6c 01 00 c5 ff 90 05
 +--- a/etc/local/lspci/02:00.0.txt
 ++++ b/etc/local/lspci/02:00.0.txt
 +-00: e4 14 27 47 06 00 10 00 01 00 80 02 10 00 00 00
 ++00: e4 14 27 47 06 00 10 08 01 00 80 02 10 00 00 00
 +-90: 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
 ++90: 04 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00
 +
 +
 +</code>
 +
 +  * http://forums.lenovo.com/t5/X-Series-Tablet-ThinkPad-Laptops/PCI-Express-Active-State-Power-Management-ASPM-has-been-disabled/m-p/479751
 +
 +=====  "\_SB_.PCI0:_OSC invalid UUID" =====
 +
 +
 +  pci 0000:00:1c.1:   bridge window [mem 0xd0400000-0xd04fffff]
 +  ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
 +  ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
 +  ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
 +  \_SB_.PCI0:_OSC invalid UUID
 +  _OSC request data:1 1f 1f 
 +  pci0000:00: Requesting ACPI _OSC control (0x1d)
 +   \_SB_.PCI0:_OSC invalid UUID
 +   _OSC request data:1 0 1d 
 +  pci0000:00: ACPI _OSC request failed (AE_ERROR), returned control mask: 0x1d
 +  ACPI _OSC control for PCIe not granted, disabling ASPM
 +  ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 *4 5 6 10 11 12 14 15)
 +
 +
 +FeedBack :
 +
 +  * https://bugs.launchpad.net/ubuntu/+source/linux/+bug/880155
 +  * https://bugzilla.kernel.org/show_bug.cgi?id=36932#c19
 +
 +More :
 +
 +  * https://bugzilla.kernel.org/show_bug.cgi?id=16028 
 +  * http://www.mail-archive.com/acpi-bugzilla@lists.sourceforge.net/msg30393.html
 +
 +
 +
 +  /etc/local/DSDT.dsl:39:    External (\_SB_.PCI0.IEIT.EITV, MethodObj)    // 0 Arguments
 +  /etc/local/DSDT.dsl:40:    External (\_SB_.PCI0.PEG0.PEGP.DD02)
 +  /etc/local/DSDT.dsl:1462:            Method (_OSC, 4, Serialized)
 +
 +  11384 method          Test 43 of 92: Check _UID (Unique ID).
 +  11385 method          SKIPPED: Test 43, Optional method _UID did not exist.
 +
 +  11427 method          FAILED [MEDIUM] MethodReturnNullObj: Test 44, Method \_SB_.MEM2._CRS returned
 +  11428 method          a NULL object, and did not return ACPI_TYPE_BUFFER.
 +
 +
 +
 +Reference :
 +
 +  6.2.10 _OSC (Operating System Capabilities)
 +
 +  * http://www.acpi.info/DOWNLOADS/ACPIspec40a.pdf
 +
 +Misc :
 +
 +  * http://www.mail-archive.com/acpi-bugzilla@lists.sourceforge.net/msg30684.html
 +
 +
 +
 +
 +<code>
 +11524 method          Test 61 of 92: Check _WAK (System Wake).
 +11525 method          Test _WAK(1) System Wake, State S1.
 +11526 method            Package has 2 elements:
 +11527 method              00: INTEGER: 0x00000000
 +11528 method              01: INTEGER: 0x00000000
 +11529 method          WARNING: Test 61, _WAK: expecting power supply S-state (element 1) of packages
 +11530 method          to be 0x00000001, got 0x00000000.
 +11531 method          
 +11532 method          ADVICE: _WAK should return 0 if the wake failed and was unsuccessful (i.e.
 +11533 method          element[0] is non-zero) OR should return the S-state. This can confuse the
 +11534 method          operating system as this _WAK return indicates that the S-state was not
 +11535 method          entered because of too much current being drawn from the power supply, however
 +11536 method          , the BIOS may have actually entered this state and the _WAK method is
 +11537 method          misinforming the operating system. Currently Linux does not check for the
 +11538 method          return type from _WAK, so it should theoretically not affect the operation of
 +11539 method          suspend/resume.
 +11540 method          
 +11541 method          PASSED: Test 61, \_WAK correctly acquired and released locks 8 times.
 +11542 method          
 +11543 method          Test _WAK(2) System Wake, State S2.
 +11544 method            Package has 2 elements:
 +11545 method              00: INTEGER: 0x00000000
 +11546 method              01: INTEGER: 0x00000000
 +11547 method          WARNING: Test 61, _WAK: expecting power supply S-state (element 1) of packages
 +11548 method          to be 0x00000002, got 0x00000000.
 +
 +
 +
 +sudo grep -r . /sys/firmware/acpi
 +/sys/firmware/acpi/interrupts/gpe00:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe01:       0   enabled
 +/sys/firmware/acpi/interrupts/gpe02:       0   enabled
 +/sys/firmware/acpi/interrupts/gpe03:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe04:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe05:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe06:       0   enabled
 +/sys/firmware/acpi/interrupts/gpe07:       0   enabled
 +/sys/firmware/acpi/interrupts/gpe08:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe09:       0   disabled
 +/sys/firmware/acpi/interrupts/gpe0A:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe0B:       0   disabled
 +/sys/firmware/acpi/interrupts/gpe0C:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe0D:       0   disabled
 +/sys/firmware/acpi/interrupts/gpe0E:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe0F:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe10:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe11:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe12:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe13:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe14:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe15:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe16:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe17:   27452   enabled
 +/sys/firmware/acpi/interrupts/gpe18:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe19:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe1A:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe1B:       0   enabled
 +/sys/firmware/acpi/interrupts/gpe1C:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe1D:       2   enabled
 +/sys/firmware/acpi/interrupts/gpe1E:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe1F:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe20:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe21:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe22:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe23:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe24:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe25:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe26:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe27:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe28:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe29:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe2A:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe2B:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe2C:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe2D:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe2E:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe2F:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe30:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe31:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe32:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe33:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe34:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe35:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe36:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe37:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe38:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe39:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe3A:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe3B:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe3C:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe3D:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe3E:       0   invalid
 +/sys/firmware/acpi/interrupts/gpe3F:       0   invalid
 +/sys/firmware/acpi/interrupts/ff_pmtimer:       0   invalid
 +/sys/firmware/acpi/interrupts/ff_gbl_lock:       0   enabled
 +/sys/firmware/acpi/interrupts/ff_pwr_btn:       0   enabled
 +/sys/firmware/acpi/interrupts/ff_slp_btn:       0   invalid
 +/sys/firmware/acpi/interrupts/ff_rt_clk:       0   disabled
 +/sys/firmware/acpi/interrupts/gpe_all:   27454
 +/sys/firmware/acpi/interrupts/sci:   27454
 +/sys/firmware/acpi/interrupts/sci_not:       0
 +/sys/firmware/acpi/interrupts/error:       0
 +Binary file /sys/firmware/acpi/tables/dynamic/SSDT4 matches
 +Binary file /sys/firmware/acpi/tables/dynamic/SSDT5 matches
 +Binary file /sys/firmware/acpi/tables/dynamic/SSDT6 matches
 +Binary file /sys/firmware/acpi/tables/DSDT matches
 +Binary file /sys/firmware/acpi/tables/FACS matches
 +Binary file /sys/firmware/acpi/tables/FACP matches
 +Binary file /sys/firmware/acpi/tables/SLIC matches
 +Binary file /sys/firmware/acpi/tables/ASF! matches
 +Binary file /sys/firmware/acpi/tables/HPET matches
 +Binary file /sys/firmware/acpi/tables/APIC matches
 +Binary file /sys/firmware/acpi/tables/MCFG matches
 +Binary file /sys/firmware/acpi/tables/WDAT matches
 +Binary file /sys/firmware/acpi/tables/SSDT1 matches
 +Binary file /sys/firmware/acpi/tables/BOOT matches
 +Binary file /sys/firmware/acpi/tables/ASPT matches
 +Binary file /sys/firmware/acpi/tables/SSDT2 matches
 +Binary file /sys/firmware/acpi/tables/SSDT3 matches
 +</code>
 +
 +
 +FeedBack :
 +
 +  * http://ubuntuforums.org/showthread.php?p=11414654#post11414654 # 
 +  * https://bugs.launchpad.net/ubuntu/+source/linux/+bug/880155
 +  * http://ubuntuforums.org/showthread.php?p=11416576#post11416576
 +
 +
 +Affected models :
 +
 +  * https://bbs.archlinux.org/viewtopic.php?pid=913963# ThinkPad T412 
 +  * https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=699156# Lenovo IdeaPad Y560p
 +  * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635580# LenovO
 +  * http://blog.gmane.org/gmane.linux.debian.backports.general/page=3
 +
 +  DMI: LENOVO 0301DCU/0301DCU, BIOS 80ET52WW (1.29 ) 05/30/2011
 +  DMI: LENOVO 20086,4396/Emerald Lake, BIOS 43CN18WW 12/07/2010
 +  DMI: LENOVO                           IdeaPad Y560    /KL3                             , BIOS 30CN59WW   06/30/2010
 +
 +
 +Misc :
 +
 +  * http://forum.ubuntu-fr.org/viewtopic.php?pid=6850841#p6850841
 +  * http://forums.debian.net/viewtopic.php?f=5&t=62953&p=401450#p401450
 +  * http://andrew.mcmillan.net.nz/blog/andrew_got_a_brand_new_dell
 +  * http://www.mail-archive.com/acpi-bugzilla@lists.sourceforge.net/msg34048.html
 +  * http://sourceforge.net/mailarchive/message.php?msg_id=26155661
 +  * http://www.mail-archive.com/acpi-bugzilla@lists.sourceforge.net/msg30393.html# ToDo: 2.6.33.x [[linux-kernel]]
 +  * https://lkml.org/lkml/2011/8/24/121
 +  * http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.33/linux-2.6.33.19.tar.bz2 # ToDo
 +  * http://mirrors.unix-gaming.net/linux/linux-2.6.33.19.tar.bz2
 +  * http://gitorious.org/sched_deadline/rt-deadline/commit/c7f486567c1d0acd2e4166c47069835b9f75e77b
 +  * http://wiki.osdev.org/ACPICA
 +  * https://wiki.kubuntu.org/Kernel/Reference/fwts/fadt
 +
 +@tag: DsdT BioS AcpI AspM OsC UuiD PcI LnkA [[linux-kernel]] AcpiCa
 +
 +
 +===== WINDOWS7 =====
 +
 +<code>
 +powercfg -energy 
 +
 +Power Efficiency Diagnostics Report
 +
 +Computer Name LAP
 +Scan Time 2011-10-22T00:22:37Z
 +Scan Duration 60 seconds
 +System Manufacturer LENOVO
 +System Product Name 20078
 +BIOS Date 06/20/2011
 +BIOS Version 40CN23WW(V2.09)
 +OS Build 7600
 +Platform Role PlatformRoleMobile
 +Plugged In true
 +Process Count 56
 +Thread Count 682
 +Report GUID $GUID
 +Analysis Results
 +
 +Errors
 +
 +USB Suspend:USB Device not Entering Suspend
 +The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
 +Device Name USB Root Hub
 +Host Controller ID PCI\VEN_8086&DEV_1C26
 +Host Controller Location PCI bus 0, device 29, function 0
 +Device ID USB\VID_8086&PID_1C26
 +Port Path
 +USB Suspend:USB Device not Entering Suspend
 +The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
 +Device Name Generic USB Hub
 +Host Controller ID PCI\VEN_8086&DEV_1C26
 +Host Controller Location PCI bus 0, device 29, function 0
 +Device ID USB\VID_8087&PID_0024
 +Port Path 1
 +USB Suspend:USB Device not Entering Suspend
 +The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
 +Device Name USB Input Device
 +Host Controller ID PCI\VEN_8086&DEV_1C26
 +Host Controller Location PCI bus 0, device 29, function 0
 +Device ID USB\VID_046D&PID_C404
 +Port Path 1,2
 +CPU Utilization:Processor utilization is high
 +The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute the most to total processor utilization.
 +Average Utilization (%) 11.81
 +Platform Power Management Capabilities:PCI Express Active-State Power Management (ASPM) Disabled
 +PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
 +Warnings
 +
 +Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)
 +The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.
 +CPU Utilization:Individual process with significant processor utilization.
 +This process is responsible for a significant portion of the total processor utilization recorded during the trace.
 +Process Name mcshield.exe
 +PID 1740
 +Average Utilization (%) 1.98
 +Module Average Module Utilization (%)
 +\Device\HarddiskVolume2\Program Files\mcafee\virusscan\Engine\5400.1158\mscan64a.dll 1.19
 +\SystemRoot\system32\ntoskrnl.exe 0.62
 +\Device\HarddiskVolume2\Windows\System32\ntdll.dll 0.04
 +CPU Utilization:Individual process with significant processor utilization.
 +This process is responsible for a significant portion of the total processor utilization recorded during the trace.
 +Process Name explorer.exe
 +PID 1196
 +Average Utilization (%) 0.83
 +Module Average Module Utilization (%)
 +\SystemRoot\system32\ntoskrnl.exe 0.19
 +\SystemRoot\System32\win32k.sys 0.15
 +\Device\HarddiskVolume2\Windows\System32\shell32.dll 0.07
 +CPU Utilization:Individual process with significant processor utilization.
 +This process is responsible for a significant portion of the total processor utilization recorded during the trace.
 +Process Name dwm.exe
 +PID 1084
 +Average Utilization (%) 0.39
 +Module Average Module Utilization (%)
 +\Device\HarddiskVolume2\Windows\System32\igd10umd64.dll 0.11
 +\Device\HarddiskVolume2\Windows\System32\dwmcore.dll 0.09
 +\SystemRoot\system32\DRIVERS\igdkmd64.sys 0.07
 +CPU Utilization:Individual process with significant processor utilization.
 +This process is responsible for a significant portion of the total processor utilization recorded during the trace.
 +Process Name System
 +PID 4
 +Average Utilization (%) 0.32
 +Module Average Module Utilization (%)
 +\SystemRoot\system32\ntoskrnl.exe 0.14
 +\SystemRoot\system32\hal.dll 0.07
 +\SystemRoot\system32\DRIVERS\iaStor.sys 0.04
 +Information
 +
 +Platform Timer Resolution:Platform Timer Resolution
 +The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations.
 +Current Timer Resolution (100ns units) 156000
 +Power Policy:Active Power Plan
 +The current power plan in use
 +Plan Name Custom
 +Plan GUID {c0ea6ad3-6145-4447-a15e-5fb97be69b98}
 +Power Policy:Power Plan Personality (On Battery)
 +The personality of the current power plan when the system is on battery power.
 +Personality Balanced
 +Power Policy:Video Quality (On Battery)
 +Enables Windows Media Player to optimize for quality or power savings when playing video.
 +Quality Mode Balance Video Quality and Power Savings
 +Power Policy:Power Plan Personality (Plugged In)
 +The personality of the current power plan when the system is plugged in.
 +Personality Balanced
 +Power Policy:Video quality (Plugged In)
 +Enables Windows Media Player to optimize for quality or power savings when playing video.
 +Quality Mode Optimize for Video Quality
 +System Availability Requests:Analysis Success
 +Analysis was successful. No energy efficiency problems were found. No information was returned.
 +Battery:Battery Information
 +Battery ID 3658QLG PABAS024
 +Manufacturer LG
 +Serial Number 3658Q
 +Chemistry LION
 +Long Term 1
 +Design Capacity 47520
 +Last Full Charge 47510
 +Platform Power Management Capabilities:Supported Sleep States
 +Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer to resume working quickly. Very few platforms support the S1 or S2 Sleep states.
 +S1 Sleep Supported false
 +S2 Sleep Supported false
 +S3 Sleep Supported true
 +S4 Sleep Supported true
 +Platform Power Management Capabilities:Adaptive Display Brightness is supported.
 +This computer enables Windows to automatically control the brightness of the integrated display.
 +Platform Power Management Capabilities:Processor Power Management Capabilities
 +Effective processor power management enables the computer to automatically balance performance and energy consumption.
 +Group 0
 +Index 0
 +Idle (C) State Count 2
 +Performance (P) State Count 8
 +Throttle (T) State Count 8
 +Platform Power Management Capabilities:Processor Power Management Capabilities
 +Effective processor power management enables the computer to automatically balance performance and energy consumption.
 +Group 0
 +Index 1
 +Idle (C) State Count 2
 +Performance (P) State Count 8
 +Throttle (T) State Count 8
 +Platform Power Management Capabilities:Processor Power Management Capabilities
 +Effective processor power management enables the computer to automatically balance performance and energy consumption.
 +Group 0
 +Index 2
 +Idle (C) State Count 2
 +Performance (P) State Count 8
 +Throttle (T) State Count 8
 +Platform Power Management Capabilities:Processor Power Management Capabilities
 +Effective processor power management enables the computer to automatically balance performance and energy consumption.
 +Group 0
 +Index 3
 +Idle (C) State Count 2
 +Performance (P) State Count 8
 +Throttle (T) State Count 8
 +</code>
 +
 +===== MSR =====
 +
 +  [    0.004028] CPU: Physical Processor ID: 0
 +  [    0.004063] CPU: Processor Core ID: 0
 +  [    0.004101] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
 +  [    0.004102] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
 +  [    0.004180] mce: CPU supports 7 MCE banks
 +  [    0.004223] CPU0: Thermal monitoring handled by SMI
 +
 +  * https://lkml.org/lkml/2010/9/28/246
 +
 +  sudo aptitude install linux-tools-common
 +
 +  wget -O x86_energy_perf_policy.c 'http://git.kernel.org/?p=linux/kernel/git/next/linux-next-history.git;a=blob_plain;f=tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c;hb=HEAD'
 +  make x86_energy_perf_policy &&  sudo mv x86_energy_perf_policy /usr/local/bin
 +
 +  /usr/local/bin/x86_energy_perf_policy
 +  must supply -r or policy param
 +  
 +  /usr/local/bin/x86_energy_perf_policy: [-c cpu] [-v] (-r | 'performance' | 'normal' | 'powersave' | n)
 +  
 +  sudo modprobe -v msr
 +  insmod /lib/modules/3.1.0-030100rc10-generic/kernel/arch/x86/kernel/msr.ko 
 +  
 +  sudo /usr/local/bin/x86_energy_perf_policy -r
 +  cpu0: 0x0000000000000006
 +  cpu1: 0x0000000000000006
 +  cpu2: 0x0000000000000006
 +  cpu3: 0x0000000000000006
 +  
 +  sudo /usr/local/bin/x86_energy_perf_policy -c 3 powersave
 +  
 +  sudo /usr/local/bin/x86_energy_perf_policy -r
 +  cpu0: 0x000000000000000f
 +  cpu1: 0x000000000000000f
 +  cpu2: 0x000000000000000f
 +  cpu3: 0x000000000000000f
 + 
 +
 +ToDo : DMesG MsR LenovO AcpI
 +
 +
 +===== BatterY ====
 +
 +http://www.lenovo.com/psref/pdf/3book.pdf
 +
 +
 +  Battery - type
 +  Lithium Ion 6-cell
 +  10
 +  Battery - life
 +  Discrete models: up to 5 hr; Integrated models: up to 6 hr
 +
 +
 +===== MORE =====
 +
 +  * http://phoronix.com/forums/showthread.php?63101-Gigabyte-s-ASPM-Motherboard-Fix-Use-Windows#post233508
 +
 +@tag: LenovO
aspm.txt · Last modified: 2022/04/16 12:22 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki