Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth connection to keyboard does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 515

PostPosted: Sun Jan 05, 2025 12:13 pm    Post subject: bluetooth connection to keyboard does not work Reply with quote

I try to connect my bluetooth keyboard to the Gentoo system on SteamDeck. The device disconnect shortly.
In Blueman I get only the error message "Keine Audio-Endpunkte registriert" (No Audio-Endpoints registered).
I do not know why I need an Audio-Endpoint for Keyboard.

Bluetooth-Connection to my headset does work with this device.
The keyboard does work with other comparable Gentoo device without issues.

If I try to connect:

Code:
~ $ bluetoothctl
[bluetooth]# Agent registered
[bluetooth]# scan on

[bluetooth]# agent off
[bluetooth]# Agent unregistered

[bluetooth]# agent KeyboardOnly
[bluetooth]# Agent registered

[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller 2C:3B:70:F0:66:52 Discovering: yes
[bluetooth]# [NEW] Device 20:20:01:41:17:29 Bluetooth 3.0 Keyboard
[bluetooth]# [CHG] Device 20:20:01:41:17:29 RSSI: 0xffffffb3 (-77)

[bluetooth]# pair 20:20:01:41:17:29
Attempting to pair with 20:20:01:41:17:29
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 Connected: yes
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 Bonded: yes
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 Modalias: usb:v04E8p7021d011B
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 UUIDs: 00001000-0000-1000-8000-00805f9b34fb
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 ServicesResolved: yes
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 Paired: yes
[Bluetooth 3.0 Keyboard]# Pairing successful
[Bluetooth 3.0 Keyboard]# pair 20:20:01:41:17:29[CHG] Device 20:20:01:41:17:29 ServicesResolved: no
[bluetooth]# pair 20:20:01:41:17:29[CHG] Device 20:20:01:41:17:29 Connected: no
[bluetooth]# pair 20:20:01:41:17:29[CHG] Device 20:20:01:41:17:29 RSSI: 0xffffffbf (-65)
[bluetooth]# scan on[CHG] Device 20:20:01:41:17:29 RSSI: 0xffffffb7 (-73)

[bluetooth]# connect 20:20:01:41:17:29
Attempting to connect to 20:20:01:41:17:29
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 Connected: yes
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 ServicesResolved: yes
[Bluetooth 3.0 Keyboard]# Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[Bluetooth 3.0 Keyboard]# [CHG] Device 20:20:01:41:17:29 ServicesResolved: no
[bluetooth]# [CHG] Device 20:20:01:41:17:29 Connected: no
[bluetooth]#


What could be the issue?
Back to top
View user's profile Send private message
smileaf
n00b
n00b


Joined: 16 Mar 2005
Posts: 16
Location: USA

PostPosted: Sun May 04, 2025 1:54 pm    Post subject: Reply with quote

Same exact issue with a game pad.
I've tried a PlayStation 4 controller, a switch joy-pad and a generic game pad.
All have connected, then immediately disconnected with "No Audio endpoints registered."
Connected my bluetooth speaker, tried to play something, realized it was outputting to my headset, tried to change it and it didn't show up as an output device, and soon disconnected after. refused connected right after, removed it and tried to readd it, won't show up now. thinking it might be my speaker I tried with my phone, worked just fine.

So on with the insanity. I connected my phone to my computer and can play music just fine from my phone to my headset on the computer.

trying to connect the PS4 controller
Code:
[bluetooth]# [NEW] Device 1C:66:6D:9E:0F:03 Wireless Controller
[bluetooth]# [CHG] Device 1C:66:6D:9E:0F:03 Modalias: usb:v054Cp05C4d0100
[bluetooth]# [CHG] Device 1C:66:6D:9E:0F:03 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Device 1C:66:6D:9E:0F:03 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[bluetooth]# pair 1C:66:6D:9E:0F:03
Attempting to pair with 1C:66:6D:9E:0F:03
[bluetooth]# hci1 device_flags_changed: 1C:66:6D:9E:0F:03 (BR/EDR)
[bluetooth]#      supp: 0x00000001  curr: 0x00000000
[bluetooth]# hci1 type 1 discovering off
[bluetooth]# hci1 1C:66:6D:9E:0F:03 type BR/EDR connected eir_len 26
[Wireless Controller]# [CHG] Device 1C:66:6D:9E:0F:03 Connected: yes
[Wireless Controller]# hci1 new_link_key 1C:66:6D:9E:0F:03 type 0x04 pin_len 0 store_hint 1
[Wireless Controller]# [CHG] Device 1C:66:6D:9E:0F:03 Bonded: yes
[Wireless Controller]# [CHG] Device 1C:66:6D:9E:0F:03 ServicesResolved: yes
[Wireless Controller]# [CHG] Device 1C:66:6D:9E:0F:03 Paired: yes
[Wireless Controller]# Pairing successful
[Wireless Controller]# pair 1C:66:6D:9E:0F:03 Authorize service
[agent] Authorize service 00001124-0000-1000-8000-00805f9b34fb (yes/no): connect 1C:66:6D:9E:0F:03
[Wireless Controller]# hci1 1C:66:6D:9E:0F:03 type BR/EDR disconnected with reason 3
[Wireless Controller]# [CHG] Device 1C:66:6D:9E:0F:03 ServicesResolved: no
[bluetooth]# [CHG] Device 1C:66:6D:9E:0F:03 Connected: no

Code:
[bluetooth]# info 1C:66:6D:9E:0F:03
Device 1C:66:6D:9E:0F:03 (public)
   Name: Wireless Controller
   Alias: Wireless Controller
   Class: 0x00002508 (9480)
   Icon: input-gaming
   Paired: yes
   Bonded: yes
   Trusted: no
   Blocked: no
   Connected: no
   LegacyPairing: no
   UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
   UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
   Modalias: usb:v054Cp05C4d0100
   RSSI: 0xffffffb5 (-75)


Generic gamepad
Code:
[bluetooth]# [NEW] Device 98:B6:E9:8F:41:F1 Pro Controller
[bluetooth]# pair 98:B6:E9:8F:41:F1
Attempting to pair with 98:B6:E9:8F:41:F1
[bluetooth]# hci1 device_flags_changed: 98:B6:E9:8F:41:F1 (BR/EDR)
[bluetooth]#      supp: 0x00000001  curr: 0x00000000
[bluetooth]# hci1 type 1 discovering off
[bluetooth]# hci1 98:B6:E9:8F:41:F1 type BR/EDR connected eir_len 21
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 Connected: yes
[Pro Controller]# hci1 new_link_key 98:B6:E9:8F:41:F1 type 0x04 pin_len 0 store_hint 1
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 Bonded: yes
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 Modalias: usb:v057Ep2009d0001
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 ServicesResolved: yes
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 Paired: yes
[Pro Controller]# Pairing successful
[Pro Controller]# connect 98:B6:E9:8F:41:F1
Attempting to connect to 98:B6:E9:8F:41:F1
[Pro Controller]# Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[Pro Controller]# hci1 type 1 discovering on
[Pro Controller]# hci1 98:B6:E9:8F:41:F1 type BR/EDR disconnected with reason 2
[Pro Controller]# [CHG] Device 98:B6:E9:8F:41:F1 ServicesResolved: no
[bluetooth]# [CHG] Device 98:B6:E9:8F:41:F1 Connected: no

Code:
[Pro Controller]# info 98:B6:E9:8F:41:F1
Device 98:B6:E9:8F:41:F1 (public)
   Name: Pro Controller
   Alias: Pro Controller
   Class: 0x00002508 (9480)
   Icon: input-gaming
   Paired: yes
   Bonded: yes
   Trusted: no
   Blocked: no
   Connected: yes
   LegacyPairing: no
   UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
   UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
   Modalias: usb:v057Ep2009d0001
   RSSI: 0xffffffaf (-81)

_________________
This has been leafed.
Back to top
View user's profile Send private message
smileaf
n00b
n00b


Joined: 16 Mar 2005
Posts: 16
Location: USA

PostPosted: Sun May 04, 2025 3:12 pm    Post subject: Reply with quote

Update: I upgraded my bluez from 5.79 to 5.82 and all gaming pads connected but wouldn't take any input.
So I upgraded my kernel from 6.13.7 to the latest 6.14.5 vanilla and the generic gamepad is finally fully working!
the PlayStation and Switch controllers still however while connecting, don't show up as inputs in any of my programs.

As for the bluetooth speaker issue, that too is connecting and working but extremely laggy -- outside of the scope of this thread.
_________________
This has been leafed.
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 515

PostPosted: Thu May 08, 2025 3:48 pm    Post subject: Reply with quote

Thank you @smileaf! Upgrading Bluez to 5.82 solved the issue for me! Now I am able (again) to use the bluetooth keyboard with SteamDeck.


By the way for Switch controllers I recommend to use games-util/joycond.
The daemon is able to handle left and right joycon as one virtual joypad, like the switch does.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum