You are not logged in.

#1 2024-04-05 20:30:29

aprilgrimoire
Member
Registered: 2024-02-18
Posts: 16

Bluetooth mouse not showing up in xinput after rebooting

Hi! Today I met a strange problem. My bluetooth mouse paired and connected fine. Initially after pairing, it worked properly as a mouse. However, after rebooting, it no longer worked and didn't show up in xinput. However, it still connects. Any clues? Thanks!

[RAPOO BT MOUSE]# info
Device D1:02:38:20:44:10 (random)
	Name: RAPOO BT MOUSE
	Alias: RAPOO BT MOUSE
	Appearance: 0x03c2 (962)
	Icon: input-mouse
	Paired: yes
	Bonded: yes
	Trusted: no
	Blocked: no
	Connected: yes
	LegacyPairing: no
	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
	UUID: Battery Service           (0000180f-0000-1000-8000-00805f9b34fb)
	UUID: Human Interface Device    (00001812-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (00010203-0405-0607-0809-0a0b0c0d1912)
	Modalias: usb:v248Ap8266d0001
	Battery Percentage: 0x64 (100)

[2947:2941 0:504] 04:29:35 Sat Apr 06 [april@AprilGrimoire-HONOR-laptop: +1] ~ 
(1:504)$ xinput 
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Sino Wealth USB Keyboard Consumer Control	id=10	[slave  pointer  (2)]
⎜   ↳ Sino Wealth USB Keyboard Mouse          	id=12	[slave  pointer  (2)]
⎜   ↳ ELAN2204:00 04F3:31DC Mouse             	id=13	[slave  pointer  (2)]
⎜   ↳ ELAN2204:00 04F3:31DC Touchpad          	id=14	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sino Wealth USB Keyboard                	id=8	[slave  keyboard (3)]
    ↳ Sino Wealth USB Keyboard System Control 	id=9	[slave  keyboard (3)]
    ↳ Sino Wealth USB Keyboard                	id=11	[slave  keyboard (3)]
    ↳ Huawei WMI hotkeys                      	id=15	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=16	[slave  keyboard (3)]
    ↳ Sino Wealth USB Keyboard Consumer Control	id=17	[slave  keyboard (3)]

Edit: seems something is wrong in dmesg:

[  478.373632] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  478.743447] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  478.743465] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.073790] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.073806] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.613438] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.613459] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.613463] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.823426] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  479.823438] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  557.140056] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  557.140065] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  557.140070] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  557.443639] Bluetooth: hci0: ACL packet for unknown connection handle 3804
[  557.443657] Bluetooth: hci0: ACL packet for unknown connection handle 3804

Edit: I applied method suggested in https://wiki.archlinux.org/title/blueto … om_suspend. However, it seems not working.

[5873:2941 0:503] 05:03:59 Sat Apr 06 [april@AprilGrimoire-HONOR-laptop: +1] ~ 
(1:503)$ cat /etc/udev/rules.d/91-mouse-wakeup.rules 
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", ATTRS{idProduct}=="e0df" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup;'"

Last edited by aprilgrimoire (2024-04-05 21:05:33)

Offline

#2 2024-04-05 23:54:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,804

Re: Bluetooth mouse not showing up in xinput after rebooting

There are some known bugs in the BT subsystem in 6.8.2+ kernels, see e.g.: https://bbs.archlinux.org/viewtopic.php?id=294310&p=3 for some bisection kernels with various patches to certain parts

Offline

Board footer

Powered by FluxBB