06-28-2024, 07:08 AM
(06-27-2024, 05:28 PM)adrii Wrote: Hi Francesco
I have updated the BCM 2835 library to the latest version 1.75, tested on a fresh install of Moode 9 on a Pi4 with an I2C and an SPI display, and pushed the changes to the mpd_oled reposiitory.
If you (or anyone else) builds the latest mpd_oled from source on a Pi5 then please let me know if it is working with an SPI display. Once I have confirmation then I will build a new mpd_oled binary package.
Regarding the mpd_oled binary package failure on Moode 9, it looks like the missing package libfftw3-3 is just a dummy package that causes other packages to be installed, and I can just list these individual packages instead, so should be a very minor change.
Adrian.
Hi Adrian,
Thanks for your time; unfortunatly with the new modification, it does not run: I am not sure if the following feelings can help:
1. the system stucks at 100% of load (of 1 cpu of course) - (please note that on I2C it doesn't happen and runs correctly).
Code:
top - 08:54:27 up 18 min, 1 user, load average: 1.10, 1.08, 0.73
Tasks: 175 total, 2 running, 173 sleeping, 0 stopped, 0 zombie
%Cpu(s): 25.8 us, 1.7 sy, 0.0 ni, 72.2 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
MiB Mem : 8052.4 total, 6873.5 free, 357.0 used, 926.3 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 7695.5 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13053 root 20 0 24160 2048 2048 R 100.0 0.0 7:56.24 mpd_oled
9392 mpd 20 0 634176 42464 29696 S 5.0 0.5 0:51.76 mpd
22 root 20 0 0 0 0 S 0.3 0.0 0:00.12 ksoftir+
655 root 20 0 91552 20992 15360 S 0.3 0.3 0:00.85 winbindd
666 root 20 0 92256 18480 12800 S 0.3 0.2 0:00.81 winbindd
8551 root 20 0 100512 23040 16896 S 0.3 0.3 0:00.60 rpcd_ls+
1 root 20 0 170272 12192 8192 S 0.0 0.1 0:04.57 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
2. it seems that "/dev/gpiomem" does not longer exists:
Code:
pi@MoOde-FdA-Test5:~/mpd_oled $ ls -lia /dev/g*
88 crw-rw---- 1 root gpio 254, 0 Jun 23 16:06 /dev/gpiochip0
89 crw-rw---- 1 root gpio 254, 1 Jun 23 16:06 /dev/gpiochip1
90 crw-rw---- 1 root gpio 254, 2 Jun 23 16:06 /dev/gpiochip2
91 crw-rw---- 1 root gpio 254, 3 Jun 23 16:06 /dev/gpiochip3
131 crw-rw---- 1 root gpio 254, 4 Jun 23 16:06 /dev/gpiochip4
333 crw-rw---- 1 root gpio 235, 0 Jun 23 16:06 /dev/gpiomem0
329 crw-rw---- 1 root gpio 239, 0 Jun 23 16:06 /dev/gpiomem1
330 crw-rw---- 1 root gpio 238, 0 Jun 23 16:06 /dev/gpiomem2
331 crw-rw---- 1 root gpio 237, 0 Jun 23 16:06 /dev/gpiomem3
332 crw-rw---- 1 root gpio 236, 0 Jun 23 16:06 /dev/gpiomem4
pi@MoOde-FdA-Test5:~/mpd_oled $
Please do not hesitate to ask to test more modifications: I just received the pi5 and I tested immediatelly the mpd_oled because somebody else had this problem and I would help him ( "lepetitdiable" at this thread ).
Best regards and thank you very much,
Francesco