You are not logged in.

#1 2014-07-20 01:02:47

jleclanche
Member
From: Brussels, Belgium
Registered: 2014-05-09
Posts: 7
Website

Various issues with Parrot Zik / BlueZ / Pulseaudio

Hi

I purchased a Parrot Zik recently (amazing headset) and I've been toying with it a bit. I have hit several issues in the quest to get them to work, however.

First of all, my broadcom integrated bluetooth chip would not be recognized by the kernel at all. The following fixes it, but I have to do it every reboot. Any more permanent solution? (Or better yet, upstream solution?)

echo "0b05 17cf" >> /sys/bus/usb/drivers/btusb/new_id

Next up: Sound. As of BlueZ 5.x, HSP/HFP profiles are no longer supported with BlueZ. That means microphones on headsets are not supported (sigh). I've downgraded to bluez4 (package in the aur with some modifications to include all of bluez-utils with it). A2DP works fine, but when I switch to HSP I get no audio at all (it doesn't seem to be a problem on Pulse's end, pavucontrol shows the sink receiving audio) and I receive no audio from the microphone either. It would look like BlueZ 4's HSP support is problematic...


Some logs follow.

systemctl stop bluetooth:

jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: Terminating
jul 20 01:03:55 azura bluetoothd[7536]: Terminating
jul 20 01:03:55 azura bluetoothd[7536]: avdtp_set_state(): no matching audio device
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: avdtp_set_state(): no matching audio device
jul 20 01:03:55 azura dbus[374]: [system] Rejected send message, 1 matched rules; type="method_return", sender=":1.8" (uid=1000 pid=719 comm="/usr/bin/pulseaudio --start ") interface="(unset)" member="(unset)" e
jul 20 01:03:55 azura bluetoothd[7536]: Endpoint unregistered: sender=:1.8 path=/MediaEndpoint/BlueZ4/A2DPSource
jul 20 01:03:55 azura bluetoothd[7536]: No reply to Suspend request
jul 20 01:03:55 azura bluetoothd[7536]: avdtp_set_state(): no matching audio device
jul 20 01:03:55 azura bluetoothd[7536]: Endpoint unregistered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPAG
jul 20 01:03:55 azura bluetoothd[7536]: Endpoint unregistered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPHS
jul 20 01:03:55 azura bluetoothd[7536]: Stopping SDP server
jul 20 01:03:55 azura bluetoothd[7536]: Exit
jul 20 01:03:55 azura pulseaudio[719]: [bluetooth] bluez4-util.c: Failed to release transport /org/bluez/7536/hci0/dev_90_03_B7_AE_5F_B5/fd12: Message did not receive a reply (timeout by message bus)
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: Endpoint unregistered: sender=:1.8 path=/MediaEndpoint/BlueZ4/A2DPSource
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: No reply to Suspend request
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: avdtp_set_state(): no matching audio device
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: Endpoint unregistered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPAG
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: Endpoint unregistered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPHS
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: Stopping SDP server
jul 20 01:03:55 azura bluetoothd[7536]: bluetoothd[7536]: Exit

systemctl start bluetooth:

jul 20 01:04:30 azura bluetoothd[16768]: Bluetooth daemon 4.101
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Bluetooth daemon 4.101
jul 20 01:04:30 azura bluetoothd[16768]: Starting SDP server
jul 20 01:04:30 azura bluetoothd[16768]: DIS cannot start: GATT is disabled
jul 20 01:04:30 azura bluetoothd[16768]: Failed to init deviceinfo plugin
jul 20 01:04:30 azura bluetoothd[16768]: Failed to init proximity plugin
jul 20 01:04:30 azura bluetoothd[16768]: Failed to init time plugin
jul 20 01:04:30 azura bluetoothd[16768]: Failed to init alert plugin
jul 20 01:04:30 azura bluetoothd[16768]: Failed to init thermometer plugin
jul 20 01:04:30 azura bluetoothd[16768]: Failed to init gatt_example plugin
jul 20 01:04:30 azura bluetoothd[16768]: Bluetooth Management interface initialized
jul 20 01:04:30 azura sudo[16765]: pam_unix(sudo:session): session closed for user root
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Starting SDP server
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: DIS cannot start: GATT is disabled
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Failed to init deviceinfo plugin
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Failed to init proximity plugin
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Failed to init time plugin
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Failed to init alert plugin
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Failed to init thermometer plugin
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Failed to init gatt_example plugin
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Bluetooth Management interface initialized
jul 20 01:04:30 azura bluetoothd[16768]: Adapter /org/bluez/16768/hci0 has been enabled
jul 20 01:04:30 azura bluetoothd[16768]: Unknown command complete for opcode 19
jul 20 01:04:30 azura pulseaudio[719]: [pulseaudio] bluez5-util.c: BlueZ D-Bus ObjectManager not available
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Adapter /org/bluez/16768/hci0 has been enabled
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Unknown command complete for opcode 19
jul 20 01:04:30 azura bluetoothd[16768]: Endpoint registered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPAG
jul 20 01:04:30 azura bluetoothd[16768]: Endpoint registered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPHS
jul 20 01:04:30 azura bluetoothd[16768]: Endpoint registered: sender=:1.8 path=/MediaEndpoint/BlueZ4/A2DPSource
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Endpoint registered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPAG
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Endpoint registered: sender=:1.8 path=/MediaEndpoint/BlueZ4/HFPHS
jul 20 01:04:30 azura bluetoothd[16768]: bluetoothd[16768]: Endpoint registered: sender=:1.8 path=/MediaEndpoint/BlueZ4/A2DPSource

bt-audio -c 90:03:B7:AE:5F:B5:

jul 20 01:05:44 azura bluetoothd[16768]: Badly formated or unrecognized command: AT+CSCS=?
jul 20 01:05:44 azura bluetoothd[16768]: bluetoothd[16768]: Badly formated or unrecognized command: AT+CSCS=?
jul 20 01:05:44 azura bluetoothd[16768]: Badly formated or unrecognized command: AT+CPBS=?
jul 20 01:05:44 azura bluetoothd[16768]: bluetoothd[16768]: Badly formated or unrecognized command: AT+CPBS=?
jul 20 01:05:44 azura bluetoothd[16768]: Badly formated or unrecognized command: AT+CIMI
jul 20 01:05:44 azura bluetoothd[16768]: bluetoothd[16768]: Badly formated or unrecognized command: AT+CIMI
jul 20 01:05:44 azura bluetoothd[16768]: bluetoothd[16768]: /org/bluez/16768/hci0/dev_90_03_B7_AE_5F_B5/fd1: fd(24) ready
jul 20 01:05:44 azura bluetoothd[16768]: /org/bluez/16768/hci0/dev_90_03_B7_AE_5F_B5/fd1: fd(24) ready
jul 20 01:05:44 azura rtkit-daemon[720]: Supervising 3 threads of 1 processes of 1 users.
jul 20 01:05:44 azura rtkit-daemon[720]: Successfully made thread 16833 of process 719 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
jul 20 01:05:44 azura rtkit-daemon[720]: Supervising 4 threads of 1 processes of 1 users.
jul 20 01:05:45 azura kernel: input: 90:03:B7:AE:5F:B5 as /devices/virtual/input/input30

Offline

#2 2014-07-20 09:40:26

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Various issues with Parrot Zik / BlueZ / Pulseaudio

jleclanche wrote:

First of all, my broadcom integrated bluetooth chip would not be recognized by the kernel at all. The following fixes it, but I have to do it every reboot. Any more permanent solution? (Or better yet, upstream solution?)

echo "0b05 17cf" >> /sys/bus/usb/drivers/btusb/new_id

You could use a custom systemd service maybe? Did you or anybody else notify upstream about this?

Offline

#3 2014-07-20 09:42:09

jleclanche
Member
From: Brussels, Belgium
Registered: 2014-05-09
Posts: 7
Website

Re: Various issues with Parrot Zik / BlueZ / Pulseaudio

I don't think so, but I'm not sure which upstream that would be. Should it be added to the btusb module itself?

Last edited by jleclanche (2014-07-20 09:42:31)

Offline

#4 2014-07-20 10:14:32

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Various issues with Parrot Zik / BlueZ / Pulseaudio

I fail to see a parameter for that in the output of modinfo btusb. I think it will come down to the kernel developers, but grepping through drivers/bluetooth I am not certain, you would have to search a little more, eventually ask.

Offline

Board footer

Powered by FluxBB