[Driver] juj fbcp ili9341
#6
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:

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)
Reply


Messages In This Thread
[Driver] juj fbcp ili9341 - by Porcinus - 07-20-2019, 03:26 AM
RE: [Driver] juj fbcp ili9341 - by Mootikins - 07-20-2019, 05:21 AM
RE: [Driver] juj fbcp ili9341 - by Porcinus - 07-20-2019, 05:32 AM
RE: [Driver] juj fbcp ili9341 - by Mootikins - 07-20-2019, 05:39 AM
RE: [Driver] juj fbcp ili9341 - by Porcinus - 07-20-2019, 05:49 AM
RE: [Driver] juj fbcp ili9341 - by kmacmart@darkcloud.ca - 07-24-2019, 05:58 AM
RE: [Driver] juj fbcp ili9341 - by Porcinus - 07-24-2019, 07:19 AM
RE: [Driver] juj fbcp ili9341 - by Porcinus - 07-24-2019, 12:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)