Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339518 Details for
Bug 458508
sys-power/bbswitch kernel 3.8 compatibility hack
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bbswitch-kernel-3.8-unknown-powerstate.patch
bbswitch-kernel-3.8-unknown-powerstate.patch (text/plain), 555 bytes, created by
Philipp Leonhardt
on 2013-02-20 22:41:19 UTC
(
hide
)
Description:
bbswitch-kernel-3.8-unknown-powerstate.patch
Filename:
MIME Type:
Creator:
Philipp Leonhardt
Created:
2013-02-20 22:41:19 UTC
Size:
555 bytes
patch
obsolete
>@@ -238,6 +238,20 @@ static void bbswitch_off(void) { > pci_save_state(dis_dev); > pci_disable_device(dis_dev); >+ do { >+ struct acpi_device *ad = NULL; >+ int r; >+ >+ r = acpi_bus_get_device(dis_handle, &ad); >+ if (r || !ad) { >+ pr_warn("Cannot get ACPI device for PCI device\n"); >+ break; >+ } >+ if (ad->power.state == ACPI_STATE_UNKNOWN) { >+ pr_debug("ACPI power state is unknown, forcing D0\n"); >+ ad->power.state = ACPI_STATE_D0; >+ } >+ } while (0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 458508
:
339518
|
339520