在Ubuntu 20.04上,蓝牙键盘和鼠标空闲几秒钟后断开连接,在移动时重新连接

分享于 

2分钟阅读

ubuntu

  繁體

问题:

我有一个罗技K850键盘和一个M720 Triathlon鼠标,它们工作正常,但空闲时却无法连接。

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash btusb.enable_autosuspend=n usbcore.autosuspend=-1 usbcore.autosuspend_delay_ms=-1"

这对我不起作用。

bluetoothctl的会话:


root@balearics:~# bluetoothctl


Agent registered


[CHG] Controller 5C:87:9C:35:87:83 Pairable: yes


[M720 Triathlon]# devices


Device C9:58:68:E2:1A:D9 M720 Triathlon


Device DA:95:18:89:C3:30 Keyboard K850


[CHG] Device C9:58:68:E2:1A:D9 ServicesResolved: no


[CHG] Device C9:58:68:E2:1A:D9 Connected: no


[CHG] Device C9:58:68:E2:1A:D9 Connected: yes


[CHG] Device C9:58:68:E2:1A:D9 ServicesResolved: yes


[CHG] Device DA:95:18:89:C3:30 ServicesResolved: no


[CHG] Device DA:95:18:89:C3:30 Connected: no


[CHG] Device DA:95:18:89:C3:30 Connected: yes


[CHG] Device DA:95:18:89:C3:30 ServicesResolved: yes


[M720 Triathlon]#




答案1:

增加IdleTimeout/etc/bluetooth/input.conf或将它设置为0以禁用它。

你还可以尝试在/etc/bluetooth/main.conf中将FastConnectable设置为true,以允许设备在功耗增加的情况下更快地重新连接。

更改后重新启动蓝牙: sudo service bluetooth restart



KEY  type  键盘  disco  蓝牙  Typed  
相关文章