Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Hello everybody .... :-) greetings from Germany
#11
(06-06-2024, 11:53 AM)lepetitdiable Wrote:
(06-05-2024, 01:00 PM)fdealexa Wrote:
(06-05-2024, 10:04 AM)lepetitdiable Wrote:
(06-01-2024, 12:56 PM)TheOldPresbyope Wrote: @lepetitdiable 

Guten Tag, Manuel, and welcome to the forum.

You'll find a lot of good company here including some other musicians. Sadly, I'm not...but I just attended a great Chris Botti concert last night.

It sounds like you are well on your way with moOde. Vielen Spass!

Regards,
Kent
mid-Altantic region, USA

Hi Kent,

  thank you for the warm welcome!
 You may be right, at least another bass player has already contacted me  ... (Hi Dorffen  Big Grin  )

Surely your concert was great ....  my next one will be a gig of "The Hooters" - I'll let myself be surprised. 


Concerning MoOde ... Well, I still stumble a lot:

As written in my last post, I replaced my previous Pi 4B board with a Pi 5B. Unfortunately, my connected (SPI) OLED display remains dark, even though I followed Adrian's great instructions meticulously.  I repeated the test with a completely new installation of the SW and identical HW wiring: It works with the Pi 4, but not with the Pi 5 - too bad.  I hope, I'm not alone with this issue .... so I will write a Post in the Support-section ...

Regards, 

Manuel

Hi Manuel,
Welcome on board.
As already reported to Adrian, I had the same issue with moOde 9. A temporary workaround is to install from source instead of binary: please try to follow the Adrian instructions on his github.
Best regards,
Francesco

Hello Francesco, 

           thank you very much for your help !  
I had already read your posts with Andrii and chose the source installation - unfortunately without success: The display remains dark with the Raspberry 5.  
One reason will certainly be, that my display is a 2.42 inch OLED with SSD1309 processor... too bad, I'll probably have to stay with the Raspi 4.

Hi Manuel ,
Is your OLED with I2C interface (4 wires)?
Try the command

Code:
i2cdetect -y 1

To see if the device is correctly connected and runnng.
Regards,
Francesco
Reply
#12
Hello Francesco,

Thank you very much for your help.

My player, which already works with a Pi 4, is connected to the display via SPI. 

[Image: Mo-Ode-Player-2024.jpg]

Rewiring would be difficult here  (... but not impossible!)

This is how I wired both Raspberries (Pi 4 and 5) :

[Image: IMG-7552.jpg]
 
So I'll try the I2C variant - at least that would still be an alternative.
I haven't installed my Pi 5 yet and have another display for testing.
I'll get back to you as soon as I have a result - but it may be a while before I'm ready.

Regards,
Manuel
Reply
#13
Hi Manuel,

With the OLED configurated as a spi device, could you please try to run


Code:
sudo raspi-config

option 3 (interface), enable spi.
After that please give these commands:

Code:
le -l /dev/spi*
lsmod | grep spi


And let us know the results.
Regards,
Francesco 

P. S. The connection you showéd, seems correct.
Reply
#14
(06-07-2024, 10:51 PM)fdealexa Wrote: Hi Manuel,

With the OLED configurated as a spi device, could you please try to run


Code:
sudo raspi-config

option 3 (interface), enable spi.
After that please give these commands:

Code:
le -l /dev/spi*
lsmod | grep spi


And let us know the results.
Regards,
Francesco 

P. S. The connection you showéd, seems correct.

Hi Francesco,

     yes, I had already activated SPI in config.txt (to be on the safe side, I activated it again as desired and rebooted)
 
Oh dear, now you've caught me out cold: my Linux knowledge is pathetic. 
Unfortunately, my system (and I ;-) ) can't do anything with the command ‘le -l’:
Code:
mg@moode:~ $ le -l /dev/spi*                                                                                        
-bash: le: command not found

I was so bold as to assume a spelling mistake and simply entered ‘ls -l’, that's what I got:
Code:
mg@moode:~ $ ls -l /dev/spi*                                                                                                                  
crw-rw---- 1 root spi 153, 1 Jun  9 14:34 /dev/spidev0.0                                                                                      
crw-rw---- 1 root spi 153, 2 Jun  9 14:34 /dev/spidev0.1                                                                                      
crw-rw---- 1 root spi 153, 0 Jun  9 14:34 /dev/spidev10.0                                                                                      

- and for the last command I got this answer:

Code:
mg@moode:~ $ lsmod | grep spi                                                                                                                  
spi_dw_mmio            49152  0                                                                                                                
spidev                 49152  0                                                                                                                
spi_dw                 49152  1 spi_dw_mmio                                                                                                    
spi_bcm2835            49152  0                                                                                                                

Hope It helps ...

Thank you !
Manuel
Reply
#15
Hi Manuel,
I asked to use the "raspi-config" because the config.txt is now located in the / boot/firmware folder.
Now last question is: how is the mpd-oled invoked, in other words the command line you use to.
Best regards,
Francesco
P.S. sorry for le instead of ls
Reply
#16
Hi Francesco,

the call is
Code:
sudo mpd_oled_service_edit -o 7 -r 25 -D 24 -b 21 -C 1 -g 1 -f 20 -c alsa,plughw:Loopback,1

(just like I do it with the Raspberry 4).

Haha, I had fun with the ‘le’, I didn't want to look completely stupid ...  ... and searched like a big one Smile   G**gle has a new friend now.
No problem, Francesco ...
Thanks again for your help!

Manuel
Reply
#17
Manuel,
Have you (obviously yes) enable metadata and loopback?
Would you please try to change the option: Config -> System -> Startup option to Firmware Mode (Legacy)?
Have you already tryed to run mpd-oled on rpi4 and moode 9.0?
Regards
Francesco
Reply
#18
Hi Francesco,

... what a day:
first I tried a Raspberry 4 with an 8.3.9 version -> the display works fine... ,
then installed a 9.0.1 version + cava + mpd_oled on the Raspberry 4: the display works here too...

Last but not least, I completely reinstalled everything on the Raspberry Pi 5: Version 9.0.1 + cava + mpd_oled ...
The display refuses to work !.

I have switched ON ‘metadata’ and ‘loopback’ on all versions - also on the Raspberry 5.

Under ‘Config -> System -> Startup option’ I have set the following options under Moode 9.0.1 on the Raspberry 5:
‘Worker response’ set to ‘default’,
‘CPU governor’ set to ‘On-Demand’ and
‘PCI express’ set to ‘Off’.

Unfortunately I could not find the option (‘Firmware Mode’) here...


Regards,
Manuel
Reply
#19
(06-10-2024, 04:03 PM)lepetitdiable Wrote: Hi Francesco,

... what a day:
first I tried a Raspberry 4 with an 8.3.9 version -> the display works fine... ,
then installed a 9.0.1 version + cava + mpd_oled on the Raspberry 4: the display works here too...

Last but not least, I completely reinstalled everything on the Raspberry Pi 5:  Version 9.0.1 + cava + mpd_oled ...
The display refuses to work !.

I have switched ON ‘metadata’ and ‘loopback’ on all versions - also on the Raspberry 5.

Under ‘Config -> System -> Startup option’ I have set the following options under Moode 9.0.1 on the Raspberry 5:
‘Worker response’ set to ‘default’,
‘CPU governor’ set to ‘On-Demand’ and
‘PCI express’ set to ‘Off’.

Unfortunately I could not find the option (‘Firmware Mode’) here...


Regards,
Manuel

Please Have a look to the attachment.
Regards,
Francesco

   
Reply
#20
Photo 
[attachment=3879]
(06-10-2024, 05:10 PM)fdealexa Wrote: [quote='lepetitdiable' pid='55134' dateline='1718035413']
Hi Francesco,

... what a day:
first I tried a Raspberry 4 with an 8.3.9 version -> the display works fine... ,
then installed a 9.0.1 version + cava + mpd_oled on the Raspberry 4: the display works here too...

Last but not least, I completely reinstalled everything on the Raspberry Pi 5:  Version 9.0.1 + cava + mpd_oled ...
The display refuses to work !.

I have switched ON ‘metadata’ and ‘loopback’ on all versions - also on the Raspberry 5.

Under ‘Config -> System -> Startup option’ I have set the following options under Moode 9.0.1 on the Raspberry 5:
‘Worker response’ set to ‘default’,
‘CPU governor’ set to ‘On-Demand’ and
‘PCI express’ set to ‘Off’.

Unfortunately I could not find the option (‘Firmware Mode’) here...


Regards,
Manuel

Please Have a look to the attachment.
Regards,
Francesco


Hi Francesco,

Hum...  surprise, surprise Huh 
I'm sorry, I can't set this option:
This are my possibilities ...

[Image: Bildschirmfoto-2024-06-10-um-19-22-46.png]

... do I have a different version than you?

[Image: Bildschirmfoto-2024-06-10-um-19-30-58.png]

Regards,
Manuel
Reply


Forum Jump: