Need help with Bluetooth keyboard after reboots

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
JJFlores197
Level 1
Level 1
Posts: 2
Joined: Thu Mar 16, 2023 12:38 am

Need help with Bluetooth keyboard after reboots

Post by JJFlores197 »

Hello. I have recently installed Linux Mint on my new Thinkpad P15v. I'm having trouble with my Logitech K480 Bluetooth keyboard. In order to pair it, I found out that I have to uncheck the "Hide unnamed devices" checkbox in the Bluetooth settings. Otherwise, it wouldn't show up in the list of devices to pair with.

The main problem I'm having is that every time I restart, shutdown, or put my laptop to sleep and then wake it up/power it on, it looses the connection with the keyboard and I have to re-pair the keyboard each time. Its like Mint "forgets" completely about the keyboard as it doesn't even show up in my list of paired devices. I have a Logitech MX Anywhere 2S bluetooth mouse paired and it works fine. Mint remembers it each time so I'm not sure what's going on with my keyboard or installation or Bluetooth adapter.


inxi output:

Code: Select all

System:
  Kernel: 5.15.0-67-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
    Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 21D8CTO1WW v: ThinkPad P15v Gen 3
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21D8CTO1WW v: SDK0T76530 WIN
    serial: <superuser required> UEFI: LENOVO v: N3EET27W (1.13 )
    date: 12/09/2022
Battery:
  ID-1: BAT0 charge: 68.7 Wh (100.0%) condition: 68.7/68.0 Wh (101.0%)
    volts: 12.9 min: 11.5 model: Celxpert 5B10W13961 type: Li-poly
    serial: <filter> status: Full cycles: 1
  Device-1: hidpp_battery_0
    model: Logitech Wireless Touch Keyboard K400 Plus serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: Discharging
CPU:
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12800H bits: 64
    type: MST AMCP smt: enabled arch: Alder Lake rev: 3 cache: L1: 1.2 MiB
    L2: 11.5 MiB L3: 24 MiB
  Speed (MHz): avg: 801 high: 1138 min/max: 400/4700:4800:3700 cores:
    1: 1138 2: 757 3: 906 4: 690 5: 806 6: 446 7: 973 8: 926 9: 793 10: 719
    11: 718 12: 669 13: 817 14: 1050 15: 1077 16: 1051 17: 510 18: 727
    19: 626 20: 640 bogomips: 112127
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Lenovo
    driver: i915 v: kernel ports: active: DP-5 off: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-6, DP-7, HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] vendor: Lenovo
    driver: nvidia v: 525.85.05 pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:25b8 class-ID: 0302
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-4:3 chip-ID: 04f2:b6be class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X:
    loaded: modesetting,nvidia gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
    s-diag: 583mm (23")
  Monitor-1: DP-1-1-1 res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.5x11.5") diag: 598mm (23.5")
  OpenGL: renderer: NVIDIA RTX A2000 Laptop GPU/PCIe/SSE2
    v: 4.6.0 NVIDIA 525.85.05 direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
    class-ID: 0403
  Device-2: Lenovo ThinkPad USB-C Dock Gen2 USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-5.3.3.2:9
    chip-ID: 17ef:a396 class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k5.15.0-67-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1e class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-3: Lenovo USB-C Dock Ethernet type: USB driver: r8152
    bus-ID: 2-1.1:4 chip-ID: 17ef:a387 class-ID: 0000 serial: <filter>
  IF: enxe88088622bc6 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:5
    chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
RAID:
  Device-1: bpool type: zfs status: ONLINE level: linear raw: size: 1.88 GiB
    free: 1.53 GiB allocated: 356 MiB zfs-fs: size: 1.75 GiB free: 1.4 GiB
  Components: Online: N/A
  Device-2: rpool type: zfs status: ONLINE level: linear raw:
    size: 1.81 TiB free: 1.8 TiB allocated: 14.1 GiB zfs-fs: size: 1.76 TiB
    free: 1.74 TiB
  Components: Online: N/A
Drives:
  Local Storage: total: raw: 1.82 TiB usable: 3.58 TiB used: 26.79 GiB (0.7%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P5PSSD8 size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: P7CR403
    temp: 31.9 C scheme: GPT
Partition:
  ID-1: / size: 1.75 TiB used: 12.39 GiB (0.7%) fs: zfs
    logical: rpool/ROOT/ubuntu_35q51o
  ID-2: /boot size: 1.75 GiB used: 355.1 MiB (19.8%) fs: zfs
    logical: bpool/BOOT/ubuntu_35q51o
  ID-3: /boot/efi size: 511 MiB used: 14.3 MiB (2.8%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /var/log size: 1.74 TiB used: 21.5 MiB (0.0%) fs: zfs
    logical: rpool/ROOT/ubuntu_35q51o/var/log
Swap:
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 mapped: cryptoswap
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A gpu: nvidia temp: 47 C
  Fan Speeds (RPM): fan-1: 2186
Repos:
  Packages: 2288 apt: 2271 flatpak: 17
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 599 Uptime: 4d 23h 59m wakeups: 204 Memory: 31.02 GiB
  used: 14.04 GiB (45.3%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13  
Any help is appreciated! Other than this problem, my transition into LM has been pretty smooth. Definitely much better than several years ago.
Last edited by LockBot on Sun Sep 17, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Need help with Bluetooth keyboard after reboots

Post by SMG »

JJFlores197 wrote: Tue Mar 21, 2023 9:25 pm Hello. I have recently installed Linux Mint on my new Thinkpad P15v. I'm having trouble with my Logitech K480 Bluetooth keyboard. In order to pair it, I found out that I have to uncheck the "Hide unnamed devices" checkbox in the Bluetooth settings. Otherwise, it wouldn't show up in the list of devices to pair with.

The main problem I'm having is that every time I restart, shutdown, or put my laptop to sleep and then wake it up/power it on, it looses the connection with the keyboard and I have to re-pair the keyboard each time. Its like Mint "forgets" completely about the keyboard as it doesn't even show up in my list of paired devices. I have a Logitech MX Anywhere 2S bluetooth mouse paired and it works fine. Mint remembers it each time so I'm not sure what's going on with my keyboard or installation or Bluetooth adapter.
Welcome to the forum, JJFlores197.

With a 12th-gen Intel CPU, I recommend using a newer kernel. Perhaps it will have a slightly different bluetooth driver and maybe help with this situation. It will definitely give better support to your CPU and graphics.

Instructions for upgrading to the 5.19 kernel:
  • Open Update Manager.
  • Select View > Linux Kernels and click Continue.
  • Make sure 5.19 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear.
  • Install the kernel and then reboot for it to become active.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
minty
Level 1
Level 1
Posts: 1
Joined: Fri May 26, 2023 10:58 am

Re: Need help with Bluetooth keyboard after reboots

Post by minty »

I am also using a K480 with Cinnamon 21, but on an older Dell All-in-One. I was having issues with the pairing as well, until I paired and then marked the keyboard as a trusted device. Computer can rebooted and it re-pairs when it's back on. I have been leaving the keyboard switched on as well, more for convenience, so haven't tried to turn it all off since I got the system operational for my uses.
Locked

Return to “Networking”