Thursday, February 22, 2024
 Popular · Latest · Hot · Upcoming
rated 0 times [  9] [ 0]  / answers: 1 / hits: 20182  / 1 Year ago, tue, february 7, 2023, 7:11:42

For some reason Logitech's USB receiver shows up twice in xinput list device list:

Logitech USB Receiver         id=13 [slave  pointer  (2)]
Logitech USB Receiver id=14 [slave pointer (2)]

When I try to xinput set-prop "Logitech USB Receiver" "someSetting" n, I of course get:

Warning: There are multiple devices matching 'Logitech USB Receiver'.
To ensure the correct one is selected, please use the device ID, or prefix the
device name with 'pointer:' or 'keyboard:' as appropriate.

unable to find device Logitech USB Receiver

The prefix doesn't help as it is the same device (pointer).

I can use the ID instead, but the problem is that the ID of course changes between startups, so I can't makes this automatic (simple script that on startup sets sensitivies for all my pointing decvices).

So, is it possible to remove the duplicate device, make xinput ignore it or still refer to the device by it's name? If neither of these are possible, then I guess a script would have figure out the IDs (and from those, it seems to be always the smaller one).

The commands I want to use are:

xinput set-prop n "Device Accel Constant Deceleration" 2.4
xinput set-prop n "Device Accel Velocity Scaling" 1

More From » usb


Someone else had a same problem, and someone provided a script solution:

[#29442] Thursday, February 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 134
Total Questions: 117
Total Answers: 133

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago