libratbag / piper

GTK application to configure gaming devices
GNU General Public License v2.0
4.78k stars 177 forks source link

Incompatible ratbagd API version (required: 2, provided:1) error on Void Linux #828

Closed jaamivstheworld closed 1 year ago

jaamivstheworld commented 1 year ago

Information

Describe the bug When I open piper, I get the an error screen saying:

Incompatible ratbagd API version (required: 2, provided:1) Please update both piper and libratbag to the latest versions

I compiled piper from source and libratbag from package available in Void Linux repos.

To Reproduce Please make sure your bug is reproducible with the CLI client, ratbagctl. If it is not open a bug report in libratbag instead.

Steps to reproduce the behavior:

  1. install libratbag
  2. enable libratbag service (ln -s /etc/sv/libratbag /var/service/)
  3. compile piper from source
  4. restart
  5. open piper
  6. see error

Logs Please start the daemon with verbosity and reproduce the issue.

First make sure it isn't running already.

$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: Logitech Gaming Keyboard G213
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c336
ratbag debug: New device: Logitech Gaming Keyboard G213
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c336
ratbag debug: New device: Logitech G502 X
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver hidpp20
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0xffffc099
ratbag debug: Logitech G502 X is device '/dev/hidraw2'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0xffffc099
ratbag debug: Logitech G502 X is device '/dev/hidraw3'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: - HID report ID 01
ratbag debug: - HID report ID 03
ratbag debug: - HID report ID 04
ratbag debug: - HID report ID 10
ratbag debug: - HID report ID 11
ratbag debug: hidpp: device supports short reports
ratbag debug: hidpp: device supports long reports
ratbag raw: hidpp write:  10 ff 00 18 00 00 00
ratbag raw: hidpp read:   11 ff 00 18 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 00 08 00 01 00
ratbag raw: hidpp read:   11 ff 00 08 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x0001 is at 0x01
ratbag raw: hidpp write:  10 ff 01 08 00 00 00
ratbag raw: hidpp read:   11 ff 01 08 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 00 00 00
ratbag raw: hidpp read:   11 ff 01 18 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 01 00 00
ratbag raw: hidpp read:   11 ff 01 18 00 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 02 00 00
ratbag raw: hidpp read:   11 ff 01 18 00 03 00 04 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 03 00 00
ratbag raw: hidpp read:   11 ff 01 18 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 04 00 00
ratbag raw: hidpp read:   11 ff 01 18 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 05 00 00
ratbag raw: hidpp read:   11 ff 01 18 00 c2 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 06 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 01 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 07 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 02 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 08 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 05 60 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 09 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 06 70 08 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 0a 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 75 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 0b 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 a1 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 0c 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 b1 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 0d 00 00
ratbag raw: hidpp read:   11 ff 01 18 18 c0 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 0e 00 00
ratbag raw: hidpp read:   11 ff 01 18 1e 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 0f 00 00
ratbag raw: hidpp read:   11 ff 01 18 1e 22 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 10 00 00
ratbag raw: hidpp read:   11 ff 01 18 1e b0 70 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 11 00 00
ratbag raw: hidpp read:   11 ff 01 18 21 21 00 01 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 12 00 00
ratbag raw: hidpp read:   11 ff 01 18 22 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 13 00 00
ratbag raw: hidpp read:   11 ff 01 18 80 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 14 00 00
ratbag raw: hidpp read:   11 ff 01 18 81 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 01 18 15 00 00
ratbag raw: hidpp read:   11 ff 01 18 81 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: 'Logitech G502 X' is using protocol v4.2
ratbag raw: 'Logitech G502 X' has 22 features
ratbag raw: Init feature HIDPP_PAGE_ROOT (0x0000) 
ratbag raw: hidpp write:  10 ff 00 08 00 00 00
ratbag raw: hidpp read:   11 ff 00 08 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x0000 is at 0x00
ratbag raw: Init feature HIDPP_PAGE_FEATURE_SET (0x0001) 
ratbag raw: hidpp write:  10 ff 00 08 00 01 00
ratbag raw: hidpp read:   11 ff 00 08 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x0001 is at 0x01
ratbag raw: Init feature HIDPP_PAGE_DEVICE_INFO (0x0003) 
ratbag raw: hidpp write:  10 ff 00 08 00 03 00
ratbag raw: hidpp read:   11 ff 00 08 02 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x0003 is at 0x02
ratbag raw: unknown feature 0x0003
ratbag raw: Init feature HIDPP_PAGE_DEVICE_NAME (0x0005) 
ratbag raw: hidpp write:  10 ff 00 08 00 05 00
ratbag raw: hidpp read:   11 ff 00 08 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x0005 is at 0x03
ratbag raw: unknown feature 0x0005
ratbag raw: Init feature HIDPP_PAGE_RESET (0x0020) 
ratbag raw: hidpp write:  10 ff 00 08 00 20 00
ratbag raw: hidpp read:   11 ff 00 08 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x0020 is at 0x04
ratbag raw: unknown feature 0x0020
ratbag raw: Init feature 0xc2 (0x00c2) 
ratbag raw: hidpp write:  10 ff 00 08 00 c2 00
ratbag raw: hidpp read:   11 ff 00 08 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x00c2 is at 0x05
ratbag raw: unknown feature 0x00c2
ratbag raw: Init feature 0x1801 (0x1801) 
ratbag raw: hidpp write:  10 ff 00 08 18 01 00
ratbag raw: hidpp read:   11 ff 00 08 06 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1801 is at 0x06
ratbag raw: Init feature 0x1802 (0x1802) 
ratbag raw: hidpp write:  10 ff 00 08 18 02 00
ratbag raw: hidpp read:   11 ff 00 08 07 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1802 is at 0x07
ratbag raw: Init feature 0x1805 (0x1805) 
ratbag raw: hidpp write:  10 ff 00 08 18 05 00
ratbag raw: hidpp read:   11 ff 00 08 08 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1805 is at 0x08
ratbag raw: Init feature 0x1806 (0x1806) 
ratbag raw: hidpp write:  10 ff 00 08 18 06 00
ratbag raw: hidpp read:   11 ff 00 08 09 70 08 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1806 is at 0x09
ratbag raw: Init feature 0x1875 (0x1875) 
ratbag raw: hidpp write:  10 ff 00 08 18 75 00
ratbag raw: hidpp read:   11 ff 00 08 0a 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1875 is at 0x0a
ratbag raw: Init feature 0x18a1 (0x18a1) 
ratbag raw: hidpp write:  10 ff 00 08 18 a1 00
ratbag raw: hidpp read:   11 ff 00 08 0b 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x18a1 is at 0x0b
ratbag raw: Init feature 0x18b1 (0x18b1) 
ratbag raw: hidpp write:  10 ff 00 08 18 b1 00
ratbag raw: hidpp read:   11 ff 00 08 0c 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x18b1 is at 0x0c
ratbag raw: Init feature 0x18c0 (0x18c0) 
ratbag raw: hidpp write:  10 ff 00 08 18 c0 00
ratbag raw: hidpp read:   11 ff 00 08 0d 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x18c0 is at 0x0d
ratbag raw: Init feature 0x1e00 (0x1e00) 
ratbag raw: hidpp write:  10 ff 00 08 1e 00 00
ratbag raw: hidpp read:   11 ff 00 08 0e 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1e00 is at 0x0e
ratbag raw: Init feature 0x1e22 (0x1e22) 
ratbag raw: hidpp write:  10 ff 00 08 1e 22 00
ratbag raw: hidpp read:   11 ff 00 08 0f 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1e22 is at 0x0f
ratbag raw: Init feature 0x1eb0 (0x1eb0) 
ratbag raw: hidpp write:  10 ff 00 08 1e b0 00
ratbag raw: hidpp read:   11 ff 00 08 10 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x1eb0 is at 0x10
ratbag raw: Init feature 0x2121 (0x2121) 
ratbag raw: hidpp write:  10 ff 00 08 21 21 00
ratbag raw: hidpp read:   11 ff 00 08 11 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x2121 is at 0x11
ratbag raw: unknown feature 0x2121
ratbag raw: Init feature HIDPP_PAGE_ADJUSTABLE_DPI (0x2201) 
ratbag raw: hidpp write:  10 ff 00 08 22 01 00
ratbag raw: hidpp read:   11 ff 00 08 12 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x2201 is at 0x12
ratbag debug: device has adjustable dpi
ratbag raw: hidpp write:  10 ff 12 08 00 00 00
ratbag raw: hidpp read:   11 ff 12 08 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 12 18 00 00 00
ratbag raw: hidpp read:   11 ff 12 18 00 00 64 e0 32 64 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 12 28 00 00 00
ratbag raw: hidpp read:   11 ff 12 28 00 06 40 06 40 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: sensor 0: current dpi: 1600 (default: 1600) min: 100 max: 25600 steps: 50
ratbag debug: device is at 1600 dpi (variable between 100 and 25600).
ratbag raw: Init feature HIDPP_PAGE_ADJUSTABLE_REPORT_RATE (0x8060) 
ratbag raw: hidpp write:  10 ff 00 08 80 60 00
ratbag raw: hidpp read:   11 ff 00 08 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x8060 is at 0x13
ratbag debug: device has adjustable report rate
ratbag raw: hidpp write:  10 ff 13 08 00 00 00
ratbag raw: hidpp read:   11 ff 13 08 8b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 13 18 00 00 00
ratbag raw: hidpp read:   11 ff 13 18 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: report rate is 1000
ratbag debug: device has 4 report rates
ratbag raw: Init feature HIDPP_PAGE_ONBOARD_PROFILES (0x8100) 
ratbag raw: hidpp write:  10 ff 00 08 81 00 00
ratbag raw: hidpp read:   11 ff 00 08 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x8100 is at 0x14
ratbag debug: device has onboard profiles
ratbag raw: Init feature HIDPP_PAGE_MOUSE_BUTTON_SPY (0x8110) 
ratbag raw: hidpp write:  10 ff 00 08 81 10 00
ratbag raw: hidpp read:   11 ff 00 08 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: feature 0x8110 is at 0x15
ratbag debug: device has configurable mouse button spy
ratbag debug: initializing onboard profiles
ratbag raw: hidpp write:  10 ff 14 08 00 00 00
ratbag raw: hidpp read:   11 ff 14 08 01 04 01 05 02 0b 10 00 ff 0a 01 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 14 28 00 00 00
ratbag raw: hidpp read:   11 ff 14 28 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  10 ff 14 48 00 00 00
ratbag raw: hidpp read:   11 ff 14 48 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: current active profile is index: 1 unknown_0: 0
ratbag debug: Reading sector 0x0000
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 01 01 00 00 02 00 00 00 03 00 00 00 04 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 05 00 00 ff ff 00 00 ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 50 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 60 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 70 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 90 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 b0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 00 00 ef 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 1b 6f
ratbag debug: Parsing profile 0
ratbag debug: Reading sector 0x0001
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 01 02 00 c8 00 20 03 40 06 80 3e 9c 63 ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 10 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 20 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 80 01 00 01 80 01 00 02 80 01 00 04 80 01 00 08
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 30 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 07 ff 00 80 01 00 10 90 01 ff 00 90 02 ff 00
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 40 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 0a ff 00 90 03 ff 00 90 04 ff 00 ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 50 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 60 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 70 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 80 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 90 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 a0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 b0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 04 00 00 00 00 00 00 40 01 00 1f 04 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 40 01 00 1f 04 00 00 00 00 00 00 40 01 00
ratbag raw: hidpp write:  11 ff 14 58 00 01 00 ef 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 1f 04 00 00 00 00 00 00 40 01 00 1f ff 7c 86
ratbag debug: Parsing profile 1
ratbag debug: Reading sector 0x0002
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 01 02 00 52 03 b0 04 40 06 60 09 80 0c ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 10 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 20 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 80 01 00 01 80 01 00 02 80 01 00 04 80 02 00 27
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 30 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 80 02 00 25 80 02 00 26 80 02 00 25 90 02 ff 00
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 40 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 0a ff 00 80 02 00 23 80 02 00 24 ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 50 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 60 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 70 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 80 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 90 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 a0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 b0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 04 00 00 00 00 00 00 40 01 00 1f 04 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 40 01 00 1f 04 00 00 00 00 00 00 40 01 00
ratbag raw: hidpp write:  11 ff 14 58 00 02 00 ef 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 1f 04 00 00 00 00 00 00 40 01 00 1f ff 81 0b
ratbag debug: Parsing profile 2
ratbag debug: Reading sector 0x0003
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 01 02 00 20 03 b0 04 40 06 60 09 80 0c ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 10 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 20 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 80 01 00 01 80 01 00 02 80 01 00 04 80 01 00 08
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 30 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 07 ff 00 80 01 00 10 90 01 ff 00 90 02 ff 00
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 40 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 0a ff 00 90 03 ff 00 90 04 ff 00 ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 50 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 60 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 70 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 80 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 90 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 a0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 b0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 04 00 00 00 00 00 00 40 01 00 1f 04 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 40 01 00 1f 04 00 00 00 00 00 00 40 01 00
ratbag raw: hidpp write:  11 ff 14 58 00 03 00 ef 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 1f 04 00 00 00 00 00 00 40 01 00 1f ff 35 7b
ratbag debug: Parsing profile 3
ratbag debug: Reading sector 0x0004
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 01 02 00 20 03 b0 04 40 06 60 09 80 0c ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 10 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 20 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 80 01 00 01 80 01 00 02 80 01 00 04 80 01 00 08
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 30 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 07 00 00 80 01 00 10 90 01 00 00 90 02 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 40 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 0a 00 00 90 03 00 00 90 04 00 00 ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 50 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 60 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 70 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 80 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 90 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 a0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 b0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 04 00 00 00 00 00 00 40 01 00 1f 04 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 40 01 00 1f 00 ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 04 00 ef 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 05 6a
ratbag debug: Parsing profile 4
ratbag debug: Reading sector 0x0005
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 01 02 00 20 03 b0 04 40 06 60 09 80 0c ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 10 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 20 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 80 01 00 01 80 01 00 02 80 01 00 04 80 01 00 08
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 30 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 07 00 00 80 01 00 10 90 01 00 00 90 02 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 40 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 90 0a 00 00 90 03 00 00 90 04 00 00 ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 50 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 60 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 70 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 80 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 90 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 a0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 b0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 04 00 00 00 00 00 00 40 01 00 1f 04 00 00 00 00
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 00 00 40 01 00 1f 00 ff ff ff ff ff ff ff ff ff
ratbag raw: hidpp write:  11 ff 14 58 00 05 00 ef 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 14 58 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 05 6a
ratbag raw: hidpp write:  10 ff 14 b8 00 00 00
ratbag raw: hidpp read:   11 ff 14 b8 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: driver match found: Logitech HID++2.0
hidraw2: "Logitech G502 X", 5 profiles
ratbag debug: New device: Logitech G502 X
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver hidpp20
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0xffffc099
ratbag debug: Logitech G502 X is device '/dev/hidraw2'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: New device: ELAN0712:00 04F3:30FD
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 04f3:30fd
DBus server ready

Additional context I have compiled piper from source and installed libratbag prebuilt from repos before on other distributions before, I am only experiencing this on Void Linux.

Void Linux uses runit instead of SystemD

jaamivstheworld commented 1 year ago

Just as an update if it helps: I tested installing both piper and libratbag from xbps. I also did not enable ratbagd runit service. It worked just as expected. I'm going to try compiling libratbag from source with piper to see if that solves the API error.

jaamivstheworld commented 1 year ago

Compiling libratbag isn't going too well. It's missing a dependency "libsystemd". I am using Void Linux which uses runit and there's no libsystemd package. Any workarounds?

jaamivstheworld commented 1 year ago

I've gotten.. somewhere. Will close this issue and open a different one

staticssleever668 commented 1 year ago

You seem to have libratbag installed from source, while having Piper from the repositories. Both have to be installed from the same place. If you have this problem with both of them installed from the repositories, this is a problem with packaging, please, report is to Void Linux.

Relevant issue: https://github.com/libratbag/libratbag/issues/1388.

Compiling libratbag isn't going too well. It's missing a dependency "libsystemd". I am using Void Linux which uses runit and there's no libsystemd package. Any workarounds?

We also support building with elogind, which is most likely what Void Linux does if they ship libratbag. See the logind-provider build option. Build system setup will look something like this: meson setup builddir -Dlogind-provider=elogind

linuxmobile commented 1 year ago

I have the same problem compiling from source. Both libratbag and piper. (I'm using archlinux)

My device is this: Sinowealth-0029 but isn't working the community package of archlinux and with aur piper.git and libratbat.git.

staticssleever668 commented 1 year ago

@linuxmobile, hey, I'm on Arch myself, and everything works fine for me, you just have to choose to install either libratbag piper or libratbag-git piper-git.

What is the output of pacman -Qi libratbag piper for you?

linuxmobile commented 1 year ago

@linuxmobile, hey, I'm on Arch myself, and everything works fine for me, you just have to choose to install either libratbag piper or libratbag-git piper-git.

What is the output of pacman -Qi libratbag piper for you?

So that you can understand me, I first tried the community package version (both libratbag and piper) and it doesn't work because it still doesn't have the files for my mouse (sinowealth "29"). Both git packages return the same api error. And the two packages built from source, same thing.

staticssleever668 commented 1 year ago

@linuxmobile, I see. Could you post the output of which piper ratbagd and pacman -Qi libratbag piper in the terminal? I think you may either have outdated versions of packages installed, or you may have installed something to /usr/local, which takes precedence over /usr.

linuxmobile commented 1 year ago

which piper ratbagd

image

pacman -Qi libratbag piper

image

I've got installed from source :3

staticssleever668 commented 1 year ago

I'm sorry, the build docs of Piper are kind of misleading, as they tell you to use --prefix=/usr/, while the docs of libratbag don't (although they do mention such option). Using this prefix will overwrite your system installation of an application, in this case Piper.

You should rebuild and reinstall Piper without this option, but first you should uninstall it. Steps to do it: 1) cd piper (Change active directory to where you've downloaded Piper's source and where you have built it). 2) sudo ninja -C builddir uninstall (Do the uninstallation). You should see something like Deleted: 41 near the end of the output. If it says Deleted 0, redo the original steps from README.

Now rebuild without the --prefix option: 1) meson builddir 2) ninja -C builddir 3) sudo ninja -C builddir install

linuxmobile commented 1 year ago

3. sudo ninja -C builddir install

Well I thought everything would work since I removed the prefix but now I have this:

image

By the way, I want to thank you for helping me <3

staticssleever668 commented 1 year ago

Ah, I was wrong, I did not test this and assumed /usr/local is PYTHONPATH, and that D-Bus would pick up configuration files from /usr/local/share/dbus-1, sorry. You would have to uninstall them again, and then reinstall after configuring both with the prefix option, e.g. meson builddir --prefix /usr.

Still, I recommend you to uninstall manually installed libratbag and Piper, and simply get the from AUR.

linuxmobile commented 1 year ago

Still, I recommend you to uninstall manually installed libratbag and Piper, and simply get the from AUR.

Sorry for answering so late. After reinstalling Arch (for other reasons), I decided to do what you indicated and the AUR version doesn't work for me.

image

EDIT: The screenshot device (SONiX is not the one I'm interested in configuring. The device I'm interested in configuring is SINOWEALTH) image

staticssleever668 commented 1 year ago

Sinowealth is just a vendor, I would like to know exact mouse model.

For the sinowealth driver in libratbag to work with your device, you would need to add some information about it to the device file. The reason for this is that the mouse may only appear to be compatible, but in reality using it with libratbag will get you in trouble. So, before committing any changes to mouse settings, make sure that all shown fields are correct.

Now, here's what you should add to the device file to make it apear in Piper:

# Configuration length: 131 bytes.
# Sensor: PMW3360.
[Driver/sinowealth/devices/SomeRandomDevice]
# Replace this with button count of your mouse.
ButtonCount=6
# Replace this with model name of your mouse.
DeviceName=Some Random Device
FwVersion=IM12
# You may have to replace this with "RGB" if LED colors are incorrect.
LedType=RBG