Power Button doesn't work on 4.1.10-ti-r24

187 views
Skip to first unread message

Erik Stauber

unread,
Oct 24, 2015, 6:17:34 PM10/24/15
to BeagleBoard
Is there anything I need to do to make the power button work on the latest Jessie images?  It worked fine on 3.8.X.

Thanks,
Erik

l...@pinkfroot.com

unread,
Oct 26, 2015, 11:59:15 AM10/26/15
to BeagleBoard
I've just seen this and having the same issue actually!

Robert Nelson

unread,
Oct 26, 2015, 12:51:59 PM10/26/15
to Beagle Board
fixed in git..

https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/4360c0071247d72d7c1899cfa2da7d9ffe310150

re-forward-ported the patch from v3.14.x, just had not tested the
power button. ;)

Regards,

--
Robert Nelson
https://rcn-ee.com/

Lee Armstrong

unread,
Oct 26, 2015, 1:02:31 PM10/26/15
to beagl...@googlegroups.com, Beagle Board
Ah thanks Robert!

Is there a way to get this update with one of the scripts built in like the update_kernel.sh ?

I’d love to try this out but not really sure how to apply this!

Lee


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/Lr1NbU0fdGg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Robert Nelson

unread,
Oct 26, 2015, 1:07:03 PM10/26/15
to Beagle Board
On Mon, Oct 26, 2015 at 11:53 AM, Lee Armstrong <l...@pinkfroot.com> wrote:
> Ah thanks Robert!
>
> Is there a way to get this update with one of the scripts built in like the
> update_kernel.sh ?

Well, r25's is eta'ed for thursday, can't really build it right now as
i'm backed up on v4.3.0-rc7 (and lots 90% of my builders went down due
to v4.1.11 breakage... rebuilding them as we speak...)..

> I’d love to try this out but not really sure how to apply this!

if you have a fast x86:

git clone https://github.com/RobertCNelson/ti-linux-kernel-dev
cd ti-linux-kernel-dev
git checkout origin/ti-linux-4.1.y -b tmp
./build_deb.sh

Lee Armstrong

unread,
Oct 26, 2015, 3:20:45 PM10/26/15
to beagl...@googlegroups.com, Beagle Board
Oh no!

I will try building myself but failing that I can probably wait till Thursday.

Will report back if the issue gets fixed.

Lee


Erik Stauber

unread,
Oct 26, 2015, 8:48:35 PM10/26/15
to BeagleBoard
Thanks!

l...@pinkfroot.com

unread,
Oct 27, 2015, 10:08:28 AM10/27/15
to BeagleBoard
Hi Robert,

Just checking in that 24.5 fixes the PWR button.

Lee

Erik Stauber

unread,
Dec 18, 2015, 2:22:05 PM12/18/15
to BeagleBoard
Robert,

So the power button seems to indeed work (I'm now using 4.1.13-bone-rt-r17), but now (unlike in 3.8.xx), no directory is created in /etc/acpi which holds the powerbtn-acpi-support.sh.  It seems as if that /etc/acpi is now a file, rather than a directory, and it is the same as what /etc/acpi/powerbtn-acpi-spport.sh used to be in 3.8xxx


This is all fine, but I can't figure out where and which file to modify to create a custom shutdown script.  I've tried doing an "apt-get install acpid", which then creates that directory and places the powerbtn-acpi-support.sh file in the appropriate spot, but when I modify the file nothing changes.

Thanks,
Erik

Robert Nelson

unread,
Dec 18, 2015, 2:36:26 PM12/18/15
to Beagle Board
On Fri, Dec 18, 2015 at 1:22 PM, Erik Stauber <eriks...@gmail.com> wrote:
> Robert,
>
> So the power button seems to indeed work (I'm now using 4.1.13-bone-rt-r17),
> but now (unlike in 3.8.xx), no directory is created in /etc/acpi which holds
> the powerbtn-acpi-support.sh. It seems as if that /etc/acpi is now a file,
> rather than a directory, and it is the same as what
> /etc/acpi/powerbtn-acpi-spport.sh used to be in 3.8xxx
>
>
> This is all fine, but I can't figure out where and which file to modify to
> create a custom shutdown script. I've tried doing an "apt-get install
> acpid", which then creates that directory and places the
> powerbtn-acpi-support.sh file in the appropriate spot, but when I modify the
> file nothing changes.

systemd takes care of it for me: ;)

https://github.com/systemd/systemd/blob/master/src/login/70-power-switch.rules#L13

Erik Stauber

unread,
Dec 18, 2015, 6:38:45 PM12/18/15
to BeagleBoard
ah hah.  Thanks!
Reply all
Reply to author
Forward
0 new messages