在尝试使用 Kubuntu 和 NobaraOS进行双启动时,我调整了主 Kubuntu 分区的大小以获得更多空间,并删除了其他分区,因为无法使其工作。问题就是从那时开始的。当我在重置或睡眠 PC 后登录时,wifi 不会自动连接,最糟糕的是,键盘不工作。如果我忘记了设备并重新配对,我只能连接到它。但这样就不起作用了。如果我断开连接并在重新配对后再次连接,它只会在我输入某些内容时连接,但它不起作用。
sudo btom
输出:
Bluetooth monitor ver 5.72
btmon[144343]: = Note: Linux version 6.8.0-41-generic (x86_64) 0.863664
btmon[144343]: = Note: Bluetooth subsystem version 2.22 0.863666
= New Index: C8:CB:9E:45:0D:70 (Primary,USB,hci0) [hci0] 0.863667
= Open Index: C8:CB:9E:45:0D:70 [hci0] 0.863667
= Index Info: C8:CB:9E:45:0D:70 (Intel Corp.) [hci0] 0.863668
bluetoothd[1329]: @ MGMT Open: bluetoothd (privileged) version 1.22 {0x0001} 0.863668
> HCI Event: LE Meta Event (0x3e) plen 44 #1 [hci0] 2.910177
LE Extended Advertising Report (0x0d)
Num reports: 1
Entry 0
Event type: 0x0013
Props: 0x0013
Connectable
Scannable
Use legacy advertising PDUs
Data status: Complete
Legacy PDU Type: ADV_IND (0x0013)
Address type: Random (0x01)
Address: DB:EB:F8:89:54:5D (Static)
Primary PHY: LE 1M
Secondary PHY: No packets
SID: no ADI field (0xff)
TX power: 127 dBm
RSSI: -53 dBm (0xcb)
Periodic advertising interval: 0.00 msec (0x0000)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Data length: 0x12
03 19 c1 03 02 01 06 03 03 12 18 06 ff 06 00 03 ................
00 80 ..
Appearance: Keyboard (0x03c1)
Flags: 0x06
LE General Discoverable Mode
BR/EDR Not Supported
16-bit Service UUIDs (complete): 1 entry
Human Interface Device (0x1812)
Company: Microsoft (6)
Data: 030080
< HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #2 [hci0] 2.910299
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #3 [hci0] 2.912156
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: LE Extended Create Connection (0x08|0x0043) plen 26 #4 [hci0] 2.912270
Filter policy: Accept list is not used (0x00)
Own address type: Public (0x00)
Peer address type: Random (0x01)
Peer address: DB:EB:F8:89:54:5D (Static)
Initiating PHYs: 0x01
Entry 0: LE 1M
Scan interval: 60.000 msec (0x0060)
Scan window: 60.000 msec (0x0060)
Min connection interval: 30.00 msec (0x0018)
Max connection interval: 50.00 msec (0x0028)
Connection latency: 0 (0x0000)
Supervision timeout: 420 msec (0x002a)
Min connection length: 0.000 msec (0x0000)
Max connection length: 0.000 msec (0x0000)
> HCI Event: Command Status (0x0f) plen 4 #5 [hci0] 2.914018
LE Extended Create Connection (0x08|0x0043) ncmd 2
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 31 #6 [hci0] 2.992163
LE Enhanced Connection Complete (0x0a)
Status: Success (0x00)
Handle: 2048
Role: Central (0x00)
Peer address type: Random (0x01)
Peer address: DB:EB:F8:89:54:5D (Static)
Local resolvable private address: 00:00:00:00:00:00 (Non-Resolvable)
Peer resolvable private address: 00:00:00:00:00:00 (Non-Resolvable)
Connection interval: 45.00 msec (0x0024)
Connection latency: 0 (0x0000)
Supervision timeout: 420 msec (0x002a)
Central clock accuracy: 0x00
@ MGMT Event: Device Connected (0x000b) plen 31 {0x0001} [hci0] 2.992222
LE Address: DB:EB:F8:89:54:5D (Static)
Flags: 0x00000008
Connection Locally Initiated
Data length: 18
Appearance: Keyboard (0x03c1)
Flags: 0x06
LE General Discoverable Mode
BR/EDR Not Supported
16-bit Service UUIDs (complete): 1 entry
Human Interface Device (0x1812)
Company: Microsoft (6)
Data: 030080
btmon[144343]: @ RAW Open: btmon (privileged) version 2.22 {0x0002} 2.992424
btmon[144343]: @ RAW Close: btmon {0x0002} 2.992431
> HCI Event: LE Meta Event (0x3e) plen 4 #7 [hci0] 2.992856
LE Channel Selection Algorithm (0x14)
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
Algorithm: #2 (0x01)
< HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2 #8 [hci0] 2.997145
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
> HCI Event: Command Status (0x0f) plen 4 #9 [hci0] 2.997852
LE Read Remote Used Features (0x08|0x0016) ncmd 1
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 12 #10 [hci0] 3.065181
LE Read Remote Used Features (0x04)
Status: Success (0x00)
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
Features: 0x05 0x41 0x00 0x00 0x00 0x00 0x00 0x00
LE Encryption
Extended Reject Indication
LE 2M PHY
Channel Selection Algorithm #2
< HCI Command: LE Start Encryption (0x08|0x0019) plen 28 #11 [hci0] 3.066105
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
Random number: 0x0000000000000000
Encrypted diversifier: 0x0000
Long term key: d791b06ae853105526976c5feb3f9e83
bluetoothd[1329]: = src/service.c:service_accept() input-hog profile accept failed for DB:EB:F8:8.. 3.066387
> HCI Event: Command Status (0x0f) plen 4 #12 [hci0] 3.066893
LE Start Encryption (0x08|0x0019) ncmd 1
Status: Success (0x00)
> HCI Event: Encryption Change (0x08) plen 4 #13 [hci0] 3.334920
Status: PIN or Key Missing (0x06)
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
Encryption: Disabled (0x00)
< HCI Command: Disconnect (0x01|0x0006) plen 3 #14 [hci0] 3.335145
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
Reason: Authentication Failure (0x05)
> HCI Event: Command Status (0x0f) plen 4 #15 [hci0] 3.335883
Disconnect (0x01|0x0006) ncmd 1
Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4 #16 [hci0] 3.425144
Status: Success (0x00)
Handle: 2048 Address: DB:EB:F8:89:54:5D (Static)
Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 3.425340
LE Address: DB:EB:F8:89:54:5D (Static)
Reason: Connection terminated due to authentication failure (0x04)
bluetoothd[1329]: = profiles/deviceinfo/deviceinfo.c:read_pnpid_cb() Error reading PNP_ID value:... 3.425723
< HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 13 #17 [hci0] 3.441333
Own address type: Public (0x00)
Filter policy: Ignore not in accept list (0x01)
PHYs: 0x05
Entry 0: LE 1M
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
Entry 1: LE Coded
Type: Passive (0x00)
Interval: 180.000 msec (0x0120)
Window: 90.000 msec (0x0090)
> HCI Event: Command Complete (0x0e) plen 4 #18 [hci0] 3.441878
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #19 [hci0] 3.442035
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #20 [hci0] 3.442835
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
*我的意思是我进入 KDE 分区管理器并将我的 Ubuntu 分区大小调整为 300gb
有关我的 Linux 的信息:操作系统:Kubuntu 24.04 LTS x86_64 DE:Plasma 5.27.11
我找到了一个解决方案。
注意:我没有重新启动。我只是忘记了键盘,然后重新连接了它。
致谢:https: //github.com/bluez/bluez/issues/531#issuecomment-1913058753