audiophonics / RaspDacMini

Toolset and sources file used for customizing RPI audio distributions with RaspDacMini hardware support
4 stars 0 forks source link

Script appears to run but doesn't result in a display #6

Closed chrisnoy closed 2 years ago

chrisnoy commented 2 years ago

After waiting a long time for the oled version of volumio 3+ i have tried the gitub script. The script seems to run ok with no errors but i dont get any display. I can run rdmoled ok all else works but no display, can you help? I downloaded Volumio 3.233 from volumio site, my setup is a kit from 2018 maybe the RPI is only 3 ...not sure.

After running sudo systemctl status oled as requested the following are the results:- volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Welcome to Volumio for Raspberry Pi (5.10.92-v7+ armv7l) volumio@volumio:~$ sudo systemctl status oled ● oled.service - OLED Display Service Loaded: loaded (/etc/systemd/system/oled.service; enabled; vendor preset: ena Active: failed (Result: exit-code) since Sun 2022-03-20 13:48:42 UTC; 21h ago Main PID: 794 (code=exited, status=1/FAILURE)

Mar 20 13:48:41 volumio systemd[1]: Started OLED Display Service. Mar 20 13:48:41 volumio sudo[794]: root : TTY=unknown ; PWD=/usr/local/etc/r Mar 20 13:48:41 volumio sudo[794]: pam_unix(sudo:session): session opened for us Mar 20 13:48:42 volumio sudo[794]: pam_unix(sudo:session): session closed for us Mar 20 13:48:42 volumio systemd[1]: oled.service: Main process exited, code=exit Mar 20 13:48:42 volumio systemd[1]: oled.service: Failed with result 'exit-code' lines 1-11/11 (END)

audiophonics commented 2 years ago

Hi,

I do not remember any version of the device being sold with a Raspberry Pi version older than 3B+ so that is unlikely. However, I have been pushing a lot of files in a very short span of time so my guess would rather be I made a mistake somewhere.

Let me investigate if I can reproduce this. Otherwise I will guide you to fix this.

audiophonics commented 2 years ago

That was definitely me. I had left a rsync against my own timezone somewhere and some required files never had a chance to be copied where they belong.

I am still double checking but this should be fixed now, can you give it another try ?

It should not be a problem to run the script again without reflashing the whole SD card. Worst thing that could happen is LIRC prompting 3-4 times for a "yes" at the end of the install before overwriting the remote configuration.

chrisnoy commented 2 years ago

Hi there, tried it on the same config without flash and no display, ran the check again -see below.

Should i try on a freshly flashed card?

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Welcome to Volumio for Raspberry Pi (5.10.92-v7+ armv7l) volumio@volumio:~$ sudo systemctl status oled ● oled.service - OLED Display Service Loaded: loaded (/etc/systemd/system/oled.service; enabled; vendor preset: ena Active: failed (Result: exit-code) since Tue 2022-03-22 17:03:42 UTC; 2min 42 Process: 797 ExecStart=/usr/bin/sudo /usr/bin/node /usr/local/etc/raspdacminio Main PID: 797 (code=exited, status=1/FAILURE)

Mar 22 17:03:41 volumio systemd[1]: Started OLED Display Service. Mar 22 17:03:41 volumio sudo[797]: root : TTY=unknown ; PWD=/usr/local/etc/r Mar 22 17:03:41 volumio sudo[797]: pam_unix(sudo:session): session opened for us Mar 22 17:03:42 volumio sudo[797]: pam_unix(sudo:session): session closed for us Mar 22 17:03:42 volumio systemd[1]: oled.service: Main process exited, code=exit Mar 22 17:03:42 volumio systemd[1]: oled.service: Failed with result 'exit-code' lines 1-12/12 (END)

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Welcome to Volumio for Raspberry Pi (5.10.92-v7+ armv7l) volumio@volumio:~$ sudo systemctl status oled ● oled.service - OLED Display Service Loaded: loaded (/etc/systemd/system/oled.service; enabled; vendor preset: ena Active: failed (Result: exit-code) since Tue 2022-03-22 17:03:42 UTC; 2min 42 Process: 797 ExecStart=/usr/bin/sudo /usr/bin/node /usr/local/etc/raspdacminio Main PID: 797 (code=exited, status=1/FAILURE)

Mar 22 17:03:41 volumio systemd[1]: Started OLED Display Service. Mar 22 17:03:41 volumio sudo[797]: root : TTY=unknown ; PWD=/usr/local/etc/r Mar 22 17:03:41 volumio sudo[797]: pam_unix(sudo:session): session opened for us Mar 22 17:03:42 volumio sudo[797]: pam_unix(sudo:session): session closed for us Mar 22 17:03:42 volumio systemd[1]: oled.service: Main process exited, code=exit Mar 22 17:03:42 volumio systemd[1]: oled.service: Failed with result 'exit-code' lines 1-12/12 (END)

chrisnoy commented 2 years ago

Hi there,

Success, I had to re flash the card then it worked fine, thanks for all your hard work on this.

audiophonics commented 2 years ago

Oh. I should have told you to remove the previous installation files beforehand. That was probably the reason it failed a second time. Now that I have this working, I will document the compiling process so all this should hold with minor maintenance until a new major version of Volumio is released.