Re: Integartion with systemd and rtcwake

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

 



Am 11.04.2023 um 16:36 schrieb Marko Mäkelä:
Can you point to an example?

https://github.com/j1rie/IRMP_STM32/blob/master/irmplircd/vdrshutdown
writes the time of the next vdr timer start into the alarm of the STM32
https://github.com/j1rie/IRMP_STM32/tree/master/stm32IRalarm/Linux.
That alarm gets decreased by the systick of the STM32 and finally starts
the system.
https://github.com/j1rie/IRMP_STM32/blob/master/STM32F103x8/src/main.c#L382
https://github.com/j1rie/IRMP_STM32/blob/master/STM32F103x8/src/main.c#L416
That's not as precise as a RTC, but good enough.
As a side effect you have an IR receiver for many protocols
https://github.com/j1rie/IRMP_STM32

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