Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] unable to connect bluetooth keyboard

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

[Solved] unable to connect bluetooth keyboard

#1 Post by lucyferu »

hello!

im a new to debian, but not linux.

ive had debian for a couple of days and i cant manage to pair and connect my bluetooth keyboard.
ive tried both with gui and command line and nothing works.
i can connect my phone for example so i know the bluetooth is still working on my laptop.
and ive bee using my keyboard through linux mint up untile a few days ago (when ive installed debian).
anyone can help?

in case this might be of help:

Code: Select all

~$ inxi -Fxxxrz
System:
  Kernel: 5.10.0-21-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye) 
Machine:
  Type: Laptop System: ASUSTeK product: ZenBook UX392FN_UX392FN v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: UX392FN v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: UX392FN.301 date: 07/17/2019 
Battery:
  ID-1: BAT0 charge: 29.4 Wh condition: 32.0/50.0 Wh (64%) volts: 11.9/11.9 
  model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Discharging 
  cycles: 829 
CPU:
  Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check rev: B L2 cache: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 31999 
  Speed: 801 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 801 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: ASUSTeK 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3ea0 class ID: 0300 
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: ASUSTeK driver: nouveau 
  v: kernel bus ID: 02:00.0 chip ID: 10de:1d12 class ID: 0302 
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
  bus ID: 1-5:2 chip ID: 13d3:56dc class ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz s-dpi: 96 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.3.5 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
  class ID: 0403 
  Sound Server: ALSA v: k5.10.0-21-amd64 
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi 
  v: kernel port: 4000 bus ID: 00:14.3 chip ID: 8086:9df0 class ID: 0280 
  IF: wlo1 state: up mac: <filter> 
  IF-ID-1: pan1 state: down mac: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
  driver: btusb v: 0.8 bus ID: 1-10:4 chip ID: 8087:0aaa class ID: e001 
  Report: ID: hci0 state: up running pscan bt-v: 3.0 lmp-v: 5.1 sub-v: 100 
  hci-v: 5.1 rev: 100 address: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 8.01 GiB (1.7%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN520 SDAPNUW-512G-1002 size: 476.94 GiB speed: 15.8 Gb/s 
  lanes: 2 rotation: SSD serial: <filter> rev: 20110000 scheme: GPT 
Partition:
  ID-1: / size: 466.42 GiB used: 7.88 GiB (1.7%) fs: ext4 dev: /dev/dm-1 
  mapped: flostlyx--vg-root 
  ID-2: /boot size: 470.4 MiB used: 122.8 MiB (26.1%) fs: ext2 
  dev: /dev/nvme0n1p2 
  ID-3: /boot/efi size: 511 MiB used: 11.8 MiB (2.3%) fs: vfat 
  dev: /dev/nvme0n1p1 
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/dm-2 mapped: flostlyx--vg-swap_1 
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A gpu: nouveau temp: 29.0 C 
  Fan Speeds (RPM): cpu: 0 
Repos:
  Packages: apt: 1942 
  Active apt repos in: /etc/apt/sources.list 
  1: deb http://deb.debian.org/debian/ bullseye main non-free contrib
  2: deb-src http://deb.debian.org/debian/ bullseye main non-free contrib
  3: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
  4: deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
  5: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
  6: deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/librewolf.sources 
  1: deb [arch=amd64] https://deb.librewolf.net bullseye main
Info:
  Processes: 233 Uptime: 28m wakeups: 2304 Memory: 15.45 GiB 
  used: 2.08 GiB (13.5%) Init: systemd v: 247 runlevel: 5 Compilers: 
  gcc: 10.2.1 alt: 10 Shell: Bash v: 5.1.4 running in: xfce4-terminal 
  inxi: 3.3.01 
Last edited by lucyferu on 2023-01-27 09:57, edited 2 times in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: [Hardware] unable to connect bluetooth keyboard

#2 Post by arochester »

Does your dongle show under

Code: Select all

lsusb
?

Have a look at https://wiki.archlinux.org/title/bluetooth_keyboard , particularly the section on troubleshooting.

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [Hardware] unable to connect bluetooth keyboard

#3 Post by lucyferu »

[deleted]
Last edited by lucyferu on 2023-01-26 09:16, edited 1 time in total.

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [Hardware] unable to connect bluetooth keyboard

#4 Post by lucyferu »

arochester wrote: 2023-01-25 10:19 Does your dongle show under

Code: Select all

lsusb
?
yes, if it is this one:
arochester wrote: 2023-01-25 10:19 Have a look at https://wiki.archlinux.org/title/bluetooth_keyboard , particularly the section on troubleshooting.
so, when i try to pair the keyboard, i receive this error:

Code: Select all

[bluetooth]# pair 20:16:09:08:03:CC
Attempting to pair with 20:16:09:08:03:CC
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
by reading the wiki, i think the dongle doesn't actually shows up, nothing looks like the wiki suggests, so i try the first troubleshooting, but:

Code: Select all

~$ modprobe btusb
bash: modprobe: command not found
Last edited by lucyferu on 2023-01-25 10:33, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2107
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 230 times

Re: [Hardware] unable to connect bluetooth keyboard

#5 Post by FreewheelinFrank »

lucyferu wrote: 2023-01-25 10:32
arochester wrote: 2023-01-25 10:19 Does your dongle show under

Code: Select all

lsusb
?
yes, if it is this one:
Did you mean to post some output there?

lucyferu wrote: 2023-01-25 10:32
by reading the wiki, i think the dongle doesn't actually shows up, nothing looks like the wiki suggests, so i try the first troubleshooting, but:

Code: Select all

~$ modprobe btusb
bash: modprobe: command not found
The command needs to run as root:

Code: Select all

# modprobe btusb
Get root with

Code: Select all

$ su -
(su space dash)

and password.

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [Hardware] unable to connect bluetooth keyboard

#6 Post by lucyferu »

FreewheelinFrank wrote: 2023-01-25 11:28Did you mean to post some output there?
yes, my bad:

Code: Select all

Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
FreewheelinFrank wrote: 2023-01-25 11:28The command needs to run as root:
done, but when i repeat the pairing/connection i still receive the same error.

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [Hardware] unable to connect bluetooth keyboard

#7 Post by lucyferu »

so, i managed to pair the keyboard by repeated press the "connect" button under my keyboard while debian was pairing up.
then, it wouldn't connect, at which point i've updated my kernel following this guide and now my keyboard works even better than when i was using linux mint!

Post Reply