PulseAudio on OpenWRT with MPD and other Stuff: Difference between revisions

Line 26: Line 26:
Dependencies include some basic ALSA (Advanced Linux Sound Architecture) stuff, but a couple of more items are nice to have for several reason, including testing, so;
Dependencies include some basic ALSA (Advanced Linux Sound Architecture) stuff, but a couple of more items are nice to have for several reason, including testing, so;


opkg install alsa-utils alsa-ucm-conf mpd-full mpd-avahi-service mpc lib<ins>mpd</ins>client
* First: opkg install groupadd useradd coreutils-chmod coreutils-chown
* ...then: opkg install alsa-utils alsa-ucm-conf mpd-full mpd-avahi-service mpc lib<ins>mpd</ins>client


...and maybe opkg install madplay mpg123 (they don't install any services, so they're just there if you need them)
...and maybe opkg install madplay mpg123 (they don't install any services, so they're just there if you need them)
Line 44: Line 45:
</syntaxhighlight>Will this fix it (spoiler alert, NO, so like Frankie said "don't do it")?: opkg install gst1-mod-dv<ins>dsp</ins>u gst1-mod-audiomixer (a bunch of dependencies would be installed too).  We'll get to the fix later, let's focus on the "Show Stopper".  Just kidding, fix is below;
</syntaxhighlight>Will this fix it (spoiler alert, NO, so like Frankie said "don't do it")?: opkg install gst1-mod-dv<ins>dsp</ins>u gst1-mod-audiomixer (a bunch of dependencies would be installed too).  We'll get to the fix later, let's focus on the "Show Stopper".  Just kidding, fix is below;


* ...just make sure the Audio Device is plugged in.
*...just make sure the Audio Device is plugged in.


=====The "Show Stopper" for PulseAudio=====
=====The "Show Stopper" for PulseAudio=====
Line 51: Line 52:
The result: Connection failure: Access denied
The result: Connection failure: Access denied


Why (as noted earlier, but more details and a solution later): The root User (that's right, the ROOT user) doesn't have the privileges to execute the command.  WTF!?
This error may have occurred during "opkg install mpd-full";<syntaxhighlight lang="text">
Configuring mpd-full.
mkdir: can't create directory '': No such file or directory
chown: missing operand after ‘mpd:mpd’
Try 'chown --help' for more information
</syntaxhighlight>Why (as noted earlier, but more details and a solution later)?: The root User (that's right, the ROOT user) doesn't have the privileges to execute the command.  WTF!?


How long did it take to figure out and what was the anger level: ''10 Page Diatribe DELETED''
How long did it take to figure out and what was the anger level: ''10 Page Diatribe DELETED''