Posts: 434
Threads: 10
Joined: Apr 2018
Reputation:
28
Hi Bob
Thanks for the heads up. I have put a note in the install instructions for now but, as of a couple of days ago, I now have a Pi 4 (hooray, no more developing on a Pi Zero!)), and so I can look into this when I have a chance.
Adrian.
Posts: 1,537
Threads: 106
Joined: Mar 2018
Reputation:
73
I'm impressed...
a) that you have been developing and supporting your wondrous oled screen on a Pi Zero !!!! Wow !!
b) that you've taken the nuclear option from a Zero to a Pi4 !!
Best Wishes for the coming year !
Cheers, Bob
----------
bob
Posts: 34
Threads: 1
Joined: May 2019
Reputation:
0
I just did a clean install of Moode 6.4.1 and then went through the installation instructions for mpd_oled step by step.
All seemed ok as far as mpd_oled is concerned, but it (or something) seems to have broken Moode.
The log now shows:
20200127 140620 worker: -- Start
20200127 140620 worker: Successfully daemonized
20200127 140620 worker: Integrity check (failed:1)
20200127 140620 worker: Exited
20200127 140749 moode.php: MPD connect failed: cmd=(lsinfo)
20200127 140750 moode.php: MPD connect failed: cmd=(lsinfo)
The screen is working, but Moode is broken....
Can you perhaps shed your light on this?
Posts: 34
Threads: 1
Joined: May 2019
Reputation:
0
I spoke too soon; i'm getting the following error:
Failed to open "ALSA default" (alsa); Error opening ALSA device "hw:1,0"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument
Posts: 34
Threads: 1
Joined: May 2019
Reputation:
0
01-27-2020, 03:38 PM
(This post was last modified: 01-27-2020, 04:05 PM by JohnnyBravo.)
Right, it has to do with the loading of the snd-aloop module.
If i load it manually and then start mpd_oled all is fine.
If i put snd-aloop in the etc/modules and reboot, then in moode mpd config section - device type - use usb audio device is no longer there and audio playback does not work and the error i posted earlier is displayed.
If remove snd-aloop from /etc/modules, but edit rc.local to load snd-aloop, then start moode, then start mpd_oled it all works fine after a reboot!