Closed ProspectPyxis closed 1 year ago
Update: What causes the mouse to shut down is the incorrectly set STRIX_PROFILE
quirk - removing this quirk allows the mouse to work. However, the repeated Connection timed out
errors remain.
@kyokenn
However, the repeated Connection timed out errors remain.
Is it random errors or is it happen after you tried to change the settings?
Can you run "ratbagd --verbose=raw" without STRIX_PROFILE quirk and show the output?
Apologies for the late reply.
The log is pretty much identical:
$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: LIZHI Flash IC USB Keyboard
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 1c4f:0084
ratbag debug: New device: LIZHI Flash IC USB Keyboard
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 1c4f:0084
ratbag debug: New device: ASUSTeK ROG CHAKRAM X
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1a18
ratbag debug: ASUSTeK ROG CHAKRAM X is device '/dev/hidraw2'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: Button 0 is mapped to 0xf0
ratbag debug: Button 1 is mapped to 0xf1
ratbag debug: Button 2 is mapped to 0xf2
ratbag debug: Button 3 is mapped to 0xe8
ratbag debug: Button 4 is mapped to 0xe9
ratbag debug: Button 5 is mapped to 0xe6
ratbag debug: Button 6 is mapped to 0xe4
ratbag debug: Button 7 is mapped to 0xe5
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 00 00 00 17 02 22 00 05 07 00 04 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Initial profile is 0
ratbag debug: Primary version 00.00.FF
ratbag debug: Secondary version 22.02.17
ratbag debug: Loading buttons data
ratbag raw: output report: 12 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 05 00 00 f0 01 f1 01 f2 01 ff ff ff ff e6 01 e8 01 e9 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading resolutions data
ratbag raw: output report: 12 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 04 00 00 ff ff ff ff ff ff ff ff 05 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading LEDs data
ratbag raw: output report: 12 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 03 00 00 02 19 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Switching to profile 1
ratbag raw: output report: 50 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 50 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading buttons data
ratbag raw: output report: 12 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 05 00 00 f0 01 f1 01 f2 01 ff ff ff ff e6 01 e8 01 e9 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading resolutions data
ratbag raw: output report: 12 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 04 00 00 ff ff ff ff ff ff ff ff 03 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading LEDs data
ratbag raw: output report: 12 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 03 00 00 03 19 ff 00 00 00 01 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Switching to profile 2
ratbag raw: output report: 50 02 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 50 02 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading buttons data
ratbag raw: output report: 12 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 05 00 00 f0 01 f1 01 f2 01 ff ff ff ff e6 01 e8 01 e9 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading resolutions data
ratbag raw: output report: 12 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 04 00 00 ff ff ff ff ff ff ff ff 03 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Loading LEDs data
ratbag raw: output report: 12 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 12 03 00 00 05 19 00 00 ff 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Switching back to initial profile 0
ratbag raw: output report: 50 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report: 50 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: driver match found: ASUS
hidraw2: "ASUSTeK ROG CHAKRAM X", 3 profiles
ratbag debug: New device: ASUSTeK ROG CHAKRAM X
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1a18
ratbag debug: ASUSTeK ROG CHAKRAM X is device '/dev/hidraw3'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: Button 0 is mapped to 0xf0
ratbag debug: Button 1 is mapped to 0xf1
ratbag debug: Button 2 is mapped to 0xf2
ratbag debug: Button 3 is mapped to 0xe8
ratbag debug: Button 4 is mapped to 0xe9
ratbag debug: Button 5 is mapped to 0xe6
ratbag debug: Button 6 is mapped to 0xe4
ratbag debug: Button 7 is mapped to 0xe5
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error: Can't talk to the mouse: 'Connection timed out' (-110)
ratbag debug: New device: ASUSTeK ROG CHAKRAM X
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1a18
ratbag debug: ASUSTeK ROG CHAKRAM X is device '/dev/hidraw4'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: - HID report ID 01
ratbag debug: - HID report ID 02
ratbag debug: - HID report ID 03
ratbag debug: - HID report ID 04
ratbag debug: Button 0 is mapped to 0xf0
ratbag debug: Button 1 is mapped to 0xf1
ratbag debug: Button 2 is mapped to 0xf2
ratbag debug: Button 3 is mapped to 0xe8
ratbag debug: Button 4 is mapped to 0xe9
ratbag debug: Button 5 is mapped to 0xe6
ratbag debug: Button 6 is mapped to 0xe4
ratbag debug: Button 7 is mapped to 0xe5
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error: Can't talk to the mouse: 'Connection timed out' (-110)
ratbag debug: New device: ASUSTeK ROG CHAKRAM X
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1a18
ratbag debug: ASUSTeK ROG CHAKRAM X is device '/dev/hidraw5'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: Button 0 is mapped to 0xf0
ratbag debug: Button 1 is mapped to 0xf1
ratbag debug: Button 2 is mapped to 0xf2
ratbag debug: Button 3 is mapped to 0xe8
ratbag debug: Button 4 is mapped to 0xe9
ratbag debug: Button 5 is mapped to 0xe6
ratbag debug: Button 6 is mapped to 0xe4
ratbag debug: Button 7 is mapped to 0xe5
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error: Can't talk to the mouse: 'Connection timed out' (-110)
As before, output repeats after this point.
For the Chakram X Origin wireless the ID 0b05:1a1a should be added to the asus-rog-chakram-x.device profile. In Piper I can change the LEDs and a quick test swapping 2 buttons also works. However, 2 of the 4 side buttons don't show up in piper config which is odd. Not sure how the button mapping works on ASUS (first ASUS device) but there are 5 buttons listed in the profile even though 6 (plus scroll wheel) show up in piper.
Once the 2 missing buttons are added it looks like support will be complete if profiles are working.
USB attached first and wireless attached second:
[bill@Bill-FW16 ~]$ lsusb
Bus 001 Device 048: ID 0b05:1a18 ASUSTek Computer, Inc. ROG CHAKRAM X
[bill@Bill-FW16 ~]$ lsusb
Bus 001 Device 049: ID 0b05:1a1a ASUSTek Computer, Inc. ROG CHAKRAM X
Information
ratbagd
version (ratbagd --version
): 0.17 (Arch Linux libratbag-git 0.17.r85.6dcd17d-1)uname -srmo
):Linux 6.1.7-arch1-1 x86_64 GNU/Linux
Describe the bug Ratbag doesn't seem to work with the Asus ROG Chakram X correctly, for multiple reasons.
First, the pid:vid seems to be incorrect - while the built-in device file has it listed as
0b05:1a1a
, the mouse shows up as0b05:1a18
on my device, and thus, it isn't detected.Second, even after manually changing the vid, the mouse will fail to work, with multiple errors of
'Connection timed out' (-110)
and occasionally'Protocol Error' (-71)
when checkingsystemctl status ratbagd.service
.To Reproduce Steps to reproduce the behavior:
0b05:1a1a
to0b05:1a18
.ratbagd.service
.Logs Note that this is the output from after editing the pid:vid.
The log repeats at this point, the only difference being
'/dev/hidrawX'
increments X by 1 each time.