Bug 52381
Summary: | Updating from kernel 3.5 to 3.6 doubles idle power consumption due to acpi_call laptop mode bug | ||
---|---|---|---|
Product: | Power Management | Reporter: | da_fox |
Component: | Run-Time-PM | Assignee: | Huang Ying (ying.huang) |
Status: | CLOSED INVALID | ||
Severity: | normal | CC: | acpi-bugzilla, lenb, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.6 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Dmesg of a fresh boot of kernel 3.7, without the patch
Dmesg of a fresh boot of kernel 3.7, with the patch Full output of lspci -vv |
Description
da_fox
2013-01-06 15:46:02 UTC
Created attachment 90531 [details]
Dmesg of a fresh boot of kernel 3.7, without the patch
Created attachment 90541 [details]
Dmesg of a fresh boot of kernel 3.7, with the patch
Created attachment 90551 [details]
Full output of lspci -vv
You're right that the check in pci_match_id() in pcie_portdrv_probe() is wrong. I'll post a patch to fix this later today. On a second thought, the check is really as intended (i.e. we only want to _put ports that aren't blacklisted, but the blacklist is empty, so we do that for all of them). Assigned to Ying. Could you try the latest bbswitch? It appears that they have resolved an similar issue recently. Or could you try to call your nvdia graphic card turn off script before your runtime PM enable script (usually be laptop-mode-tools if you do not write it by yourself). Ok, so I finally got around to testing the bbswitch module. This does seem to work. I no longer use the acpi_call script (or module). Since bbswitch resolves the issue for me, I did not test putting the acpi_call before laptop-mode starts, I hope this is ok. The question that remains is, is this then a bug in acpi_call, or not a bug at all? What is the reason that this commit makes switching the nvidia card on/off through the normal ACPI call fail? I'd like to point out that the setup with acpi_call has worked for almost two years for me... although I'm fine with using bbswitch instead :) acpi_call is not upstream, and never will be. if acpi_call shipped with a distro, then a bug should be filed against that distro asking that it be removed. closed. |