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;


* First: opkg install groupadd useradd coreutils-chmod coreutils-chown
opkg install alsa-utils alsa-ucm-conf mpd-full mpd-avahi-service mpc lib<ins>mpd</ins>client
* ...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 52: Line 51:
The result: Connection failure: Access denied
The result: Connection failure: Access denied


This error may have occurred during "opkg install mpd-full";<syntaxhighlight lang="text">
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!?
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''
Line 93: Line 87:


====FIRST! (or rather the next thing to do)====
====FIRST! (or rather the next thing to do)====
Because OpenWRT doesn't include of the Bluez Tools (nope, not Blues Clues), make sure PulseAudio has the Bluetooth Modules loaded up and ready to go!
REMEMBER: PulseAudio has to be properly configured and running for Bluetooth (bluetoothctl) to work!  and because OpenWRT doesn't include of the Bluez Tools (nope, not Blues Clues), make sure PulseAudio has the Bluetooth Modules loaded up and ready to go (IE, the AVAHI version of PulseAudio)!


<br />
See: [[PulseAudio on OpenWRT with MPD and other Stuff#Installation of Software]]
 
AND make sure the /etc/pulse/system.pa loads the Bluetooth Module


====Crap that Does NOT work====
====Crap that Does NOT work====