Bluetooth mouse is identified as a keyboard
- Ubuntu 23/24
- UPower 1.90.3
Upower recognises my bluetooth mouse as a keyboard when a bluetooth keyboard is also connected. The mouse is identified correct if the keyboard is not connected.
With keyboard connected
$ upower -d
Device: /org/freedesktop/UPower/devices/keyboard_dev_DE_F9_E0_17_22_84
native-path: /org/bluez/hci0/dev_DE_F9_E0_17_22_84
model: MX Keys Mini
serial: DE:F9:E0:17:22:84
power supply: no
updated: 2024-04-27T09:52:18 CEST (3554 seconds ago)
has history: yes
has statistics: no
keyboard
present: yes
rechargeable: no
state: unknown
warning-level: none
percentage: 50%
icon-name: 'battery-missing-symbolic'
Device: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
native-path: hidpp_battery_0
model: MX Master 3S M
serial: d2:1e:0e:6b:13:c4
power supply: no
updated: 2024-04-27T10:51:32 CEST (0 seconds ago)
has history: yes
has statistics: yes
keyboard
present: yes
rechargeable: yes
state: discharging
warning-level: none
percentage: 20%
icon-name: 'battery-caution-symbolic'
$ udevadm info --export-db
P: /devices/virtual/misc/uhid/0005:046D:B034.0003/input/input21
M: input21
R: 21
U: input
E: DEVPATH=/devices/virtual/misc/uhid/0005:046D:B034.0003/input/input21
E: SUBSYSTEM=input
E: PRODUCT=5/46d/b034/3
E: NAME="Logitech MX Master 3S For Mac"
E: PHYS="c0:e4:34:56:d8:c4"
E: UNIQ="d2:1e:0e:6b:13:c7"
E: PROP=0
E: EV=17
E: KEY=ffff0000 0 0 0 0
E: REL=1943
E: MSC=10
E: MODALIAS=input:b0005v046DpB034e0003-e0,1,2,4,k110,111,112,113,114,115,116,117,118,119,11A,11B,11C,11D,11E,11F,r0,1,6,8,B,C,am4,lsfw
E: USEC_INITIALIZED=105435493
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_BUS=bluetooth
E: TAGS=:seat:
E: CURRENT_TAGS=:seat:
P: /devices/virtual/misc/uhid/0005:046D:B369.0004/input/input22
M: input22
R: 22
U: input
E: DEVPATH=/devices/virtual/misc/uhid/0005:046D:B369.0004/input/input22
E: SUBSYSTEM=input
E: PRODUCT=5/46d/b369/7
E: NAME="MX Keys Mini Keyboard"
E: PHYS="c0:e4:34:56:d8:c4"
E: UNIQ="de:f9:e0:17:22:85"
E: PROP=0
E: EV=12001f
E: KEY=3f00033fff 0 0 483ffff17aff32d bfd4444600000000 1 130ff38b17d007 ffe77bfad9415fff ffbeffdfffefffff fffffffffffffffe
E: REL=1040
E: ABS=100000000
E: MSC=10
E: LED=1f
E: MODALIAS=input:b0005v046DpB369e0007-e0,1,2,3,4,11,14,k71,72,73,74,75,77,78,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8B,8C,8E,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,A9,AB,>
E: USEC_INITIALIZED=184828422
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_BUS=bluetooth
E: TAGS=:seat:
E: CURRENT_TAGS=:seat:
Without keyboard connected
$ upower -d
Device: /org/freedesktop/UPower/devices/battery_hidpp_battery_2
native-path: hidpp_battery_2
model: MX Master 3S M
serial: d2:1e:0e:6b:13:c7
power supply: no
updated: 2024-04-27T11:27:58 CEST (1 seconds ago)
has history: yes
has statistics: yes
mouse
present: yes
rechargeable: yes
state: discharging
warning-level: none
percentage: 20%
icon-name: 'battery-caution-symbolic'
History (charge):
1714210078 20,000 discharging
1714210078 0,000 unknown
History (rate):
1714210078 0,000 unknown
$ udevadm info --export-db
P: /devices/virtual/misc/uhid/0005:046D:B034.0007/input/input27
M: input27
R: 27
U: input
E: DEVPATH=/devices/virtual/misc/uhid/0005:046D:B034.0007/input/input27
E: SUBSYSTEM=input
E: PRODUCT=5/46d/b034/3
E: NAME="Logitech MX Master 3S For Mac"
E: PHYS="c0:e4:34:56:d8:c4"
E: UNIQ="d2:1e:0e:6b:13:c7"
E: PROP=0
E: EV=17
E: KEY=ffff0000 0 0 0 0
E: REL=1943
E: MSC=10
E: MODALIAS=input:b0005v046DpB034e0003-e0,1,2,4,k110,111,112,113,114,115,116,117,118,119,11A,11B,11C,11D,11E,11F,r0,1,6,8,B,C,am4,lsfw
E: USEC_INITIALIZED=1741856518
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_BUS=bluetooth
E: TAGS=:seat:
E: CURRENT_TAGS=:seat: