07-24-2019, 05:58 AM
(This post was last modified: 07-24-2019, 07:05 AM by kmacmart@darkcloud.ca.
Edit Reason: don't specify filled and add note about filled driver
)
That fix worked like a charm-- I only did some brief tests, but I haven't hit any of the typical slowdowns since setting it up.
Two small notes:
1. I made the assumption that you meant "SAVE_BATTERY_BY_SLEEPING_WHEN_IDLE" should be commented (your notes just mention that it's uncommented by default).
2. Rather than use rc.local, I created a systemd service at /etc/systemd/system/fbcpNoBatterySaving.service to keep more in line with the existing system:
then enabled the service by running:
Thanks a ton for doing the leg work on this, and I don't see why it wouldn't make sense to build this into the image (at least as an option).
EDIT: I forgot to add that I also had to stop and disable the fbcpFilled.service (since I'm using the experimental filled driver)
Two small notes:
1. I made the assumption that you meant "SAVE_BATTERY_BY_SLEEPING_WHEN_IDLE" should be commented (your notes just mention that it's uncommented by default).
2. Rather than use rc.local, I created a systemd service at /etc/systemd/system/fbcpNoBatterySaving.service to keep more in line with the existing system:
Code:
[Unit]
Description=juj fbcp driver for Freeplay CM3 with battery saving disabled
After=basic.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=2
User=root
ExecStart=/home/pi/Freeplay/fbcp-ili9341/build/fbcp-ili9341
[Install]
WantedBy=multi-user.target
then enabled the service by running:
Code:
sudo systemctl daemon-reload
sudo systemctl enable fbcpNoBatterySaving
Thanks a ton for doing the leg work on this, and I don't see why it wouldn't make sense to build this into the image (at least as an option).
EDIT: I forgot to add that I also had to stop and disable the fbcpFilled.service (since I'm using the experimental filled driver)