Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Bluetooth not appearing on device list
#1
Hello everyone,

I am using a Rasberry Pi Zero W with Moode as a portable music streamer for a Chord Mojo 2. Ive been using Moode through airplay and it's been working great! However, I'd also like to be able to use it with bluetooth so I can use it outside of a network. However, even though the bluetooth option in settings is enabled, the Pi fails to appear under the pairing device list on my laptop and phone. How can I configure Moode to solve this issue and get Bluetooth working?

Thanks!
Reply
#2
Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(12-14-2024, 04:50 PM)Tim Curtis Wrote: Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from  any of the Config screens. The startup log will be at the end of System info output.

Here is the log the last line is the bluetooth configuration. HOw can i fiz this issue? Error: Unable to start Bluetooth, ALSA mode Default

20241214 211302 worker: -- System
20241214 211302 worker: --
20241214 211310 worker: Host:     MOODE
20241214 211310 worker: Model:    Pi-Zero W 1.1 512MB
20241214 211310 worker: moOde:    8.3.9 2024-02-23
20241214 211310 worker: RaspiOS:  11.9 Bullseye 32-bit
20241214 211310 worker: Kernel:   6.1.21+ 32-bit
20241214 211310 worker: MPD ver:  0.23.14
20241214 211310 worker: CPU gov:  ondemand
20241214 211310 worker: Userid:   theodorobarreira
20241214 211310 worker: Homedir:  /home/theodorobarreira
20241214 211310 worker: Timezone: America/Toronto
20241214 211310 worker: Keyboard: us
20241214 211310 worker: USB boot: n/a
20241214 211310 worker: File sys: expanded
20241214 211310 worker: HDMI out: off
20241214 211311 worker: Sys LED0: on
20241214 211311 worker: Sys LED1: sysclass does not exist
20241214 211311 worker: --
20241214 211311 worker: -- Network
20241214 211311 worker: --
20241214 211311 worker: Eth: adapter does not exist
20241214 211311 worker: Wlan: adapter exists
20241214 211311 worker: Wlan: country CA
20241214 211311 worker: Wlan: SSID    5450 Security
20241214 211311 worker: Wlan: other   none
20241214 211311 worker: Wlan: router  off
20241214 211311 worker: Wlan: timeout up to 90 secs
20241214 211312 worker: Wlan: connect to 5450 Security
20241214 211312 worker: Wlan: sleep   disabled
20241214 211312 worker: Wlan: method  dhcp
20241214 211312 worker: Wlan: address 192.168.0.125
20241214 211312 worker: Wlan: netmask 255.255.255.0
20241214 211312 worker: Wlan: gateway 192.168.0.1
20241214 211312 worker: Wlan: pri DNS 192.168.0.1
20241214 211312 worker: Wlan: domain  
20241214 211312 worker: --
20241214 211312 worker: -- Software update
20241214 211312 worker: --
20241214 211312 worker: Automatic check off
20241214 211313 worker: --
20241214 211313 worker: -- File sharing
20241214 211313 worker: --
20241214 211313 worker: SMB file sharing:  off
20241214 211313 worker: NFS file sharing:  off
20241214 211313 worker: DLNA file sharing: off
20241214 211313 worker: --
20241214 211313 worker: -- Audio config
20241214 211313 worker: --
20241214 211313 worker: MPD config:    update skipped (USB audio device)
20241214 211313 worker: Audio device:  Mojo2
20241214 211313 worker: Warning: No device found at MPD configured card 1
20241214 211313 worker: Mixer type     Hardware
20241214 211313 worker: Mixer name     PCM
20241214 211313 worker: Hdwr volume:   controller detected
20241214 211313 worker: ALSA max vol:  100%
20241214 211313 worker: ALSA card:     1
20241214 211313 worker: ALSA mode:     Default
20241214 211313 worker: ALSA loopback: off
20241214 211313 worker: CamillaDSP:    off
20241214 211313 worker: Renderers:     active flags reset
20241214 211313 worker: --
20241214 211313 worker: -- MPD startup
20241214 211313 worker: --
20241214 211316 worker: MPD service:        started
20241214 211316 worker: MPD port 6600:      accepting connections
20241214 211316 worker: MPD ALSA Default:   on
20241214 211316 worker: MPD ALSA Bluetooth: off
20241214 211316 worker: MPD HTTP Server:    on
20241214 211316 worker: MPD crossfade:      off
20241214 211316 worker: MPD ignore CUE:     no
20241214 211316 worker: MPD CDSP volsync:   off
20241214 211316 worker: MPD CDSP volrange:  60 dB
20241214 211316 worker: --
20241214 211316 worker: -- Music sources
20241214 211316 worker: --
20241214 211316 worker: USB auto-mount: udisks-glue
20241214 211316 worker: USB drives:     no drives found
20241214 211316 worker: NAS sources:    no music sources defined
20241214 211316 worker: --
20241214 211316 worker: -- Feature availability
20241214 211316 worker: --
20241214 211316 worker: Input select:    available, src MPD, out Mojo2
20241214 211317 worker: Bluetooth:       Error: Unable to start Bluetooth, ALSA mode Default


Thanks for the reply!
Reply
#4
Are you able to play to your audio device w/o bluetooth, for example playing the default Stereo Test file?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
This is the error I get on a moOde 9.1.5 player on a Pi 5B when I turn off Bluetooth in Startup options and reboot


Code:
20241214 214742 worker: Bluetooth:       Error: Unable to start Bluetooth, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard


Just saying....

Regards,
Kent
Reply
#6
(12-15-2024, 02:39 AM)Tim Curtis Wrote: Are you able to play to your audio device w/o bluetooth, for example playing the default Stereo Test file?

Yes I can use airplay fine for the most part. Sometimes there are some cuts in the audio but I think thats due to my wifi
Reply
#7
(12-15-2024, 02:52 AM)TheOldPresbyope Wrote: This is the error I get on a moOde 9.1.5 player on a Pi 5B when I turn off Bluetooth in Startup options and reboot


Code:
20241214 214742 worker: Bluetooth:       Error: Unable to start Bluetooth, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard


Just saying....

Regards,
Kent
I dont have a bluetooth option under startup options, maybe this is the issue?
Reply
#8
(12-15-2024, 04:20 AM)HorseMeatballs Wrote:
(12-15-2024, 02:52 AM)TheOldPresbyope Wrote: This is the error I get on a moOde 9.1.5 player on a Pi 5B when I turn off Bluetooth in Startup options and reboot


Code:
20241214 214742 worker: Bluetooth:       Error: Unable to start Bluetooth, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard


Just saying....

Regards,
Kent
I dont have a bluetooth option under startup options, maybe this is the issue?

You’re running moOde 8.3.9. I forget where this option is in the webUI in that version.

Regards,
Kent
Reply
#9
(12-15-2024, 04:27 AM)TheOldPresbyope Wrote:
(12-15-2024, 04:20 AM)HorseMeatballs Wrote:
(12-15-2024, 02:52 AM)TheOldPresbyope Wrote: This is the error I get on a moOde 9.1.5 player on a Pi 5B when I turn off Bluetooth in Startup options and reboot


Code:
20241214 214742 worker: Bluetooth:       Error: Unable to start Bluetooth, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard


Just saying....

Regards,
Kent
I dont have a bluetooth option under startup options, maybe this is the issue?

You’re running moOde 8.3.9. I forget where this option is in the webUI in that version.

Regards,
Kent
I found it and tried to restart with BT off, and the on again and it led to the same result.

Thanks for all the help so far!
Reply
#10
(12-15-2024, 02:52 AM)TheOldPresbyope Wrote: This is the error I get on a moOde 9.1.5 player on a Pi 5B when I turn off Bluetooth in Startup options and reboot


Code:
20241214 214742 worker: Bluetooth:       Error: Unable to start Bluetooth, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard


Just saying....

Regards,
Kent

Lokks like some breakage :-0

See if bluetooth is blocked
Code:
pi@moode9:~ $ rfkill
ID TYPE      DEVICE      SOFT      HARD
0 bluetooth hci0   unblocked unblocked
1 wlan      phy0   unblocked unblocked

Add the line below to /etc/rc.local
Code:
/usr/sbin/rfkill unblock bluetooth > /dev/null 2>&1

It's definitely blocked by default on a 920 image. I'll have to patch rc.local for that build and then make a new image for testing.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: