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

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

I’ve just seen this and having the same issue actually!

Thanks,

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. :wink:

Regards,

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

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

Regards,

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

Thanks!

Hi Robert,

Just checking in that 24.5 fixes the PWR button.

Lee

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

systemd takes care of it for me: :wink:

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

Regards,

ah hah. Thanks!