Re: Integartion with systemd and rtcwake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 11.04.2023 um 07:41 schrieb Marko Mäkelä:
Mon, Apr 10, 2023 at 07:08:29AM -0700, VDRU VDRU wrote:
Why don't you make life easy and just add a $5-10 rtc module and be
done with it?

Based on this discussion
https://forums.raspberrypi.com/viewtopic.php?t=210662 one would need
more than that. "Shutting down" the Raspberry Pi will actually reboot it
into the bootloader in a special mode that will cause the firwmare to
wait for a "power on" GPIO signal.

The only way to actually power off the Raspberry Pi is to cut the power
supply. At https://github.com/bablokb/pi-wake-on-rtc you can find a
schematic diagram and board layout of such a solution (incompatible with
rtcwake). I don't think that the hardware part can be done by extending
the Pi TV HAT with some 3D soldering, like I did to mount an IR receiver.

I was actually looking feedback for the systemd integration, which is
not specific to the Raspberry Pi.

     Marko

Maybe still not what you want, but how other guys do it:
https://www.vdr-portal.de/forum/index.php?thread/133092-ein-weiterer-ir-einschalter-f%C3%BCr-den-rpi/&postID=1319903&highlight=mosfet
https://www.vdr-portal.de/forum/index.php?thread/133332-arduino-nano-mit-neopixel-leds-seriell-steuern-ausschalten/&postID=1322285#post1322285
(german, you might need google translate, but you can post in english)
* wakeup done by STM32 microcontroller board (either by timer set from
vdr or by remote control)
* power switched by MOSFET
* full systemd and vdr integration
* very cheap

Joerg

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux