PulseAudio on OpenWRT with MPD and other Stuff: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 27: | Line 27: | ||
...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) | ||
And some other tools related to hardware: opkg install usbutils pciutils | |||
A nice graphical way to control some aspects of PulseAudio is PulseMixer: https://github.com/GeorgeFilipkin/pulsemixer?tab=readme-ov-file | |||
...but first: opkg install python3 (don't worry that the OpenWRT version of Python 3 is lower than the required version of PulseMixer, as it seems to work fine) | |||
====The Errors==== | ====The Errors==== | ||
| Line 53: | Line 59: | ||
There's a bunch of stuff about Cookies (one of PulseAudio's security methods), anonymous authentication, etc., but this is the simplest and works without changing PulseAudio's default configuration. | There's a bunch of stuff about Cookies (one of PulseAudio's security methods), anonymous authentication, etc., but this is the simplest and works without changing PulseAudio's default configuration. | ||
=== Bluetooth (AKA Bluez) === | ===Bluetooth (AKA Bluez)=== | ||
==== Installation ==== | ====Installation==== | ||
opkg install bluez-daemon bluez-libs bluez-tools bluez-utils bluez-utils-btmon bluez-utils-extra kmod-input-uinput (other dependencies will install too) | opkg install bluez-daemon bluez-libs bluez-tools bluez-utils bluez-utils-btmon bluez-utils-extra kmod-input-uinput (other dependencies will install too) | ||
...and that's just the basic Bluetooth stuff. It doesn't include the firmware and driver for any specific hardware | ...and that's just the basic Bluetooth stuff. It doesn't include the firmware and driver for any specific hardware | ||
==== Hardware ==== | ====Hardware==== | ||
Bluetooth hardware is fairly inexpensive these days. To 'future-proof' things as much as possible, order hardware with the latest and greatest version of Bluetooth. As of this writing, summer 2024, Bluetooth 5.3 is the contemporary version. | Bluetooth hardware is fairly inexpensive these days. To 'future-proof' things as much as possible, order hardware with the latest and greatest version of Bluetooth. As of this writing, summer 2024, Bluetooth 5.3 is the contemporary version. | ||
| Line 68: | Line 74: | ||
Example of installing firmware and drivers for Bluetooth Hardware: opkg install <ins>rtl</ins>8761bu-firmware (bu is the version of the rtl8761 that was designed to work with USB 2.0, so if you're hooking up to a USB 3.0 port, this will work, but according to documentation, won't be optimized. PS: Bluetooth to Speaker will not exceed USB 2.0 speeds). | Example of installing firmware and drivers for Bluetooth Hardware: opkg install <ins>rtl</ins>8761bu-firmware (bu is the version of the rtl8761 that was designed to work with USB 2.0, so if you're hooking up to a USB 3.0 port, this will work, but according to documentation, won't be optimized. PS: Bluetooth to Speaker will not exceed USB 2.0 speeds). | ||
Example to install Firmware and Drivers: opkg install rtl8761bu-firmware kmod-bluetooth kmod-usb-core kmod-usb2 kmod-usb3 kmod-usb-ohci kmod-usb-uhci kmod-usb-hid kmod-hid kmod-cfg80211 | |||
==== 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! | |||
<br /> | <br /> | ||