You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

Ubuntu 22.04 罗技K380蓝牙键盘按键延迟/重复问题求助

Ubuntu 22.04 罗技K380蓝牙键盘按键延迟/重复问题求助

问题描述

我用Ubuntu 22.04已经有几个月了,罗技K380蓝牙键盘一直都表现得很完美。但最近几天开始出现按键延迟或者重复输入的情况,而且延迟程度时大时小,没有固定规律。

我特意把这个键盘拿到另一台装了MacOSX的笔记本上测试,完全没问题;同时这台Ubuntu笔记本的自带键盘也工作正常,说明问题应该出在Ubuntu和这个蓝牙键盘的适配上面。

其他相关信息

  • 我日常用的红米Airdots 3蓝牙耳机工作完全正常
  • 另外两款蓝牙耳机连接这台Ubuntu机器也没有任何问题
  • 这个K380键盘在这台Ubuntu机器上已经用了好几个月,之前用Ubuntu 20.04的时候也没出过类似问题

已尝试的解决方法

目前我只尝试了卸载并重装蓝牙相关组件,具体操作命令如下:

sudo apt-get remove --purge bluetooth
sudo apt-get remove --purge gnome-bluetooth
sudo apt-get remove --purge bluez
sudo apt-get remove --purge bluez-tools
sudo apt autoremove
sudo rm -rf /var/lib/bluetooth/
sudo rm -rf /etc/bluetooth

执行完这些命令后我重启了电脑,再重新安装了刚才卸载的所有包,但问题依然存在。

系统信息

hciconfig -a 输出

hci0:   Type: Primary  Bus: USB
BD Address: 00:45:E2:97:44:30  ACL MTU: 1021:6  SCO MTU: 255:12
UP RUNNING PSCAN ISCAN INQUIRY
RX bytes:143499 acl:4353 sco:0 events:4000 errors:0
TX bytes:913247 acl:1381 sco:0 commands:1795 errors:0
Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: PERIPHERAL ACCEPT
Name: 'dev-ubuntu'
Class: 0x6e010c
Service Classes: Networking, Rendering, Capturing, Audio, Telephony
Device Class: Computer, Laptop
HCI Version: 5.1 (0xa)  Revision: 0x19b7
LMP Version: 5.1 (0xa)  Subversion: 0x6d7d
Manufacturer: Realtek Semiconductor Corporation (93)

sudo service bluetooth status 输出

● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-05-08 19:39:17 -03; 1min 2s ago
Docs: man:bluetoothd(8)
Main PID: 14828 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 11680)
Memory: 956.0K
CPU: 129ms
CGroup: /system.slice/bluetooth.service
└─14828 /usr/lib/bluetooth/bluetoothd

mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSink/sbc
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSource/sbc
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSink/sbc_xq_453
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSource/sbc_xq_453
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSink/sbc_xq_512
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSource/sbc_xq_512
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSink/sbc_xq_552
mai 08 19:39:17 dev-ubuntu bluetoothd[14828]: Endpoint registered: sender=:1.171 path=/MediaEndpoint/A2DPSource/sbc_xq_552
mai 08 19:39:17 dev-ubuntu systemd[1]: Started Bluetooth service.
mai 08 19:39:43 dev-ubuntu bluetoothd[14828]: /org/bluez/hci0/dev_9C_19_C2_23_31_FF/sep2/fd0: fd(30) ready

bt-device -l 输出

Added devices:
Keyboard K380 (F4:73:35:5A:54:B3)
Redmi AirDots 3 (9C:19:C2:23:31:FF)

bluetoothctl --version 输出

bluetoothctl: 5.64

备注:内容来源于stack exchange,提问作者Reginaldo Boeke

火山引擎 最新活动