Repository: pwr-Solaar/Solaar

Issue:
Logitech G Powerplay is reported as "Candy Companion Chip"
**Information**
I have an "Logitech G Powerplay" MousePad:

- https://www.logitechg.com/en-us/products/gaming-mouse-pads/powerplay-wireless-charging.943-000109.html?sp=1&searchclick=gaming

and an G502 Mouse:

- https://www.logitechg.com/en-us/products/gaming-mice/g502-lightspeed-wireless-gaming-mouse.910-005565.html?sp=2&searchclick=gaming

the "Logitech G Powerplay" MousePad is wrongly detected as "Candy Companion Chip" and shows a icon of an touchpad or similar.

- Solaar version (current master): 1.1.10-27-g67b883ac 
- Distribution: Archlinux
- Kernel version (ex. `uname -srmo`): Linux 6.7.0-arch3-1 x86_64 GNU/Linux

<details>

```
00:47 [chrys@blackbeast ~] :) $ solaar show
solaar version 1.1.10-27-g67b883ac

Lightspeed Empfänger
  Device path  : /dev/hidraw7
  USB id       : 046d:C53A
  Serial       : 9E839C2A
    Firmware   : 40.03.B0014
    Bootloader : 02.09
    Other      : AA.CA
  Has 2 paired device(s) out of a maximum of 1.
  Notifications: wireless, software present (0x000900)
  Device activity counters: (empty)

  1: G502 Gaming Mouse
     Device path  : /dev/hidraw8
     WPID         : 407F
     Codename     : G502
     Kind         : mouse
     Protocol     : HID++ 4.2
     Polling rate : 1 ms (1000Hz)
     Serial number: 04ECAFEA
     Model ID:      407FC08D0000
     Unit ID:       04ECAFEA
        Bootloader: BOT 92.00.B0008
          Firmware: MPM 17.00.B0008
             Other: 
     The power switch is located on the base.
     Supports 30 HID++ 2.0 features:
         0: ROOT                   {0000} V0     
         1: FEATURE SET            {0001} V0     
         2: DEVICE FW VERSION      {0003} V2     
            Firmware: Bootloader BOT 92.00.B0008 AAEF21F1FA5F
            Firmware: Firmware MPM 17.00.B0008 407F21F1FA5F
            Firmware: Other   
            Unit ID: 04ECAFEA  Model ID: 407FC08D0000  Transport IDs: {'wpid': '407F', 'usbid': 'C08D'}
         3: DEVICE NAME            {0005} V0     
            Name: G502 LIGHTSPEED Wireless Gaming Mouse
            Kind: mouse
         4: WIRELESS DEVICE STATUS {1D4B} V0     
         5: CONFIG CHANGE          {0020} V0     
         6: BATTERY VOLTAGE        {1001} V2     
            Battery: 90% 4090mV , slow recharge.
         7: COLOR LED EFFECTS      {8070} V4     
         8: LED CONTROL            {1300} V0     
         9: ONBOARD PROFILES       {8100} V0     
            Device Mode: On-Board
            Onboard-Profile (saved): Enable
            Onboard-Profile        : Enable
        10: MOUSE BUTTON SPY       {8110} V0     
        11: REPORT RATE            {8060} V0     
            Polling Rate (ms): 1
            Abtastrate (ms) (saved): 1
            Abtastrate (ms)        : 1
        12: ADJUSTABLE DPI         {2201} V1     
            Empfindlichkeit (DPI) (saved): 800
            Empfindlichkeit (DPI)        : 800
        13: DEVICE RESET           {1802} V0    internal, hidden 
        14: unknown:1803           {1803} V0    internal, hidden 
        15: OOBSTATE               {1805} V0    internal, hidden 
        16: CONFIG DEVICE PROPS    {1806} V4    internal, hidden 
        17: unknown:1811           {1811} V0    internal, hidden 
        18: unknown:1830           {1830} V0    internal, hidden 
        19: unknown:1890           {1890} V4    internal, hidden 
        20: unknown:1891           {1891} V4    internal, hidden 
        21: unknown:18A1           {18A1} V0    internal, hidden 
        22: unknown:1801           {1801} V0    internal, hidden 
        23: unknown:18B1           {18B1} V0    internal, hidden 
        24: unknown:1DF3           {1DF3} V0    internal, hidden 
        25: unknown:1E00           {1E00} V0    hidden 
        26: unknown:1EB0           {1EB0} V0    internal, hidden 
        27: unknown:1863           {1863} V0    internal, hidden 
        28: unknown:1E22           {1E22} V0    internal, hidden 
        29: HIRES WHEEL            {2121} V0     
            Multiplier: 8
            Has invert: Normal wheel motion
            Has ratchet switch: Normal wheel mode
            High resolution mode
            HID notification
            Mausrad-Scroll-Richtung (saved): False
            Mausrad-Scroll-Richtung        : False
            Auflösung für Mausrad-Scrollen (saved): True
            Auflösung für Mausrad-Scrollen        : True
            Mausrad Umleitung (saved): False
            Mausrad Umleitung        : False
     Battery: 90% 4090mV , slow recharge.

Lightspeed Empfänger
  Device path  : /dev/hidraw4
  USB id       : 046d:C547
  Serial       : 1F5D7607
    Firmware   : 04.02.B0009
    Bootloader : 02.09
    Other      : C3.0C
  Has 1 paired device(s) out of a maximum of 2.
  Notifications: wireless, software present (0x000900)
  Device activity counters: 1=13

solaar: error: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/solaar/cli/show.py", line 87, in _print_device
    dev.ping()
  File "/usr/lib/python3.11/site-packages/logitech_receiver/device.py", line 458, in ping
    protocol = _base.ping(self.handle or self.receiver.handle, self.number, long_message=long)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 541, in ping
    raise NoSuchDevice(number=devnumber, request=request_id)
logitech_receiver.base.NoSuchDevice: {'number': 1, 'request': 30}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/solaar/cli/__init__.py", line 211, in run
    m.run(c, args, _find_receiver, _find_device)
  File "/usr/lib/python3.11/site-packages/solaar/cli/show.py", line 301, in run
    _print_device(dev)
  File "/usr/lib/python3.11/site-packages/solaar/cli/show.py", line 89, in _print_device
    print('  %d: Device not found' % num or dev.number)
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
TypeError: %d format: a real number is required, not NoneType


```
</details>

- Contents of `~/.config/solaar/config.yaml` (or `~/.config/solaar/config.json` if `~/.config/solaar/config.yaml` not present):

<details>

```
CONTENTS HERE
```
</details>


- Errors or warrnings from Solaar:

<details>

```
00:52 [chrys@blackbeast ~] :( $ solaar -dd
2024-01-23 00:52:55,835,835     INFO [MainThread] root: version 1.1.10-27-g67b883ac, language de_DE (UTF-8)
2024-01-23 00:52:55,945,945     INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up
2024-01-23 00:52:55,946,946    ERROR [MainThread] logitech_receiver.diversion: failed to load from /home/chrys/.config/solaar/rules.yaml
expected '<document start>', but found '<stream end>'
  in "/home/chrys/.config/solaar/rules.yaml", line 2, column 1
2024-01-23 00:52:55,958,958     INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events
2024-01-23 00:52:56,051,051     INFO [MainThread] solaar.ui.notify: starting desktop notifications
2024-01-23 00:52:56,227,227     INFO [MainThread] solaar.listener: starting receiver listening threads
2024-01-23 00:52:56,346,346     INFO [MainThread] hidapi.udev: Found device /dev/hidraw7 BID 0003 VID 0000046D PID 0000C53A HID++ True True USB 2 2
2024-01-23 00:52:56,346,346     INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw7', bus_id=3, vendor_id='046D', product_id='C53A', interface=2, driver='logitech-djreceiver', manufacturer=None, product=None, serial='', release=None, isDevice=None, hidpp_short=True, hidpp_long=True)
2024-01-23 00:52:56,346,346     INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw7
2024-01-23 00:52:56,346,346     INFO [MainThread] logitech_receiver.base: New lock 14
2024-01-23 00:52:56,349,349     INFO [ReceiverListener:hidraw7] logitech_receiver.listener: started with <LightspeedEmpfänger(/dev/hidraw7,14)> (14)
2024-01-23 00:52:56,349,349     INFO [ReceiverListener:hidraw7] solaar.listener: <LightspeedEmpfänger(/dev/hidraw7,14)>: notifications listener has started (14)
2024-01-23 00:52:56,349,349     INFO [ReceiverListener:hidraw7] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw7)>
2024-01-23 00:52:56,353,353     INFO [MainThread] hidapi.udev: Found device /dev/hidraw4 BID 0003 VID 0000046D PID 0000C547 HID++ True True USB 2 2
2024-01-23 00:52:56,354,354     INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw4', bus_id=3, vendor_id='046D', product_id='C547', interface=2, driver='hid-generic', manufacturer=None, product=None, serial='', release=None, isDevice=None, hidpp_short=True, hidpp_long=True)
2024-01-23 00:52:56,354,354     INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw4
2024-01-23 00:52:56,412,412     INFO [MainThread] logitech_receiver.base: New lock 15
2024-01-23 00:52:56,414,414     INFO [ReceiverListener:hidraw4] logitech_receiver.listener: started with <LightspeedEmpfänger(/dev/hidraw4,15)> (15)
2024-01-23 00:52:56,414,414     INFO [ReceiverListener:hidraw4] solaar.listener: <LightspeedEmpfänger(/dev/hidraw4,15)>: notifications listener has started (15)
2024-01-23 00:52:56,414,414     INFO [ReceiverListener:hidraw4] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw4)>
2024-01-23 00:52:56,415,415     INFO [ReceiverListener:hidraw7] logitech_receiver.receiver: <LightspeedEmpfänger(/dev/hidraw7,14)>: receiver notifications enabled => ('wireless', 'software present')
2024-01-23 00:52:56,418,418     INFO [MainThread] hidapi.udev: Found device /dev/hidraw12 BID 0003 VID 0000046D PID 0000C33E HID++ True True USB 2 None
2024-01-23 00:52:56,418,418     INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw12', bus_id=3, vendor_id='046D', product_id='C33E', interface=2, driver='hid-generic', manufacturer=None, product=None, serial='F884A26E', release=None, isDevice=True, hidpp_short=True, hidpp_long=True)
2024-01-23 00:52:56,418,418     INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw12
2024-01-23 00:52:56,420,420     INFO [ReceiverListener:hidraw4] logitech_receiver.receiver: <LightspeedEmpfänger(/dev/hidraw4,15)>: receiver notifications enabled => ('wireless', 'software present')
2024-01-23 00:52:56,422,422     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed for unknown device
2024-01-23 00:52:56,436,436     INFO [ReceiverListener:hidraw7] hidapi.udev: OPEN PATH /dev/hidraw8
2024-01-23 00:52:56,476,476     INFO [ReceiverListener:hidraw12] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw12)>
2024-01-23 00:52:56,476,476     INFO [ReceiverListener:hidraw12] logitech_receiver.listener: started with <Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)> (16)
2024-01-23 00:52:56,478,478     INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device
2024-01-23 00:52:56,481,481     INFO [ReceiverListener:hidraw7] logitech_receiver.receiver: <LightspeedEmpfänger(/dev/hidraw7,14)>: found new device 1 (407F)
2024-01-23 00:52:56,510,510     INFO [ReceiverListener:hidraw12] solaar.listener: <Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)>: notifications listener has started (16)
2024-01-23 00:52:56,510,510     INFO [ReceiverListener:hidraw7] logitech_receiver.base: New lock 17
2024-01-23 00:52:56,517,517     INFO [ReceiverListener:hidraw12] solaar.listener: status_changed <Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)>: paired online, {'NOTIFICATION FLAGS': False} (0) 
2024-01-23 00:52:56,522,522     INFO [ReceiverListener:hidraw7] solaar.listener: connection Notification(10,1,41,0C,327F40) for <Device(1,407F,G502 Gaming Mouse,04ECAFEA)>
2024-01-23 00:52:56,526,526     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed for unknown device
2024-01-23 00:52:56,531,531     INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw12
2024-01-23 00:52:56,595,595     INFO [ReceiverListener:hidraw12] solaar.listener: status_changed <Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)>: paired online, {'NOTIFICATION FLAGS': False, 'BATTERY LEVEL': 60, 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': 3861, 'BATTERY CHARGING': True, 'ERROR': None} (0) 
2024-01-23 00:52:56,599,599     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed <Device(1,407F,G502 Gaming Mouse,04ECAFEA)>: paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(4, 'slow recharge'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': 4090, 'BATTERY CHARGING': True, 'ERROR': None} (0) 
2024-01-23 00:52:56,666,666     INFO [ReceiverListener:hidraw7] logitech_receiver.status: <Device(1,407F,G502 Gaming Mouse,04ECAFEA)> pushing device settings [<Setting([Feature:toggle] G502:hires-smooth-invert=None)>, <Setting([Feature:toggle] G502:hires-smooth-resolution=None)>, <Setting([Feature:toggle] G502:hires-scroll-mode=None)>, <Setting([Feature:choice] G502:onboard_profiles=None)>, <Setting([Feature:choice] G502:report_rate=None)>, <Setting([Feature:choice] G502:dpi=None)>]
2024-01-23 00:52:56,675,675     INFO [ReceiverListener:hidraw12] logitech_receiver.status: <Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)> pushing device settings [<Setting([Feature:choice] G915:onboard_profiles=None)>, <Setting([Feature:choice] G915:report_rate=None)>, <Setting([Feature:map choice] G915:divert-keys=None)>, <Setting([Feature:toggle] G915:divert-gkeys=None)>, <Setting([Feature:multiple toggle] G915:m-key-leds=None)>, <Setting([Feature:toggle] G915:mr-key-led=None)>, <Setting([Feature:choice] G915:change-host=None)>]
2024-01-23 00:52:56,684,684     INFO [AsyncUI] hidapi.udev: OPEN PATH /dev/hidraw12
2024-01-23 00:52:56,692,692    ERROR [ReceiverListener:hidraw12] logitech_receiver.base: (16) device 255 error on feature request {1529}: 2 = invalid argument
2024-01-23 00:52:56,692,692  WARNING [ReceiverListener:hidraw12] logitech_receiver.settings: report_rate: error applying value 1 so ignore it (<Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)>)
2024-01-23 00:52:56,743,743     INFO [ReceiverListener:hidraw12] solaar.listener: status_changed <Device(255,C33E,G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD,)>: paired online, {'NOTIFICATION FLAGS': False, 'BATTERY LEVEL': 60, 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': 3861, 'BATTERY CHARGING': True, 'ERROR': None} (0) initialization
2024-01-23 00:52:56,879,879    ERROR [ReceiverListener:hidraw7] logitech_receiver.base: (17) device 1 error on feature request {0B2A}: 2 = invalid argument
2024-01-23 00:52:56,879,879  WARNING [ReceiverListener:hidraw7] logitech_receiver.settings: report_rate: error applying value 1 so ignore it (<Device(1,407F,G502 Gaming Mouse,04ECAFEA)>)
2024-01-23 00:52:56,894,894     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed <Device(1,407F,G502 Gaming Mouse,04ECAFEA)>: paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(4, 'slow recharge'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': 4090, 'BATTERY CHARGING': True, 'ERROR': None} (0) 
2024-01-23 00:52:56,914,914     INFO [ReceiverListener:hidraw7] hidapi.udev: OPEN PATH /dev/hidraw9
2024-01-23 00:52:56,916,916     INFO [ReceiverListener:hidraw7] logitech_receiver.receiver: <LightspeedEmpfänger(/dev/hidraw7,14)>: found new device 7 (405F)
2024-01-23 00:52:56,916,916     INFO [ReceiverListener:hidraw7] logitech_receiver.base: New lock 30
2024-01-23 00:52:56,920,920     INFO [ReceiverListener:hidraw7] solaar.listener: connection Notification(10,7,41,0C,B95F40) for <Device(7,405F,Candy companion chip,9E839C2A)>
2024-01-23 00:52:56,947,947     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed for unknown device
2024-01-23 00:52:56,956,956     INFO [ReceiverListener:hidraw7] logitech_receiver.device: <Device(7,405F,Candy companion chip,9E839C2A)>: unitId 32324711 does not match serial 9E839C2A
2024-01-23 00:52:56,956,956     INFO [ReceiverListener:hidraw7] logitech_receiver.status: <Device(7,405F,Candy companion chip,9E839C2A)> pushing device settings []
2024-01-23 00:52:56,964,964     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed <Device(7,405F,Candy companion chip,9E839C2A)>: paired online, {'LINK ENCRYPTED': True} (0) 
2024-01-23 00:52:56,980,980     INFO [ReceiverListener:hidraw7] solaar.listener: connection Notification(10,1,41,0C,B27F40) for <Device(1,407F,G502 Gaming Mouse,04ECAFEA)>
2024-01-23 00:52:56,980,980     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed for unknown device
2024-01-23 00:52:56,988,988     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed <Device(1,407F,G502 Gaming Mouse,04ECAFEA)>: paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(4, 'slow recharge'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': 4090, 'BATTERY CHARGING': True, 'ERROR': None} (0) 
2024-01-23 00:52:57,002,002     INFO [ReceiverListener:hidraw7] solaar.listener: connection Notification(10,7,41,0C,B95F40) for <Device(7,405F,Candy companion chip,9E839C2A)>
2024-01-23 00:52:57,002,002     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed for unknown device
2024-01-23 00:52:57,006,006     INFO [ReceiverListener:hidraw7] solaar.listener: status_changed <Device(7,405F,Candy companion chip,9E839C2A)>: paired online, {'LINK ENCRYPTED': True} (0) 
2024-01-23 00:52:57,517,517     INFO [ReceiverListener:hidraw4] logitech_receiver.receiver: <LightspeedEmpfänger(/dev/hidraw4,15)>: found new device 1 (407C)
2024-01-23 00:52:57,520,520    ERROR [ReceiverListener:hidraw4] logitech_receiver.base: (15) device 1 error on ping request: unknown device
2024-01-23 00:52:57,520,520     INFO [ReceiverListener:hidraw4] solaar.listener: connection Notification(10,1,41,11,717C40) for unknown device, number 1
2024-01-23 00:52:57,520,520     INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device
2024-01-23 00:52:57,523,523    ERROR [ReceiverListener:hidraw4] logitech_receiver.base: (15) device 1 error on ping request: unknown device
2024-01-23 00:52:57,523,523     INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device
2024-01-23 00:52:57,523,523     INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw4
2024-01-23 00:52:57,526,526    ERROR [MainThread] logitech_receiver.base: (21) device 1 error on ping request: unknown device
2024-01-23 00:52:57,529,529    ERROR [MainThread] logitech_receiver.base: (21) device 1 error on ping request: unknown device
2024-01-23 00:52:57,532,532    ERROR [MainThread] logitech_receiver.base: (21) device 1 error on ping request: unknown device
2024-01-23 00:52:57,535,535    ERROR [MainThread] logitech_receiver.base: (21) device 1 error on ping request: unknown device
```
</details>

**Describe the bug**
 Logitech G Powerplay is reported as "Candy Companion Chip"

**To Reproduce**
Steps to reproduce the behavior:
I just plug my devices in.
i just recognized that "solaar show" throws an trace as well

**Screenshots**
The Tray:
![image](https://github.com/pwr-Solaar/Solaar/assets/13770812/76901538-0529-4311-92ac-465a9331ba1d)
Window:
![image](https://github.com/pwr-Solaar/Solaar/assets/13770812/de3ee213-e0f5-40a7-825a-41cf02ed21ea)


**Additional context**
this seems to be the device itentification on ratbag
https://github.com/libratbag/libratbag/blob/master/data/devices/logitech-g-powerplay.device




Discussion:
There is a bug in `solaar show` that should be fixed in PR #2224.    Please download and run `solaar show` in this patch.  If there are any errors, also run `solaar -ddd show`.


To clone and use Solar from its GitHub repository
```
git clone https://github.com/pwr-Solaar/Solaar.git
cd Solaar
```
Run Solaar as bin/solaar from this directory.


To run PR #2224, first clone Solaar if you have not already done so and cd to the clone directory.  The first time you download the pull request, fetch it into a new branch and checkout that branch, as in:
```
git fetch origin pull/2224/head:pull_2224
git checkout pull_2224
```
To download a new version of the pull request, fetch it and then set your pull branch to the new fetch, as in:
```
git checkout pull_2224
git fetch origin pull/2224/head
git reset --hard FETCH_HEAD
```

Some receivers have an extra "device" connected to them - the chip - which talks HID++.  Solaar doesn't have any good way of determining that this chip isn't a real device.

The errors in the output of `solaar -ddd` need some more investigation.

What are the contents of your rules.yaml file?  Solaar is complaining about it.
It just shows up the yaml version
```
09:40 [chrys@blackbeast ~] :( $ cat /home/chrys/.config/solaar/rules.yaml 
%YAML 1.3
09:40 [chrys@blackbeast ~] :) $ 
```
Hmm.  That looks like a separate bug in Solaar.  I've created #2225 for this.
Do you have output from PR #2224?
OK, the benign error when loading the rules file should be fixed in #2224.  Please give it a try.

Resolving patch:
diff --git a/lib/logitech_receiver/descriptors.py b/lib/logitech_receiver/descriptors.py
--- a/lib/logitech_receiver/descriptors.py
+++ b/lib/logitech_receiver/descriptors.py
@@ -321,6 +321,7 @@ class _PerformanceMXDpi(_ST.RegisterDpi):
 
 _D('Wireless Touchpad', codename='Wireless Touch', protocol=2.0, wpid='4011')
 _D('Wireless Rechargeable Touchpad T650', codename='T650', protocol=2.0, wpid='4101')
+_D('G Powerplay', codename='Powerplay', protocol=2.0, kind=_DK.touchpad, wpid='405F')  # To override self-identification
 
 # Headset
 


Test patch: