libratbag / piper

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

Logitech G502 X PLUS wireless | Cannot find any device #822

Open RobinFrcd opened 1 year ago

RobinFrcd commented 1 year ago

Information

Describe the bug My G502 X PLUS Wireless is not detected by piper.

Logs

$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: BY Tech Air60
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 05ac:024f
ratbag debug: New device: BY Tech Air60
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 05ac:024f
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: 046d:c547 is a Logitech receiver, not a device. Ignoring...
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: 046d:c547 is a Logitech receiver, not a device. Ignoring...
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: 046d:c547 is a Logitech receiver, not a device. Ignoring...
DBus server ready
staticssleever668 commented 1 year ago

Hi! Sorry, but you would have connect it in wired mode to use with libratbag. We expect Linux to reexport the device behind the receiver, but it seems like the kernel doesn't support this receiver version (yet).

RobinFrcd commented 1 year ago

Hi and thank you for your answer ! If I plug it through USB it's detected but seems like the device isn't known by ratbag:

Initializing libratbag
ratbag debug: New device: Logitech G502 X PLUS
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c095
ratbag debug: New device: Logitech G502 X PLUS
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c095
ratbag debug: New device: Logitech G502 X PLUS
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c095
ratbag debug: New device: BY Tech Air60
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 05ac:024f
ratbag debug: New device: BY Tech Air60
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 05ac:024f
DBus server ready
staticssleever668 commented 1 year ago

Oh, you have G502 X PLUS, not just G502 X. It's not supported at all, and there is no progress yet, sorry again.

Reference: https://github.com/libratbag/libratbag/issues/1344

spe238 commented 1 year ago

Hi,

I also have issues with the g502x, but with the wired one. It is recognized, but it seems very buggy. Piper keeps switching to a profile 2, although is was never created, and switching back to profile 1 always changes the allegedly saved DPI. Additionally mapping key strokes to the additional mouse buttons doesn't work properly. It saves any key (numbers or characters), but always in a combination with some ctrl and shift controls, so I am unable to bind the number 1 for example, because what is saved on the mouse button is shift + ctrl + 1, which I never entered.

piguycs commented 1 year ago

I have the lightspeed variant (not plus). It is wireless but it does not show up. Is the issue with the Plus variant also present for lightspeed?

Initializing libratbag
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: 046d:c547 is a Logitech receiver, not a device. Ignoring...
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: 046d:c547 is a Logitech receiver, not a device. Ignoring...
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: 046d:c547 is a Logitech receiver, not a device. Ignoring...
ratbag debug: New device: Kingston HyperX Virtual Surround Sound
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 0951:16a4
ratbag debug: New device: Ducky Akko Keyboard
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 0c45:6613
ratbag debug: New device: Ducky Akko Keyboard
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 0c45:6613
DBus server ready

It is mentioned above that I should connect it in wired mode, however this does not seem to be something I could do (I tried connecting the charging cable to my PC, unless there are some extra steps to this)

piguycs commented 1 year ago

Update on my situation: Well... I was unable to get it into wired mode because I did not plug the wire in all the way. I did that and now piper works. Hopefully linux will soon get support for re-exporting this receiver too.

ryaneford commented 3 months ago

any luck on getting the G502 X PLUS working?

damccull commented 2 months ago

Same, still wondering. What does it take to build a new mouse profile, btw? Does it require building custom drivers or something? Or just extending some existing class to handle the right communications profile?

mkiglics commented 2 months ago

A few weeks ago, there were some updates on this thread: https://github.com/libratbag/libratbag/issues/1344. For now, with a little tweaking basic support for the wireless receiver is possible. In piper, DPI settings and some buttons are configurable.