Open frmelle opened 6 years ago
I changed the order of usb sound device in /etc/modprobe.d/alsa-base.conf from 5 (set by volumio) to 0.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I still have the same issue ...
Hello, I tried a fresh install in custom mode, juste BT and usb soundcard but still the Raspberry Pi Zero W isn't seen as BT device. What commands can I do to spot what is not working ? What process are supposed to expose the pi as a BT sound device ? And where are the config and log files ?
Thank-you.
what OS is installed on the fresh install?
I installed latest Volumio 2 image. On a fresh Jessie install, your installation works but then I am not able to setup up Volumio on top of a raspbian Jessie Lite install ...
My goal is just to add Bluetooth connectivity to a Volumio install on Raspberry Pi Zero W.
Thank-you for your help.
BTW, uname -a gives :
Linux concertboy 4.9.65+ #1056 Fri Nov 24 13:53:32 GMT 2017 armv6l GNU/Linux
2018-02-05 6:01 GMT+01:00 Brett Reinhard notifications@github.com:
what OS is installed on the fresh install?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install/issues/112#issuecomment-362982218, or mute the thread https://github.com/notifications/unsubscribe-auth/Ahyy7As-4h7ZfuyzinHQtV96d-8nSF7Fks5tRos0gaJpZM4Rsaxd .
Hi,
I'm testing your fantastic script on a RPi0W too. My installation (Raspbian lite) is fresh (apt-get update and upgrade) and customed by your script (menu 6 - BT only or BT + AirPlay).
I'm encountering weird behaviours : The RPi0 is starting well, no special dmesg error messages, the BT is detected by my smartphone, it can connect to it but :
I think the CPU load at start is not the same and that could affect the process start flow (order). I did some outputs (dmesg, systemctl status bluetooth* and pulseaudio), but they seem irrelevant.
I'm volonteer to do some tests and traces but I have to admit that I'm not familiar with Pulseaudio and Bluetooth neither.
I found tonight that if I manually issue the command sudo /etc/init.d/bluetooth-agent start
after Volumio started (earing the starting sound), I see the Pi ZeroW as BT device and I can connect to it.
Then to get the sound work I have to issue the command sudo /etc/init.d/pulseaudio start
...
What can I do to get this OK at startup without having to issue any command ?
Having slept on it, I set up this morning before leaving home a complete workaround.
So to have this script work to add BT connectivity as a speaker to my Volumio 2 install, here is what I did. Consider that I use an USB dongle as audio out device as default jack output is very bad on Rpi.
git checkout volumio-fix
)sudo nano /etc/modprobe.d/alsa-blacklist.conf
blacklist snd_bcm2835
sudo reboot
bt_audio.sh
#!/bin/bash
sleep 180
/etc/init.d/bluetooth-agent stop sleep 5 /etc/init.d/bluetooth-agent start
/etc/init.d/pulseaudio stop sleep 5 /etc/init.d/pulseaudio start
sleep 10
while true
do
RES=inotifywait -q -e CREATE,DELETE /dev/input/
case "$RES" in
"/dev/input/ DELETE event1")
ifconfig wlan0 up
;;
- Make the script executable
`chmod +x /home/volumio/bt_audio.sh`
- Add these lines to `/etc/rc.local`
ifconfig wlan0 up
/home/volumio/bt_audio.sh &
- Reboot the Rpi 0w and 3 minutes after earing the Volumio startup sound, I am able to connect to my Rpi 0w as a BT speaker !
`sudo reboot`
Perhaps theses informations would help BaReinhard tweak its Volumio branch of this great script !
Hello after a successful install on Raspberry Pi 3 with pifiberry DAC+, I tried yesterday to install it on a Volumio fresh install on Raspberry pi Zero W with USB audio dongle.
First, I disabled the BCM2835 chip adding the line blacklist snd_bcm2835 to alsa-blacklist.conf.
All works fine in Volumio, I do have the sound output to USB audio out.
After installing Super-Simple-Raspberry-Pi-Audio-Receiver (choice 4). I saw the Pi Zero W as BT and managed to connect to it. The sound was choppy so I installed the script to watch BT connexion and disable wifi when BT device is connected.
But upon reboot and even if comment the script call in /etc/rc.local, I can't see the Pi Zero W ... I have rebooted several times, no more luck.