Moode Forum
[SOLVED] Boos2 OLED configuration - 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: [SOLVED] Boos2 OLED configuration (/showthread.php?tid=6526)



Boos2 OLED configuration - Akhil Vjn - 05-28-2024

Hi, 
I purchased a new allo boss2 dac and i tried to update with latest moode version to it. After installation the OLED display of the dac player is not working. I have followed the configuration text by Allo, but the tar file is not downloading. I tried the github link also, but it shows permission denied. I have attached the screenshots of the process. Please help me to get a solution for this. 


[Image: view?usp=sharing][Image: view?usp=sharing]Thank you


RE: Boos2 OLED configuration - TheOldPresbyope - 05-28-2024

(05-28-2024, 03:24 PM)Akhil Vjn Wrote: Hi, 
I purchased a new allo boss2 dac and i tried to update with latest moode version to it. After installation the OLED display of the dac player is not working. I have followed the configuration text by Allo, but the tar file is not downloading. I tried the github link also, but it shows permission denied. I have attached the screenshots of the process. Please help me to get a solution for this. 


[Image: view?usp=sharing][Image: view?usp=sharing]Thank you

Um, /opt is owned by root and the error message is telling you that you as user pi don't have permission to write to it. Try ;'sudo wget...'

or else just download the file to the home directory and then do what you have to do.

Regards,
Kent


RE: Boos2 OLED configuration - Akhil Vjn - 05-28-2024

Thank you so much. It is working....

Kind regards,
Akhil


RE: Boos2 OLED configuration - Tim Curtis - 05-28-2024

The Boss2 oled script is built into moode. There should be no need to download and install anything.


RE: Boos2 OLED configuration - TheOldPresbyope - 05-28-2024

(05-28-2024, 04:05 PM)Tim Curtis Wrote: The Boss2 oled script is built into moode. There should be no need to download and install anything.

Aha. Did not know that Smile

Regards,
Kent


RE: Boos2 OLED configuration - Akhil Vjn - 05-28-2024

(05-28-2024, 04:05 PM)Tim Curtis Wrote: The Boss2 oled script is built into moode. There should be no need to download and install anything.

Hi Tim, 
How to enable the inbuilt function in moode ver 9? I installed moode 9 via rpi imager, but the oled screen shows blank. I tried above method to activate the oled and after installing the script and after the reboot it is working. But after a shutdown the screen shows 0.00 dB and not functioning. Could you please tell me the problem and what to do next?

Kind regards, 
Akhil


RE: Boos2 OLED configuration - Tim Curtis - 05-28-2024

The oled script should be started automatically during moode startup. 

The code block is below. There should also be long entries in the startup log (moodeutl -l)

/var/www/daemon/worker.php
Code:
// Allo Boss 2 OLED
// The Allo installer adds lines to rc.local which are not needed because we start/stop it via systemd unit
if (!empty(sysCmd('grep "boss2" /etc/rc.local')[0])) {
    sleep(1); // Allow rc.local script time to exit after starting worker.php
    sysCmd('sed -i /boss2/d /etc/rc.local');
    $scriptMsg = 'manually installed script, rc.local updated';
} else {
    $scriptMsg = 'OLED script ok';
}
if ($_SESSION['i2sdevice'] == 'Allo Boss 2 DAC' && !file_exists($_SESSION['home_dir'] . '/boss2oled_no_load')) {
    sysCmd('systemctl start boss2oled');
    $msg = 'OLED started, ' . $scriptMsg;
} else {
    $msg = 'not detected, ' . $scriptMsg;
}
workerLog('worker: Allo Boss 2:      ' . $msg);

If there are bugs in the script included with moode someone with a Boss 2 is going to need to help debug it. Remember Allo is not around anymore to support their software and so its every man for himself.

Btw, if the Allo downloaded script is installed it will overwrite the script supplied with moode and thats not something that can be supported.


RE: Boos2 OLED configuration - Akhil Vjn - 05-28-2024

I reinstalled the image. Now everything working superbly. Thank you so much.


RE: Boos2 OLED configuration - Nutul - 05-28-2024

(05-28-2024, 07:24 PM)Akhil Vjn Wrote: I reinstalled the image. Now everything working superbly. Thank you so much.

Glad to hear everything is working.
Now. for clarity, you could just mark the thread as SOLVED.
Edit the very first post and change the prefix (and also remove the exclamation)


RE: Boos2 OLED configuration - Akhil Vjn - 05-29-2024

Somebody marked the thread as SOLVED.


Thank you