WLAN-Pi / wlanpi-fpms

Front Panel Menu System for WLAN Pi RPi and CM4 hardware
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Display doesn't or just sporadically respond when eth0 is down #65

Open Her0-1337 opened 2 years ago

Her0-1337 commented 2 years ago

Hi, first: fpms now works with my 1.44 inch lcd thanks for that! But I found out that when the ethernet interface is down the display doesn't respond or just sporadically. I got it running on a Raspi 3b.

I added a Video which shows the issue: https://youtu.be/1tP6WWbKuKU

jiribrejcha commented 2 years ago

I haven’t personally noticed this on RPi4 + Waveshare 1.44” LCD display and buttons HAT. Unfortunately, I don’t have an RPi3 to test. I think officially we don’t plan to support RPi3, but considering the industry-wide component shortages, we will see if we can help you.

If you could collect Front Panel Menu System (FPMS) service log, that might help us root cause it: sudo journalctl -u wlanpi-fpms

@joshschmelzle have you spotted anything like this on your RPi3?

joshschmelzle commented 2 years ago

I haven't noticed this on mine, but will do some more testing to see if I can reproduce.

Her0-1337 commented 2 years ago

I can't find anything revealing in the log I think if I find a Pi 4 for a good price I'll buy one.

Log:


-- Boot 7ce344192abf4bd39d6efc08bdf3f14e --
Mar 19 13:26:19 wlanpi-15c sudo[2051]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session closed for user root
Mar 19 13:27:53 wlanpi-15c sudo[3971]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session closed for user root
Mar 19 13:29:07 wlanpi-15c sudo[6032]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:29:07 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:29:08 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session closed for user root
Mar 19 13:30:23 wlanpi-15c sudo[7988]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session closed for user root
Mar 19 13:31:38 wlanpi-15c sudo[9947]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session closed for user root
Mar 19 13:32:53 wlanpi-15c sudo[11900]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session closed for user root
Mar 19 13:34:07 wlanpi-15c sudo[13854]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:34:07 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:34:08 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session closed for user root
Mar 19 13:35:22 wlanpi-15c sudo[15808]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:35:22 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:35:23 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session closed for user root
Mar 19 13:36:37 wlanpi-15c sudo[17764]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session closed for user root
Mar 19 13:37:52 wlanpi-15c sudo[19727]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session closed for user root
Mar 19 13:39:07 wlanpi-15c sudo[21680]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:35 wlanpi-15c sudo[25449]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:35 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:37 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:38 wlanpi-15c sudo[25640]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:45 wlanpi-15c sudo[26301]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:53 wlanpi-15c sudo[26562]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session closed for user root

```-- Boot 7ce344192abf4bd39d6efc08bdf3f14e --
Mar 19 13:26:19 wlanpi-15c sudo[2051]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:26:19 wlanpi-15c sudo[2051]: pam_unix(sudo:session): session closed for user root
Mar 19 13:27:53 wlanpi-15c sudo[3971]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:27:53 wlanpi-15c sudo[3971]: pam_unix(sudo:session): session closed for user root
Mar 19 13:29:07 wlanpi-15c sudo[6032]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:29:07 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:29:08 wlanpi-15c sudo[6032]: pam_unix(sudo:session): session closed for user root
Mar 19 13:30:23 wlanpi-15c sudo[7988]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:30:23 wlanpi-15c sudo[7988]: pam_unix(sudo:session): session closed for user root
Mar 19 13:31:38 wlanpi-15c sudo[9947]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/o>
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:31:38 wlanpi-15c sudo[9947]: pam_unix(sudo:session): session closed for user root
Mar 19 13:32:53 wlanpi-15c sudo[11900]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:32:53 wlanpi-15c sudo[11900]: pam_unix(sudo:session): session closed for user root
Mar 19 13:34:07 wlanpi-15c sudo[13854]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:34:07 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:34:08 wlanpi-15c sudo[13854]: pam_unix(sudo:session): session closed for user root
Mar 19 13:35:22 wlanpi-15c sudo[15808]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:35:22 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:35:23 wlanpi-15c sudo[15808]: pam_unix(sudo:session): session closed for user root
Mar 19 13:36:37 wlanpi-15c sudo[17764]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:36:37 wlanpi-15c sudo[17764]: pam_unix(sudo:session): session closed for user root
Mar 19 13:37:52 wlanpi-15c sudo[19727]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:37:52 wlanpi-15c sudo[19727]: pam_unix(sudo:session): session closed for user root
Mar 19 13:39:07 wlanpi-15c sudo[21680]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 13:39:07 wlanpi-15c sudo[21680]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:35 wlanpi-15c sudo[25449]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:35 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:37 wlanpi-15c sudo[25449]: pam_unix(sudo:session): session closed for user root
Mar 19 14:17:38 wlanpi-15c sudo[25640]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:17:38 wlanpi-15c sudo[25640]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:45 wlanpi-15c sudo[26301]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:45 wlanpi-15c sudo[26301]: pam_unix(sudo:session): session closed for user root
Mar 19 14:18:53 wlanpi-15c sudo[26562]:     root : PWD=/opt/wlanpi-fpms/lib/python3.9/site-packages/fpms ; USER=root ; COMMAND=/>
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Mar 19 14:18:53 wlanpi-15c sudo[26562]: pam_unix(sudo:session): session closed for user root
joshschmelzle commented 2 years ago

I was able to reproduce the observation on my RPi 3b+. Since the logging doesn't reveal anything, further investigation would be needed for an explanation.

I am guessing it has to do with the logic to refresh infos on the Home Screen taking longer on RPi3b+ than RPi4 or CM4.

It's at least usable after the screen responds after a few short moments, but, yes, annoying. And only seems to occur when there is no active Ethernet uplink.