Since alarms set up with GNOME Clocks can't yet wake up the device from suspend, I wrote a small alarm app exploring how to set up systemd timers that wake up the system through the interal RTC device.
For now there is just one alarm available and not recurring but this is just an UI issue, not a limitation of the systemd timers.
You can install it through "make install" on any OS that has systemd or, for Mobian, use the binary packages linked in the README:
https://gitlab.gnome.org/kailueke/wake-mobile
Eventually GNOME Clocks will be able to wake the device, too, but this is still in development and requires an approach of making the necessary Linux capabilities available to regular users.
I worked around this limitation in my app by using a setuid binary that can only write out a drop-in unit file for the systemd timer.
Cool stuff! I need to wake up earlier tomorrow, maybe I should test how reliable it is...
(01-08-2021, 04:32 PM)pothos Wrote: ...
You can install it through "make install" on any OS that has systemd ...
On (up to date Arch) I can make install fine (after installing gcc and make).
At runtime I have the psutil challenge and can't find a suitable Arch package to resolve; I tried both psutils and python2-psutil without success. Python3 is installed but there appears to be no python(3)-psutil package :-(
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
I installed it on Mobian. It installed with errors. "gnome package Canterbury not installed" and it won't open.
On Mobian I installed and have it running fine from the .deb - download that and install it with apt which will resolve all the dependencies. In the directory yu download the deb
sudo apt install ./thefilename.deb
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
(02-05-2021, 05:44 PM)dukla2000 Wrote: On Mobian I installed and have it running fine from the .deb - download that and install it with apt which will resolve all the dependencies. In the directory yu download the deb
sudo apt install ./thefilename.deb That's what I did. I downloaded he Mali64.deb. Should I have downloaded the ARM64.deb?
02-06-2021, 05:31 AM
(This post was last modified: 02-06-2021, 12:43 PM by dukla2000.)
(02-05-2021, 10:59 PM)C0ffeeFreak Wrote: (02-05-2021, 05:44 PM)dukla2000 Wrote: On Mobian I installed and have it running fine from the .deb - download that and install it with apt which will resolve all the dependencies. In the directory yu download the deb
sudo apt install ./thefilename.deb That's what I did. I downloaded he Mali64.deb. Should I have downloaded the ARM64.deb?
You need the arm package - this one.
(To be fair I installed version 1.1-1 a while ago, so there may be problems with the current version 1.3-1 but who knows?)
ps: just removed 1.1 and installed 1.3 on my Mobian install fine. Which fails on runtime as python3-psutil needs to be manually installed and then all is well (on Mobian).
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
I installed the file gain. No joy. It just hangs on the Mobian wallpaper launch screen.
(02-13-2021, 03:59 PM)C0ffeeFreak Wrote: I installed the file gain. No joy. It just hangs on the Mobian wallpaper launch screen.
Open the terminal and type
Code: sudo apt install python3-psutil
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
|