Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: wesley1 on August 05, 2020, 10:46:58 PM
-
Hi, I wasn't able to get dtoverlay to work in tinycore. Although the same modification to the config.txt file works in raspbian.
This is what I am trying to add
dtoverlay=gpio-shutdown
-
That overlay does nothing without something monitoring the kernel events.
If you read this,
https://github.com/raspberrypi/linux/blob/8ae5f3e1ecf0c41cb788d90c048a10c27e8aaa02/arch/arm/boot/dts/overlays/README#L860
You will notice it only generates keyboard event. Almost none of the commands Listed in that help doc will work under piCore, you will have to make a variant of the udev rule to call a shutdown script, or just make a little program to monitor kernel keyboard events.