Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for power state only when ACPI is available #216

Merged
merged 1 commit into from Nov 29, 2021

Conversation

arighi
Copy link

@arighi arighi commented Nov 26, 2021

In bbswitch_off() we use acpi_bus_get_device() to determine the power
state, but this feature is only available if ACPI is enabled in the
kernel, so make sure to do this check only when ACPI is available.

Fixes: 5593d95 ("Linux 3.8 compatibility hack")
Signed-off-by: Dimitri John Ledkov dimitri.ledkov@canonical.com
Signed-off-by: Andrea Righi andrea.righi@canonical.com

@bluca
Copy link
Member

bluca commented Nov 26, 2021

can you target the develop branch please?

In bbswitch_off() we use acpi_bus_get_device() to determine the power
state, but this feature is only available if ACPI is enabled in the
kernel, so make sure to do this check only when ACPI is available.

Fixes: 5593d95 ("Linux 3.8 compatibility hack")
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
@arighi
Copy link
Author

arighi commented Nov 26, 2021

@bluca it should target develop now, thanks!

@bluca
Copy link
Member

bluca commented Nov 27, 2021

You need to rebase your branch too

@arighi
Copy link
Author

arighi commented Nov 29, 2021

You need to rebase your branch too

@bluca I think it's rebased already, I re-applied my patch on top of devel and force pushed to my branch. Am I missing something?

@bluca bluca changed the base branch from master to develop November 29, 2021 10:08
@bluca
Copy link
Member

bluca commented Nov 29, 2021

Yes, it's the target that needed switching, done

@bluca bluca linked an issue Nov 29, 2021 that may be closed by this pull request
@bluca bluca merged commit 2389117 into Bumblebee-Project:develop Nov 29, 2021
@Nnami32 Nnami32 linked an issue Jun 23, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Network Analyzer: Ping '172.0.0.34' build failure on armhf and ppc64el
3 participants