Moode Forum
Allo Boss2 which version of Moode? - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Allo Boss2 which version of Moode? (/showthread.php?tid=6461)

Pages: 1 2


Allo Boss2 which version of Moode? - dhu46 - 05-09-2024

Hello All

Looking for some advice on which version of Moode currently works best with the Allo Boss2 DAC.

The device I have is the Boss2 player, which includes the Boss2 HAT DAC and RPi4b 4gb.  
The device will be used principally for Roon playback and more occasionally with other sources.  

Current status:
Running Moode 7.5.0  
RasPi OS: 5.4.77-v71+ #1371 (arm v71 32 bit)

This rather old version of Moode works, namely there is sound output and the Boss2 OLED display functions.  I managed to install and activate Roon Bridge successfully by setting the OS to 32 bit, rather than 64.

Question is at this time can I upgrade to a more modern version of Moode?  And which version would be best?
Should I install Moode 8.3.0?  If so, how do I find and download the image file?
Or should I best wait for Moode 9.0?

Many thanks in advance for your cumulative wisdom and guidance.
Cheers,
PJ.

++++++++++++++++
Further background:
I read through forum posts noting problems with the Boss2, the broken kernel after Moode 8.3.0 and the kernel patch (#5510) which had now been applied to (?) OS version 6.4 and above.  

My reading of those threads was that 8.3.9 should work with the Boss2 DAC, but might need a kernel patch.  
I tried this and failed fairly comprehensively :-)

Result was that 8.3.9 did not support playback (but the OLED did work).  I ran the patch, but like @kenship in his post "ALSA Error and No Boss 2 After 8.3.8 Upgrade" could not install patch 5510 (404 not found) and ended up with kernel 6.6.xx which broke both audio playback and OLED display on the Boss2.
++++++++++++++++


RE: Allo Boss2 which version of Moode? - fdealexa - 05-16-2024

Hello PJ,
it is more than a week that I am trying to answer to your question.
With the new 9.0.0 the driver has not longer problems, but... it seems that the software for the OLED, and in particular the IR-Remote part, has a problem (probably with the new libraries).
To make it running, without the IR control, a line of the program
Code:
/opt/boss2_oled_p3/boss2_oled.py

has to be commented:

Code:
#   GPIO.add_event_detect(irPin,GPIO.BOTH,callback=ir.pWidth)


instead of


Code:
GPIO.add_event_detect(irPin,GPIO.BOTH,callback=ir.pWidth)

I am still working on it but my programming knowledge is not so big enough.
Best regards,
Francesco


RE: Allo Boss2 which version of Moode? - tomaxsas - 05-16-2024

i have improved allos boss2 support, there is a thead in here


RE: Allo Boss2 which version of Moode? - fdealexa - 05-16-2024

@tomaxsas:
Thanks, I will try your solution as soon as possible.

@dhu46:
in the mean time I have found a solution to the original OLED package (included in the moOde release).
As already reported with the "pre6" of the 9.0.0 the driver is ok to make it running the oled and the IR-remote controll it is possible to change the library:
Code:
sudo apt install python3-rpi-lgpio
 
and everything seems to work correctly.
Please let me know if it answers to your question.
Best regards and thanks,
Francesco


RE: Allo Boss2 which version of Moode? - Tim Curtis - 05-16-2024

(05-16-2024, 12:50 PM)fdealexa Wrote: @tomaxsas:
Thanks, I will try your solution as soon as possible.

@dhu46:
in the mean time I have found a solution to the original OLED package (included in the moOde release).
As already reported with the "pre6" of the 9.0.0 the driver is ok to make it running the oled and the IR-remote controll it is possible to change the library:
Code:
sudo apt install python3-rpi-lgpio
 
and everything seems to work correctly.
Please let me know if it answers to your question.
Best regards and thanks,
Francesco

The current build options for the OLED script package are below.

Code:
--description 'This Allo BOSS2 OLED application that runs on Python 3.x .' \
--depends python3-rpi.gpio \
--depends python3-smbus \
--depends python3-pil \

Should the lgpio python lib be used instead of gpio?


RE: Allo Boss2 which version of Moode? - fdealexa - 05-16-2024

Hi Tim,
after a long search: many answers were related to GPIO pin conflict. As you know hardware is not easily modified, especially in the case of Allo Boss2. One solution could be to use a different program (as reported in tomaxsas' thread), but I thought maintaining the Boss package (included in the moOde version) was less invasive.
I found the library replacement solution in this thread.
Of course it is up to you to choose the different program or the different library.
Thank you very much for your interest in this issue and best regards,
Francesco


RE: Allo Boss2 which version of Moode? - Tim Curtis - 05-16-2024

I don't personally test Boss 2 so I rely on others to give me direction.

I can easily modify the build options and provide an updated package built into moode for the OLED script but I need to know that the modification has been tested and works.


RE: Allo Boss2 which version of Moode? - fdealexa - 05-16-2024

Tim,
I have, at the moment, tested the library only. If you like I can try the oled script during the weekend.
Good evening (for you) and good night ( for me: it is 2 a.m.),
Francesco


RE: Allo Boss2 which version of Moode? - nosferatu_cat - 05-17-2024

(05-16-2024, 11:10 PM)fdealexa Wrote: Hi Tim,
after a long search: many answers were related to GPIO pin conflict. As you know hardware is not easily modified, especially in the case of Allo Boss2. One solution could be to use a different program (as reported in tomaxsas' thread), but I thought maintaining the Boss package (included in the moOde version) was less invasive.
I found the library replacement solution in this thread.
Of course it is up to you to choose the different program or the different library.
Thank you very much for your interest in this issue and best regards,
Francesco

I've installed pre-6 on my Pi 4 with the Moode Boss 2.  The HAT works except for the display.  I installed the Python library and now the OLED is working.  I've always thought of the OLED as a nice to have but it's more fun to see it light up.  I'm happy, assuming that there aren't any side effects to be concerned about.  I've been toying with the idea of tossing the Boss 2 and replacing it with an inexpensive external DAC.  I'm glad to be able keep it.  I'm starting to think of it as the Betamax of Pi audio HATs.


RE: Allo Boss2 which version of Moode? - Tim Curtis - 05-17-2024

(05-16-2024, 11:51 PM)fdealexa Wrote: Tim,
I have, at the moment, tested the library only. If you like I can try the oled script during the weekend.
Good evening (for you) and good night ( for me: it is 2 a.m.),
Francesco

Hi Francesco,

The lgpio lib does the trick as confirmed by @nosferatu_cat and @Patolog1964 in the Bookworm thread regarding the rotary encoder driver which also uses Python gpio.

Thanks for finding the solution. I've incorporated it into upcoming 9.