You are not logged in.
Hi everyone,
I am on arch (5.1.15-arch1-1-ARCH stop last kernels updates because of USB lag issues) with i3wm (4.16.1-107).
I have a JBL 2 speaker working through jack and that has been working through bluetooth for several years until last kernel updates.
Everything is working fine with kernel 4.20.13 when I downgrade.
I can connect it instantly with my android phone without any PIN, so I guess the JBL 2 speaker is fine.
typical bluetoothctl behavior:
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 9C:B6:D0:C2:C6:A8 Discovering: yes
[CHG] Device 48:2C:A0:CB:26:8D RSSI: -61
[CHG] Device E6:48:FE:45:97:87 RSSI: -90
[CHG] Device 68:09:96:25:FC:0E RSSI: -83
[CHG] Device E6:48:FE:45:97:87 RSSI: -82
[NEW] Device 0C:A6:94:AC:7F:68 JBL Charge 2
[bluetooth]# scan off
Discovery stopped
[CHG] Controller 9C:B6:D0:C2:C6:A8 Discovering: no
[CHG] Device 0C:A6:94:AC:7F:68 TxPower is nil
[CHG] Device 0C:A6:94:AC:7F:68 RSSI is nil
[CHG] Device 68:09:96:25:FC:0E RSSI is nil
[CHG] Device E6:48:FE:45:97:87 RSSI is nil
[CHG] Device 48:2C:A0:CB:26:8D RSSI is nil
[bluetooth]# pair 0C:A6:94:AC:7F:68
Attempting to pair with 0C:A6:94:AC:7F:68
[CHG] Device 0C:A6:94:AC:7F:68 Connected: yes
[CHG] Device 0C:A6:94:AC:7F:68 ServicesResolved: yes
[CHG] Device 0C:A6:94:AC:7F:68 Paired: yes
Pairing successful
[CHG] Device 0C:A6:94:AC:7F:68 ServicesResolved: no
[CHG] Device 0C:A6:94:AC:7F:68 Connected: no
[bluetooth]# connect 0C:A6:94:AC:7F:68
Attempting to connect to 0C:A6:94:AC:7F:68
[CHG] Device 0C:A6:94:AC:7F:68 Connected: yes
[CHG] Device 0C:A6:94:AC:7F:68 UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 0C:A6:94:AC:7F:68 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 0C:A6:94:AC:7F:68 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 0C:A6:94:AC:7F:68 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 0C:A6:94:AC:7F:68 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 0C:A6:94:AC:7F:68 ServicesResolved: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device 0C:A6:94:AC:7F:68 ServicesResolved: no
[CHG] Device 0C:A6:94:AC:7F:68 Connected: no
pulseaudio-bluetooth is installed.
I tried with blueman too, impossible too with connexion not available message.
I tried with python too and can not get any info about the device when I can from others.
$ systemctl status bluetooth
bluetoothd[1214]: Starting SDP server
bluetoothd[1214]: Bluetooth management interface 1.14 initialized
bluetoothd[1214]: a2dp-sink profile connect failed for 0C:A6:94:AC:7F:68: Protocol not available
bluetoothd[1214]: Endpoint registered: sender=:1.49 path=/MediaEndpoint/A2DPSource
bluetoothd[1214]: Endpoint registered: sender=:1.49 path=/MediaEndpoint/A2DPSink
bluetoothd[1214]: Unable to get Headset Voice gateway SDP record: Host is down
bluetoothd[1214]: 0C:A6:94:AC:7F:68: error updating services: Connection refused (111)
bluetoothd[1214]: Unable to get connect data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
bluetoothd[1214]: connect error: Connection refused (111)
bluetoothd[1214]: connect error: Connection refused (111)
Dos someone have a patch for this kernel issue?
Thanks for your time.
Last edited by Yann (2019-08-11 10:15:41)
all different - all equal
Offline
Am I in the right section or should I move it somewhere else?
all different - all equal
Offline
i had the same issue the other day with my jbl go , cant remember exactly what i did but im pretty sure i used bluetoothctl and used the "power off" command, then used rfkill to unblock it again, then used bluetoothctl "power on" then "scan on" and for some reason it came back to life, id been bashing my head against a wall for ages with blueman gui and getting nowhere. i possibly also rebooted in their somewhere too, sorry i cant remember exact sequence.
Offline
Thanks jonno2002 for the help. I did follow your steps and still get the same error:
Failed to connect: org.bluez.Error.Failed
How do you use rfkill? I did not use it in my old process.
When I run it naively I get:
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
Seems unblocked.
Every time I do that, it connects and then disconnect..
[CHG] Device XX Connected: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device XX Connected: no
Last edited by Yann (2019-08-04 11:50:11)
all different - all equal
Offline
i had to use rfkill to unblock my device after i blocked it but yours isnt blocked so thats not it.
hmmm try trusting the device before pairing with it, see if that helps.
Offline
Already tried. Same result.
I am a little stuck.. :-|
all different - all equal
Offline
I made further checks.
I downgraded my linux kernel to 4.20.13 and the bluetooth works perfectly.
So, I guess this is a kernel problem. Does someone have a patch for the current 5.x kernels? Should I report that?
all different - all equal
Offline
Try the latest stable kernel, no one cares for a bug report if you can't reproduce on kernels that are still actively supported. The 5.1 kernels around that timeframe you were on were known to have bluetooth issues, AFAIK most of those should be fixed. What actual problems do you have with the 5.2 series? You're the first person I'm seeing mentioning USB lag issues.
Last edited by V1del (2019-08-11 11:48:37)
Offline
Hi V1del,
Thanks for your time.
Indeed, I did have important issues with the latest kernels. I retried the latest kernel (5.2.8) and there is the system situation:
usb keyboard and mousse freeze/hang. Meaning that if I don't input any action with them for 2 seconds, then it won't do anything for the next few actions, key presses will be lost and mousse stuck for a few seconds.
This is impracticable, user experience is too bad
Otherwise, laptop keyboard and touchpad are working perfectly. The issue is only with my usb/bluetooth external keyboard and mousse
I would like to precise that I have the same issue [1] with my current "working" kernel when I resume from suspend state. The exact same issue appears in this situation. I dug on this problem and have to admit that is the biggest problem I am facing on my XPS 15 9570 for the last 6 months. Please, help me to fix that.
Thanks.
Last edited by Yann (2019-08-22 06:59:47)
all different - all equal
Offline
Does someone have an idea for the freeze/hang issue?
all different - all equal
Offline