libratbag / libratbag

A DBus daemon to configure input devices, mainly high-end and gaming mice
MIT License
2.11k stars 258 forks source link

Model D Wireless - Not showing up #1299

Closed Shonity closed 1 year ago

Shonity commented 2 years ago

Information

Device info (if applicable): Glorious Model D Wireless

$ ratbagctl <device> info
OUTPUT HERE

Describe the bug Currently my Model D Wireless does not show up in piper. I followed the installation guide and changed the UID in glorious-model-d.device to "usb:258a:2012".

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: Corsair CORSAIR iCUE Commander CORE
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 1b1c:0c1c
ratbag debug: New device: Corsair CORSAIR iCUE Commander CORE
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 1b1c:0c1c
ratbag debug: New device: Glorious Model D Wireless
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: device assigned driver sinowealth
ratbag debug: hidraw info: bus 0x03 vendor 0x258a product 0x2012
ratbag debug: Glorious Model D Wireless is device '/dev/hidraw5'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: hidraw info: bus 0x03 vendor 0x258a product 0x2012
ratbag debug: Glorious Model D Wireless is device '/dev/hidraw6'.
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: - HID report ID 05
ratbag raw: feature set:   05 02 01 00 00 00
ratbag raw: feature set:   05 01 00 00 00 00
ratbag raw: feature get:   
ratbag error: Could not get feature report in a read query: 0
ratbag error: Couldn't read firmware version: -1
ratbag debug: New device: Glorious Model D Wireless
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: device assigned driver sinowealth
ratbag debug: hidraw info: bus 0x03 vendor 0x258a product 0x2012
ratbag debug: Glorious Model D Wireless is device '/dev/hidraw5'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: hidraw info: bus 0x03 vendor 0x258a product 0x2012
ratbag debug: Glorious Model D Wireless is device '/dev/hidraw6'.
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: - HID report ID 05
ratbag raw: feature set:   05 02 01 00 00 00
ratbag raw: feature set:   05 01 00 00 00 00
ratbag raw: feature get:   
ratbag error: Could not get feature report in a read query: 0
ratbag error: Couldn't read firmware version: -1
ratbag debug: New device: Glorious Model D Wireless
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: device assigned driver sinowealth
ratbag debug: hidraw info: bus 0x03 vendor 0x258a product 0x2012
ratbag debug: Glorious Model D Wireless is device '/dev/hidraw5'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: hidraw info: bus 0x03 vendor 0x258a product 0x2012
ratbag debug: Glorious Model D Wireless is device '/dev/hidraw6'.
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: - HID report ID 05
ratbag raw: feature set:   05 02 01 00 00 00
ratbag raw: feature set:   05 01 00 00 00 00
ratbag raw: feature get:   
ratbag error: Could not get feature report in a read query: 0
ratbag error: Couldn't read firmware version: -1
ratbag debug: New device: Ducky Ducky One2 SF RGB
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 0416:0123
ratbag debug: New device: Ducky Ducky One2 SF RGB
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 0416:0123
ratbag debug: New device: Ducky Ducky One2 SF RGB
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 0416:0123
ratbag debug: New device: Ducky Ducky One2 SF RGB
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 0416:0123
ratbag debug: New device: Nintendo Co., Ltd. Pro Controller
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 057e:2009
ratbag debug: New device: Generic Blue Microphones
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 046d:0ab7
ratbag debug: New device: Conexant Sennheiser Main Audio
ratbag debug: Using data directory '/usr/local/share/libratbag'
ratbag debug: No data file found for 1395:005d
DBus server ready

Additional context I asked on Reddit before and a user tried to help me out. Unfortunately it did not solve my issue. Maybe it gives you more context tho: https://www.reddit.com/r/linux_gaming/comments/ts2e97/piper_does_not_detect_model_d_wireless_on_linux/

staticssleever668 commented 2 years ago

Hello, Model D and Model D Wireless are actually absolutely different mice under the hood, and we don't support the latter. I think Model O Wireless may be similar to it, though, you can try your luck with mow - a configuration utility for it. It probably won't recognize Model D Wireless out of the box, so I think you can try to make an issue there, if they are indeed similar, the developer may add support for it.

Related: #1172 (Model O Wireless support).

staticssleever668 commented 1 year ago

Since this mouse would require writing a new driver, let's close this until someone volunteers to write one. See previous comment to see what can be used instead of libratbag for now.