I have a small Bluetooth speaker that I was given that I want to use for a project with a Raspberry Pi Zero W. There is no model information on the speaker. I can connect to the speaker from my phone but the Zero only connects to it when I have
pulseaudio running -- however, it only sees it as a keyboard. I've primarily been using
bluetoothctl to try to connect my speaker, but have also tried the
bluetoothctl tool is what shows me that I cannot connect to the speaker without first calling
pulseaudio --start -- I will automatically connect to the speaker, and then disconnect a second or two later. If I attempt to connect manually, this process cycles indefinitely. Looking around the web, the only solution I saw was to unpair the device, and then pair, trust, and connect to it again. I've done this several times, rebooted the Zero and the speaker, etc.
bluetoothctl might not be working properly (but I'm pretty sure that it actually is), so I installed a remote desktop client and used the
blueman-manager gui to see if I could figure out what was wrong. The gui showed my speaker and said I was connected to it, but had it labeled as a speaker. I checked my audio options, and sure enough, the only audio sink the Zero saw was my remote desktop connection.
Here is the device info
bluetoothctl has for my speaker:
Device 30:21:3B:80:CE:7A Name: BT-SPEAKER Alias: BT-SPEAKER Class: 0x002540 Icon: input-keyboard Paired: yes Trusted: yes Blocked: no Connected: yes LegacyPairing: no UUID: Headset (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb) UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb) UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb) Modalias: usb:v05ACp022Cd0100
The issue must be the
Icon: input-keyboard line, but I don't know how to reconfigure that.
As a side note, the speaker has a light that flashes when it is accepting Bluetooth connections and then goes solid when a connection is made. Even with the Zero showing that it is connected, the light is still flashing. I'm not sure if the light flashes until it starts receiving audio data, or if maybe it has to do something special to reciprocate the connection. The light goes solid as soon as I connect to it via Bluetooth with my phone.
I'm not sure if this is related, but Windows seems unable to find the device at all -- I've scanned for all kinds of devices, but Windows never shows my speaker as an available device.