Linux uses xinput-- list-- short to discover that pointer displays two mouse devices with the same name?

how can I change the speed of the mouse?

[root@localhost ~]-sharp xinput list
 Virtual core pointer                        id=2    [master pointer  (3)]
    Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
    Logitech USB Keyboard                       id=9    [slave  pointer  (2)]
    Logitech G102 Prodigy Gaming Mouse          id=10    [slave  pointer  (2)]
    Logitech G102 Prodigy Gaming Mouse          id=11    [slave  pointer  (2)]
 Virtual core keyboard                       id=3    [master keyboard (2)]
     Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
     Power Button                                id=6    [slave  keyboard (3)]
     Power Button                                id=7    [slave  keyboard (3)]
     Logitech USB Keyboard                       id=8    [slave  keyboard (3)]
[root@localhost ~]-sharp xinput --set-prop "pointer:Logitech G102 Prodigy Gaming Mouse" "Device Accel Velocity Scalling" 5
Warning: There are multiple devices matching "pointer:Logitech G102 Prodigy Gaming Mouse".
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 pointer:Logitech G102 Prodigy Gaming Mouse
[root@localhost ~]-sharp 
Mar.04,2021

xinput usage: xinput set-prop < device > < property > < val >
where device can use a name or device ID,. Because you have two names of the same name here, you can definitely not use a name, so use ID;property can be a name or an Atom value (also a number). Check the method by xinput list-props < device >

Menu