07-01-2021, 12:30 PM
Awesome!
Spectrum works with Spotify.
Thanks Adrian
Spectrum works with Spotify.
Thanks Adrian
Thank you for your donation!
Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
|
07-01-2021, 12:30 PM
Awesome!
Spectrum works with Spotify. Thanks Adrian
07-03-2021, 07:01 AM
Hello adrii,
can you help me please? After update moode to 7.3, mpd_oled not working. I also tried a new installation of moode and mpd_oled. It worked for me before the update. Code: ● mpd_oled.service - MPD OLED Display Thanks
07-03-2021, 09:17 AM
Hi Lucius
Thank you for reporting the issue. Your output indicates that mpd_oled has crashed on startup, but I have been unable to reproduce this. I don't have your particular OLED, but I have an SSH1106 SPI screen, which I have connected to the same pins as yours. I started with a fresh copy of Moode 7.3, installed mpd_oled from source, and ran with the options you are using (apart from using -o 7 insead of -o 1). Everything is working fine for me Code: pi@moode217a:~ $ sudo systemctl status mpd_oled I am unsure what is causing the issue, and can only make some general suggestions for troubleshooting. Have you changed anything at all regarding the screen wiring or configuration from whan the sceen was working (I recommend reviewing the connections, even if you have not changed them)? Could you say a bit more about your hardware. Do you have any devices that might be using the same pins that you are using for the display? Are there any clues in the logs (e.g. error messages that might relate to SPI or GPIO)? Code: moodeutl -l | less If you are not using any other SPI devices you could try removing the line 'dtparam=spi=on' from '/boot/config.txt'. Try running mpd_oled on the command line, in case there are any extra messages Code: sudo systemctl stop mpd_oled Adrian.
I'm using the Audiophonics RaspDAC Mini with RPi 3B and haven't made any changes to the display wiring.
There are no error messages in the logs regarding SPI and GPIO. After removing 'dtparam=spi=on' from '/boot/config.txt' I get this: Code: pi@moode:~ $ sudo /usr/local/bin/mpd_oled -o 1 -r 24 -D 27 -b 21 -g 1 -f 15 -c alsa,plughw:Loopback,1 Thanks
07-03-2021, 12:07 PM
Hi Lucius
It is going to be difficult for me to help with this. If you know how to program on the Raspberry Pi with C++ then you could try to track down where the segfault is occuring in the mpd_oled code, and it might suggest a solution. Is it possible that the Moode upgrade included some software that is also accessing your display (as it is part of a kit)? Just to note, mpd_oled accesses the hardware SPI bus directly, rather than through the kernel driver (e.g. /dev/spidev0.0). However, if you get the same result after disabling the kernel driver (removing 'dtparam=spi=on') then the issue shouldn't be due to a conflict with this. To anybody else using an SSD1306 (or SSD1309) SPI screen (-o 1) with mpd_oled on Moode 7.3, could you please confrm if it is working correctly? Adrian.
Hi adrii,
Sorry for the late reply, but I've been away. I don't know how to program on the Raspberry Pi with C++ and yes, the display is part of a kit. When I tried a fresh copy of Moode 7.3, installed mpd_oled, the display works properly: Code: ● mpd_oled.service - MPD OLED Display But after the Moode reboot, not anymore. I get the same error: Code: ● mpd_oled.service - MPD OLED Display I tried Moode 7.2.1 again and it doesn't work there either and it behaves the same as on Moode 7.3.0. Sorry for my english Edit: After removing 'dtparam=spi=on' from '/boot/config.txt' I get now this: Code: pi@moode:~ $ sudo /usr/bin/mpd_oled -o 1 -r 24 -D 27 -b 21 -g 1 -f 15 -c alsa,plughw:Loopback,1
07-11-2021, 05:55 PM
Hi Lucius
Can you start mpd_oled manually, by running the following command, after it has failed to start at boot? Code: sudo systemctl start mpd_oled If you can start mpd_oled manually after boot then it may be possible to start it at boot by adding an extra delay. Adrian. P.S. I have just seen your edit. Please add the line 'dtparam=spi=on' back into config.txt before testing with the command above.
I can't start it manually. I get the same output:
Code: ● mpd_oled.service - MPD OLED Display Edit: Now after rebooting Moode I got this output: Code: ● mpd_oled.service - MPD OLED Display
07-11-2021, 06:32 PM
Hi Lucius
I can't think why you would be able to start mpd_oled when you first install it, but not after it has crashed after a reboot. I also can't currently think of anything else to try, except maybe that you could try different GPIO pins for DC and Reset. I have a development version of mpd_oled that uses different code for the OLED driver, and also uses the linux device driver for SPI (and has more configuration options for SPI). This version may solve the issue for you. I'll see if I can review the documentation and create a repository for it sometime this week. Adrian.
07-11-2021, 06:49 PM
Hi Lucius
The extra messages about the database aren't relevant to the issue you have. mpd_oled checks the Moode database using a script to see if it Moode has finished starting up, but he database might be locked by another process, and the script will wait and try again The 'test: =: unary operator expected' also represents a failure to read the database at a particular moment, but the script needs changing so this isn't reported as an error. Adrian. |
« Next Oldest | Next Newest »
|