Skip to contentSkip to conversation

New: ACPID shouldn't depend on BR2_x86_64 || BR2_i386

Buildroot bugzilla at busybox.net 1 participant 4 messages Aug 17, 2018 – Aug 29, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=11241

Bug ID: 11241
Summary: ACPID shouldn't depend on BR2_x86_64 || BR2_i386
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: happycorsair at yandex.ru
CC: buildroot at uclibc.org
Target Milestone: ---

Nowadays multiple ARM-based devboards provide ACPI, so this restriction is not a good option anymore. For example I've used standard Buildroot acpi package on Cubieboard 6 without any issue.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 11241] ACPID shouldn't depend on BR2_x86_64 || BR2_i386

https://bugs.busybox.net/show_bug.cgi?id=11241

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Peter Korsgaard <[email protected]> ---
Sorry, what firmware provides ACPI on your cubieboard? Or do you just mean that some of the functionality of acpid is usable without firmware/kernel support? drivers/acpi in the Linux kernel is guarded by ARCH_SUPPORTS_ACPI, which is selected for arm64/ia64/x86.

With that said, if it builds on other architectures and there are use cases for it on those, then I don't have a problem exposing it.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 11241] ACPID shouldn't depend on BR2_x86_64 || BR2_i386

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11241

--- Comment #2 from happycorsair at yandex.ru ---
Hi, Peter!

I'm not a specialist in ACPI or power management, so please don't blame me a lot :)

It seems to me, that you are right. All ACPI-related options in Cubieboard 6 kernel config are disabled (it's ARM, not ARM64). But at the same time, acpid handles power button pushes and powers off the board. If no acpid is running, I can only reboot the board by long push.

So, it's useful. I found no building issues.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 11241] ACPID shouldn't depend on BR2_x86_64 || BR2_i386

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11241

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?h=next&id=1bcc6e87410c76efb2f4bdd9714916acef84b7d0.
Thanks!

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.