Stable: 2.5.2
Development: 2.6-alpha3
Hi there,
I try to get to run my favorite audio player moc to run on a raspberry pi 3 with a iqaudio shield.
http://www.iqaudio.com/downloads/IQaudIO.pdf
when I started moc i get first "alsa...oss not found" messages. then when i try to run it again I get:
pi@raspberrypi:~ $ moc
-bash: moc: command not found
though moc is definitely installed.
I log into the pi via ssh (putty) and the sound is working with mplayer etc...
any ideas what it could be? Thanks in advance !!
jcf
Fri, 2018-05-18 23:35
Permalink
Some Assembly Required
A quick read of their website suggests that ALSA is required, and MOC also requires a sound sub-system to interface with. So check that you have ALSA installed and correctly configured.
Try
mocp
.calimerox
Sat, 2018-05-19 08:47
Permalink
thanks for your answer!
thanks for your answer!
I have alsa installed and checked the alsamixer, everything looks fine.., and I can run cmus for example to get sound.
here the exact message:
mocp
Running the server...
Trying JACK...
Trying ALSA...
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
calimerox
Sat, 2018-05-19 08:48
Permalink
I also just installed moc
I also just installed moc through the package manager, is this ok on raspbian or do i need to compile it or something maybe?
jcf
Sat, 2018-05-19 10:22
Permalink
You May Have To Ask An RPi Native
Of course, I can't know the packaging of every distribution out there, but I'd expect (perhaps naively) that any given distribution's package should actually work.
ALSA is configured in your package (otherwise MOC wouldn't even try it). Certainly MOC is used successfully by others on the RPi, so my guess is that it must be some misconfiguration. It's puzzling that cmus does work, though.
You may need to ask of those who know better on an RPi-specific forum (but post a redux back here if you find a solution there).
calimerox
Sat, 2018-05-19 10:25
Permalink
thank you, yeah i ll have a
thank you, yeah i ll have a try in a rpi forum!!
tomaszg
Sun, 2018-05-20 21:46
Permalink
If by some change, your
If by some change, your version of MOC is built with debug enabled, you could try posting contents of "mocp_server_log" file created after running "mocp -D". If not, maybe "mocp -SF" would give some more information. Also, you didn't even tell us what version of MOC are you trying to use.
Looking at the PDF file, did you set ALSA device variable for MOC accordingly?