You man want to try this.
I have the exactly error you had. I install another package: pulseaudio-bluetooth.
you can refer to:
https://wiki.archlinux.org/index.php/PulseAudio
The reason that it happened may be that pulseaudio's packages has been splited from main package, some splited extra packages didn't install, so bluetooth failed.
]]>If anyone in this thread mentioned which software method is used to connect to their wifi, I missed it.
I use connman, which turned out to be the key to getting bluetooth to power on and connect for me.
After a fresh Arch install on the new SSD drive, neither wifi or bluetooth would power on. I installed rfkill and was able to get wifi going with
sudo rfkill unblock all
Bluetooth remained soft blocked after issuing that command as shown using
sudo rfkill list all
While I don't remember where I found the next command, I made a note to self about it. It may be in the Arch Wiki.
connmanctl enable bluetooth
Ather running that command, wifi and bluetooth are fully unblocked.
[me@ar64-ssd ~]$ rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[me@ar64-ssd ~]$
Now wifi and bluetooth are powered on at boot time, so it's persistent.
Next stop was bluetoothctl (install bluez bluez-utils. I also grabbed bluez-libs-5.40-1 pulseaudio-bluetooth-8.0-3 bluez-firmware-1.2-8
I don't know if all of them are needed - I'm still trying to direct audio output to a bluetooth speaker. Now I can connect to the speaker using
$ bluetoothctl
[bluetooth]# scan on
Discovery started
[CHG] Controller 40:2C:F4:B7:F9:9C Discovering: yes
[NEW] Device F0:13:C3:11:58:43 Jam Plus
[bluetooth]# connect F0:13:C3:11:58:43
Attempting to connect to F0:13:C3:11:58:43
[CHG] Device F0:13:C3:11:58:43 Connected: yes
[CHG] Device F0:13:C3:11:58:43 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device F0:13:C3:11:58:43 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device F0:13:C3:11:58:43 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device F0:13:C3:11:58:43 Paired: yes
Connection successful
[CHG] Device CC:6D:A0:2F:EA:52 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[Jam Plus]#
It appears in that last line that Jam Plus is ready to receive, and it gives an audible "ready" signal. I just don't know to send audio output to it yet. I'm using Rythmbox, have pulseaudio-bluetooth and alsa-utils installed, so I think I'm close to my goal.
At least now I can connect to the bluetooth speaker.
Hopefully, the steps I have taken to enable and connect Bluetooth will help someone...
Edit: Got music output to my bluetooth speaker. Installed pavucontrol, but I question whether it's needed. I couldn't get sound unmuted using pavucontrol (a simple GUI).
I found this page in the Arch Wiki, https://wiki.archlinux.org/index.php/Pu … leshooting - the Pulseaudio troubleshooting page - and these commands
[me@ar64-ssd ~]$ pacmd list-sink-inputs
pacmd set-sink-input-mute <index> false
My speaker's index number listed as "1", so using that in the second command in place of <index> I now have bluetooth sound.
Bluetooth is easier in other distros, but I learn something everyday using Arch Linux.
Cheers!
tex
]]>delta67 wrote:Itachi_Uchiha91 wrote:I had the same problem when I upgraded to linux-4.5.1-1 and now also to 4.5.2-1. So at the moment I use the kernel version 4.5-1 and I have no problems with bluetooth...
Thanks a lot for reply.
When I first tried to use bluetooth I was already using 4.5.1-1. but the other post I quoted which had the same problem as mine was posted last year.
so I guess should try lts kernel?I don't use linux-lts, but this: http://seblu.net/a/archive/packages/l/l … pkg.tar.xz and http://seblu.net/a/archive/packages/l/l … pkg.tar.xz
then,sudo pacman -U /path/to/linux-4.5-1-x86_64.pkg.tar.xz /path/to/linux-api-headers-4.4.1-1-x86_64.pkg.tar.xz
However, if after the downgrade of the kernel, bluetooth still doesn't work install/reinstall the following packages and reboot your system.
sudo pacman -S bluez bluez-utils pulseaudio-alsa pulseaudio-bluetooth bluez-libs bluez-firmware
Hope this helps
Thank you for the advice.
I have tried the older version and zen kernel. None of them worked and they just gave the same output as before.
Itachi_Uchiha91 wrote:I had the same problem when I upgraded to linux-4.5.1-1 and now also to 4.5.2-1. So at the moment I use the kernel version 4.5-1 and I have no problems with bluetooth...
Thanks a lot for reply.
When I first tried to use bluetooth I was already using 4.5.1-1. but the other post I quoted which had the same problem as mine was posted last year.
so I guess should try lts kernel?
I don't use linux-lts, but this: http://seblu.net/a/archive/packages/l/l … pkg.tar.xz and http://seblu.net/a/archive/packages/l/l … pkg.tar.xz
then,
sudo pacman -U /path/to/linux-4.5-1-x86_64.pkg.tar.xz /path/to/linux-api-headers-4.4.1-1-x86_64.pkg.tar.xz
However, if after the downgrade of the kernel, bluetooth still doesn't work install/reinstall the following packages and reboot your system.
sudo pacman -S bluez bluez-utils pulseaudio-alsa pulseaudio-bluetooth bluez-libs bluez-firmware
Hope this helps
]]>I had the same problem when I upgraded to linux-4.5.1-1 and now also to 4.5.2-1. So at the moment I use the kernel version 4.5-1 and I have no problems with bluetooth...
Thanks a lot for reply.
When I first tried to use bluetooth I was already using 4.5.1-1. but the other post I quoted which had the same problem as mine was posted last year.
so I guess should try lts kernel?
$ uname -a
Linux Pollux 4.5.1-1-ARCH #1 SMP PREEMPT Thu Apr 14 19:19:32 CEST 2016 x86_64 GNU/Linux
$ groups
lp wheel users wireshark docker
$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2016-05-04 22:17:32 EDT; 4h 39min ago
Docs: man:bluetoothd(8)
Main PID: 512 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 512)
CGroup: /system.slice/bluetooth.service
└─512 /usr/lib/bluetooth/bluetoothd
May 04 22:17:32 Pollux systemd[1]: Started Bluetooth service.
May 04 22:17:32 Pollux bluetoothd[512]: Starting SDP server
May 04 22:17:32 Pollux bluetoothd[512]: Bluetooth management interface 1.11 initialized
May 04 22:17:32 Pollux bluetoothd[512]: Failed to obtain handles for "Service Changed" characteristic
May 04 22:17:32 Pollux bluetoothd[512]: Sap driver initialization failed.
May 04 22:17:32 Pollux bluetoothd[512]: sap-server: Operation not permitted (1)
May 04 23:42:46 Pollux bluetoothd[512]: Failed to set mode: Failed (0x03)
May 05 02:30:18 Pollux bluetoothd[512]: Failed to obtain handles for "Service Changed" characteristic
May 05 02:30:18 Pollux bluetoothd[512]: Sap driver initialization failed.
May 05 02:30:18 Pollux bluetoothd[512]: sap-server: Operation not permitted (1)
$ bluetooth
bluetooth = on
$ bluetoothctl
[NEW] Controller AC:E0:10:36:CA:E6 Pollux [default]
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed
[bluetooth]# quit
[DEL] Controller AC:E0:10:36:CA:E6 Pollux [default]
# hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
$ hcitool dev
Devices:
$ lsusb
Bus 003 Device 002: ID 8087:8001 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04ca:703c Lite-On Technology Corp.
Bus 001 Device 003: ID 0bda:8761 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 001 Device 005: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
#### As I have checked in Windows, the device marked Realtek Smiconductor is the bluetooth device.
$ dmesg -T|grep Blue
[Wed May 4 22:17:31 2016] Bluetooth: Core ver 2.21
[Wed May 4 22:17:31 2016] Bluetooth: HCI device and connection manager initialized
[Wed May 4 22:17:31 2016] Bluetooth: HCI socket layer initialized
[Wed May 4 22:17:31 2016] Bluetooth: L2CAP socket layer initialized
[Wed May 4 22:17:31 2016] Bluetooth: SCO socket layer initialized
[Wed May 4 22:17:31 2016] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8761
[Wed May 4 22:17:31 2016] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_fw.bin
[Wed May 4 22:17:31 2016] Bluetooth: hci0: rom_version status=0 version=2
[Wed May 4 22:17:32 2016] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[Wed May 4 22:17:32 2016] Bluetooth: BNEP filters: protocol multicast
[Wed May 4 22:17:32 2016] Bluetooth: BNEP socket layer initialized
[Wed May 4 23:42:38 2016] Bluetooth: hci0 urb ffff8803285d0480 failed to resubmit (113)
[Thu May 5 01:41:11 2016] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8761
[Thu May 5 01:41:11 2016] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_fw.bin
[Thu May 5 01:41:11 2016] Bluetooth: hci0: rom_version status=0 version=2
[Thu May 5 02:08:11 2016] Bluetooth: hci0 urb ffff88031ea05d80 failed to resubmit (113)
[Thu May 5 02:08:40 2016] Bluetooth: hci0 urb ffff8800969b90c0 failed to resubmit (113)
$ lsmod |grep blue
bluetooth 454656 26 bnep,btbcm,btrtl,btusb,btintel
rfkill 20480 6 cfg80211,thinkpad_acpi,bluetooth
crc16 16384 2 ext4,bluetooth
$ lsmod |grep btusb
btusb 40960 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 454656 26 bnep,btbcm,btrtl,btusb,btintel
usbcore 196608 7 btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
$ lsusb -v -d 0bda:8761
Bus 001 Device 003: ID 0bda:8761 Realtek Semiconductor Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x8761
bcdDevice 2.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 177
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
$ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ pacman -Qs bluez
local/bluez 5.39-1
Daemons for the bluetooth protocol stack
local/bluez-firmware 1.2-8
Firmwares for Broadcom BCM203x and STLC2300 Bluetooth chips
local/bluez-hid2hci 5.39-1
Put HID proxying bluetooth HCI's into HCI mode
local/bluez-libs 5.39-1
Deprecated libraries for the bluetooth protocol stack
local/bluez-plugins 5.39-1
bluez plugins (PS3 Sixaxis controller)
local/bluez-utils 5.39-1
Development and debugging utilities for the bluetooth protocol stack
I searched on the forum and found this post, which has almost same symptom as mine and remains unsolved.
https://bbs.archlinux.org/viewtopic.php?id=205724
Then I found another post on https://www.raspberrypi.org/forums/view … 8&t=131999. Though it's not the same context I tried to add --noplugin=sap in systemd service file. And Now it gives error like:
$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2016-05-05 18:52:58 EDT; 28min ago
Docs: man:bluetoothd(8)
Main PID: 4459 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 512)
CGroup: /system.slice/bluetooth.service
└─4459 /usr/lib/bluetooth/bluetoothd --noplugin=sap
May 05 18:52:58 Pollux systemd[1]: Starting Bluetooth service...
May 05 18:52:58 Pollux bluetoothd[4459]: Bluetooth daemon 5.39
May 05 18:52:58 Pollux systemd[1]: Started Bluetooth service.
May 05 18:52:58 Pollux bluetoothd[4459]: Starting SDP server
May 05 18:52:58 Pollux bluetoothd[4459]: Excluding (cli) sap
May 05 18:52:58 Pollux bluetoothd[4459]: Bluetooth management interface 1.11 initialized
May 05 18:52:58 Pollux bluetoothd[4459]: Failed to obtain handles for "Service Changed" characteristic
I am also wondering if the bluetooth device is affected by wifi adapter which appears to be RTL8192ee but I searched for it and found no such post yet.
Any help is appreciated.
]]>