Permanent Bluetooth connection

Report Bugs, Issues and non- package Requests
Message
Author
kohlhaas
Posts: 22
Joined: Mon Jul 18, 2022 8:44 am

Permanent Bluetooth connection

#1 Post by kohlhaas »

Code: Select all

System:    Kernel: 6.4.0-2mx-ahs-amd64 [6.4.4-3~mx23+1] x86_64 bits: 64 compiler: gcc v: 12.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-2mx-ahs-amd64 root=UUID=<filter> ro quiet 
           splash init=lib/systemd/systemd resume=UUID=<filter> acpi_backlight=native 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.36 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-23.1_x64 Libretto October 20  2021 
           base: Debian GNU/Linux 12 (bookworm) 
Machine:   Type: Mini-pc System: Intel Client Systems product: NUC13VYKi7 v: M98831-303 
           serial: <filter> Chassis: Intel Corporation type: 35 v: 2.0 serial: <filter> 
           Mobo: Intel model: NUC13ANBi7 v: M89645-203 serial: <filter> UEFI: Intel 
           v: ANRPL357.0026.2023.0314.1458 date: 03/14/2023 
Battery:   Device-1: hid-FNP93660014J1YLA8-battery model: Apple Inc. Magic Keyboard serial: N/A 
           charge: N/A status: Discharging 
           Device-2: hidpp_battery_0 model: Logitech Bluetooth Laser Travel Mouse serial: <filter> 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
           Device-3: hidpp_battery_1 model: Logitech Wireless Mobile Mouse MX Anywhere 2S 
           serial: <filter> charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: 8-Core model: 13th Gen Intel Core i7-1360P bits: 64 type: MT MCP arch: N/A 
           family: 6 model-id: BA (186) stepping: 2 microcode: 4119 cache: L2: 18 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 83558 
           Speed: 996 MHz min/max: 400/5000 MHz Core speeds (MHz): 1: 400 2: 2600 3: 1032 4: 1170 
           5: 437 6: 972 7: 2600 8: 432 9: 1063 10: 2600 11: 1126 12: 2600 13: 1140 14: 2600 
           15: 1122 16: 901 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling, 
           PBRSB-eIBRS: SW sequence 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:a7a0 class-ID: 0300 
           Display: x11 server: X.Org 1.21.1.7 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.0x12.5") 
           s-diag: 599mm (23.6") 
           Monitor-1: DP-1 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8") 
           diag: 611mm (24.1") 
           OpenGL: renderer: Mesa Intel Graphics (RPL-P) v: 4.6 Mesa 23.1.2-1~mx23ahs 
           direct render: Yes 
Audio:     Device-1: Intel driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl 
           bus-ID: 00:1f.3 chip-ID: 8086:51ca class-ID: 0401 
           Device-2: Dell DELL Slim Soundbar SB521A type: USB driver: snd-usb-audio 
           bus-ID: 1-6.3:6 chip-ID: 413c:a510 class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k6.4.0-2mx-ahs-amd64 running: yes 
           Sound Server-2: PulseAudio v: 16.1 running: yes 
           Sound Server-3: PipeWire v: 0.3.65 running: yes 
Network:   Device-1: Intel driver: iwlwifi v: kernel modules: wl port: 3000 bus-ID: 00:14.3 
           chip-ID: 8086:51f1 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Intel Ethernet I226-V driver: igc v: kernel port: efa0 bus-ID: 56:00.0 
           chip-ID: 8086:125c class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 
           bus-ID: 4-1.2:4 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter> 
           IF: eth1 state: down mac: <filter> 
           IF-ID-1: lxcbr0 state: down mac: <filter> 
           IF-ID-2: wwan0 state: down mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-10:4 chip-ID: 8087:0033 
           class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff 
           link-mode: peripheral accept 
           service-classes: rendering, capturing, object transfer, audio, telephony 
Drives:    Local Storage: total: 1.82 TiB used: 394.09 GiB (21.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WDS100T1X0E-00AFY0 
           size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: 614900WD temp: 45.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Crucial model: CT1000MX500SSD1 
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: SSD serial: <filter> 
           rev: M3CR scheme: MBR 
Partition: ID-1: / raw-size: 195.31 GiB size: 191.69 GiB (98.14%) used: 36.16 GiB (18.9%) fs: ext4 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-2: /boot/efi raw-size: 1000 MiB size: 252 MiB (25.20%) used: 37.5 MiB (14.9%) 
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
           ID-3: /home raw-size: 585.94 GiB size: 575.67 GiB (98.25%) used: 357.89 GiB (62.2%) 
           fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 37.11 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p3 maj-min: 259:3 
Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 3633 note: see --pkg apt: 3601 lib: 2072 flatpak: 13 snap: 19 
           Active apt repos in: /etc/apt/sources.list 
           1: deb http://www.deb-multimedia.org/ bookworm main
           2: deb https://dl.winehq.org/wine-builds/debian/ bookworm main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bookworm-updates non-free-firmware contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bookworm non-free-firmware contrib main
           2: deb http://security.debian.org/debian-security/ bookworm-security non-free-firmware contrib main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/insync.list 
           1: deb http://apt.insync.io/debian/ bookworm non-free contrib
           Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list 
           1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mirror.eu.oneandone.net/linux/distributions/mx/packages/mx/repo/ bookworm non-free main
           2: deb https://mirror.eu.oneandone.net/linux/distributions/mx/packages/mx/repo/ bookworm ahs
           Active apt repos in: /etc/apt/sources.list.d/onedrive.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/obs-onedrive.gpg] https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/Debian_12/ ./
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https://deb.opera.com/opera-stable/ stable non-free
           No active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 458 Uptime: 44m wakeups: 11 Memory: 30.84 GiB used: 7.28 GiB (23.6%) 
           Init: systemd v: 252 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 12.2.0 
           alt: 10/12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.06 
Boot Mode: UEFI

I can connect and use both a Bluetooth mouse and a Bluetooth keyboard (Apple aluminum).
Unfortunately, after a reboot, when the login window appears, only the Bluetooth mouse works, the connection to the Bluetooth keyboard is gone and I have to use another USB keyboard to log in. After that I can connect the Bluetooth keyboard again without any problems.

How can I connect the bluetooth keyboard permanently so that it is also available during a reboot?
Thanks in advance to those "in the know".

User avatar
FullScale4Me
Posts: 1121
Joined: Fri Jan 08, 2021 11:30 pm

Re: Permanent Bluetooth connection

#2 Post by FullScale4Me »

Have you marked your BT Keyboard 'trusted' in the Bluetooth Manager?
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

kohlhaas
Posts: 22
Joined: Mon Jul 18, 2022 8:44 am

Re: Permanent Bluetooth connection

#3 Post by kohlhaas »

Thank you, but i did.

Charlie Brown

Re: Permanent Bluetooth connection

#4 Post by Charlie Brown »

Code: Select all

sudo nano /etc/bluetooth/main.conf

Uncomment (if commented) and turn it to true (if it's not):

Code: Select all

AutoEnable=true
(which's already so by default)


If still not: Uncomment the two:

Code: Select all

ReconnectAttempts=7
DiscoverableTimeout = 0
Save, exit, reboot.


(Tip: You can uncomment/comment the line simply with Alt+3 )

kohlhaas
Posts: 22
Joined: Mon Jul 18, 2022 8:44 am

Re: Permanent Bluetooth connection

#5 Post by kohlhaas »

Thank you very much!
The tip with the "AutoEnable=true" worked. 9_9 9_9 9_9
The keyboard is now - with a small delay - already connected at login.

Charlie Brown

Re: Permanent Bluetooth connection

#6 Post by Charlie Brown »

:number1:

Post Reply

Return to “Bugs and Non-Package Requests Forum”