11-05-2022, 11:09 PM
(11-05-2022, 07:22 PM)Tim Curtis Wrote: Reboot and post the startup log and status of the Bluetooth daemon after the issue occurs.
Code:moodeutl -l
systemctl status bluetooth
Disconnections can be caused by weak signal strength which can result if the Pi is in a metal enclosure,
moodeutl -l output;
Code:
20221105 171922 worker: --
20221105 171922 worker: -- Start moOde 8 series
20221105 171922 worker: --
20221105 171922 worker: Successfully daemonized
20221105 171924 worker: File check (OK)
20221105 171924 worker: Session vacuumed
20221105 171924 worker: Session loaded
20221105 171924 worker: Debug logging (OFF)
20221105 171924 worker: --
20221105 171924 worker: -- Audio debug
20221105 171924 worker: --
20221105 171924 worker: ALSA cards: (0:b1 | 1:Headphones | 2:Control | 3:empty
20221105 171924 worker: MPD config: (2:Khadas Tone Control | mixer:(Khadas Tone Control ) | card:2)
20221105 171925 worker: ALSA mixer actual (Khadas Tone Control )
20221105 171925 worker: ALSA Khadas Tone Control volume set to (0%)
20221105 171925 worker: --
20221105 171925 worker: -- System
20221105 171925 worker: --
20221105 171926 worker: Host (moode)
20221105 171926 worker: moOde (8.2.2 2022-10-23)
20221105 171926 worker: RaspiOS (11.5)
20221105 171926 worker: Kernel (5.15.61-v8+ #1579)
20221105 171926 worker: Platform (Pi-4B 1.2 2GB)
20221105 171926 worker: ARM arch (aarch64, 64-bit)
20221105 171926 worker: MPD ver (0.23.5)
20221105 171926 worker: CPU gov (ondemand)
20221105 171926 worker: USB boot (enabled)
20221105 171926 worker: File sys (expanded)
20221105 171926 worker: HDMI port (Off)
20221105 171926 worker: Sys LED0 (On)
20221105 171926 worker: Sys LED1 (On)
20221105 171926 worker: --
20221105 171926 worker: -- Network
20221105 171926 worker: --
20221105 171926 worker: eth0 adapter exists
20221105 171926 worker: eth0 check for address (No)
20221105 171926 worker: eth0 address not assigned
20221105 171926 worker: wlan0 adapter does not exist
20221105 171926 worker: apd0 router mode (Off)
20221105 171926 worker: No active network interface
20221105 171926 worker: --
20221105 171926 worker: -- Software update
20221105 171926 worker: --
20221105 171926 worker: Automatic check (Off)
20221105 171926 worker: --
20221105 171926 worker: -- Audio config
20221105 171926 worker: --
20221105 171926 worker: MPD conf update skipped (USB device)
20221105 171926 worker: ALSA card number (2)
20221105 171926 worker: MPD audio output (Khadas Tone Control)
20221105 171926 worker: Audio formats (S16_LE, S32_LE, SPECIAL, DSD_U32_BE)
20221105 171926 worker: ALSA mixer name (Khadas Tone Control )
20221105 171926 worker: MPD mixer type (hardware)
20221105 171927 worker: Hdwr volume controller exists
20221105 171927 worker: Max ALSA volume (100%)
20221105 171927 worker: ALSA output mode (Default: plughw)
20221105 171927 worker: ALSA loopback (Off)
20221105 171927 worker: Reset renderer active flags
20221105 171927 worker: CamillaDSP (off)
20221105 171927 worker: --
20221105 171927 worker: -- File sharing
20221105 171927 worker: --
20221105 171927 worker: SMB file sharing (Off)
20221105 171927 worker: NFS file sharing (Off)
20221105 171927 worker: --
20221105 171927 worker: -- MPD startup
20221105 171927 worker: --
20221105 171927 worker: MPD started
20221105 171927 worker: MPD accepting connections
20221105 171927 worker: MPD output 1 ALSA Default (On)
20221105 171927 worker: MPD output 2 ALSA Bluetooth (Off)
20221105 171927 worker: MPD output 3 HTTP Server (Off)
20221105 171927 worker: MPD crossfade (off)
20221105 171927 worker: MPD ignore CUE files (yes)
20221105 171927 worker: --
20221105 171927 worker: -- Music sources
20221105 171927 worker: --
20221105 171927 worker: USB sources
20221105 171927 worker: No drives found
20221105 171927 worker: NAS sources
20221105 171927 worker: 192.168.0.19
20221105 171935 worker: Try (mount -t cifs "//192.168.0.19/music" -o username="P i",password="",rsize=61440,wsize=65536,iocharset=utf8,ro,noserverino,dir_mode=07 77,file_mode=0777 "/mnt/NAS/192.168.0.19")
20221105 171935 worker: Err (mount error(113): could not connect to 192.168.0.19 Unable to find suitable address.)
20221105 171935 worker: Mount all submitted
20221105 171935 worker: --
20221105 171935 worker: -- Feature availability
20221105 171935 worker: --
20221105 171935 worker: Source select (available)
20221105 171935 worker: Source select (source: MPD)
20221105 171935 worker: Source select (output: Khadas Tone Control)
20221105 171943 worker: Bluetooth (available: started)
20221105 171943 worker: AirPlay renderer (available)
20221105 171943 worker: Spotify renderer (available)
20221105 171943 worker: Squeezelite (available)
20221105 171943 worker: RoonBridge renderer (not installed)
20221105 171943 worker: Multiroom sender (available)
20221105 171943 worker: Multiroom receiver (available)
20221105 171943 worker: UPnP renderer (available)
20221105 171943 worker: DLNA server (available)
20221105 171943 worker: GPIO button handler (available)
20221105 171943 worker: Stream recorder (n/a)
20221105 171943 worker: --
20221105 171943 worker: -- Other
20221105 171943 worker: --
20221105 171943 worker: USB volume knob (Off)
20221105 171943 worker: Shellinabox SSH started
20221105 171943 worker: USB auto-mounter (udisks-glue)
20221105 171943 worker: Saved MPD vol level (0)
20221105 171943 worker: Preamp volume level (0)
20221105 171943 worker: MPD volume level (100) restored
20221105 171943 worker: ALSA Khadas Tone Control volume (100%)
20221105 171943 worker: Auto-play (On)
20221105 171943 worker: Auto-playing id (39)
20221105 171943 worker: CoverView toggle (-off)
20221105 171943 worker: On-screen keyboard (Off)
20221105 171943 worker: Library scope (all)
20221105 171943 worker: Maintenance interval (360 minutes)
20221105 171943 worker: Screen saver activation (Never)
20221105 171943 worker: Session permissions (OK)
20221105 171943 worker: Mount monitor (Off)
20221105 171943 worker: Watchdog started
20221105 171943 worker: Ready
systemctl status bluetooth output;
Code:
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor pr>
Active: active (running) since Sat 2022-11-05 17:19:43 GMT; 5h 44min ago
Docs: man:bluetoothd(8)
Main PID: 1048 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2137)
CPU: 155ms
CGroup: /system.slice/bluetooth.service
└─1048 /usr/libexec/bluetooth/bluetoothd
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 17:19:43 moode bluetoothd[1048]: Failed to set privacy: Rejected (0x0b)
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 23:01:31 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=>
Nov 05 23:01:51 moode bluetoothd[1048]: /org/bluez/hci0/dev_88_C9_E8_37_3D_4D/f>
Nov 05 23:02:35 moode bluetoothd[1048]: /org/bluez/hci0/dev_88_C9_E8_37_3D_4D/s>
lines 1-21/21 (END)...skipping...
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabl>
Active: active (running) since Sat 2022-11-05 17:19:43 GMT; 5h 44min ago
Docs: man:bluetoothd(8)
Main PID: 1048 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2137)
CPU: 155ms
CGroup: /system.slice/bluetooth.service
└─1048 /usr/libexec/bluetooth/bluetoothd
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 17:19:43 moode bluetoothd[1048]: Failed to set privacy: Rejected (0x0b)
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 17:19:43 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 23:01:31 moode bluetoothd[1048]: Endpoint registered: sender=:1.11 path=/org/bluez/>
Nov 05 23:01:51 moode bluetoothd[1048]: /org/bluez/hci0/dev_88_C9_E8_37_3D_4D/fd0: fd(30) >
Nov 05 23:02:35 moode bluetoothd[1048]: /org/bluez/hci0/dev_88_C9_E8_37_3D_4D/sep1/fd1: fd>
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-21/21 (END)
The Pi does live in a Flirc full aluminium case, the area I am testing it is about 2 feet away from the headphones. The wifi is the same distance away and works well with full signal strength; although I disabled that and use a wired connection for network.
thanks