flozz / rivalcfg

CLI tool and Python library to configure SteelSeries gaming mice
https://flozz.github.io/rivalcfg/
Do What The F*ck You Want To Public License
761 stars 61 forks source link

Aerox 3 wireless - Color's are not saving #191

Closed ChocolatePie698 closed 1 year ago

ChocolatePie698 commented 1 year ago

Bug description

RGB color selections is not saving.

What happened

Changing colors seems to be fine at first but when the mouse disconnects or when the USB dongle disconnects, the RGB colors go back to what it was before.

What was expected

Turning off/disconnecting the mouse, and the colors stay the same before turning off/ disconnecting the mouse.

Step to reproduce

Change the z1, z2, and z3 colors to whatever. Turn off the mouse and watch rainbows come back.

System information

RIVALCFG
========
Version: 4.7.0
udev rules installed: True
udev rules up to date: True
Installation path: /usr/lib/python3.10/site-packages/rivalcfg

OPERATING SYSTEM
================
OS: Linux
Platform: Linux-6.0.2-arch1-1-x86_64-with-glibc2.36
Version: #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000
Distribution issue: Arch Linux \r (\l)

PYTHON
======
Python version: 3.10.8
HIDAPI version: 0.12.0.post2

PLUGGED STEELSERIES DEVICES ENDPOINTS
=====================================
1038:1838 | 00 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 00 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 01 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 02 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 03 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 04 | SteelSeries Aerox 3 Wireless (firmware v0)
flozz commented 1 year ago

Sadly, this is not a bug: on newer devices, colors are not saved anymore in the mouse memory... So it get back to the default (that can be a rainbow effect or off) :(

I will have to find a way to restore it automatically at startup, at wake up and when the device is plugged in...

ChocolatePie698 commented 1 year ago

Damn that's sad. I'm just used to mice storing lighting in memory. Thanks for letting me know on that.

blurttextur commented 1 year ago

Is there a way to run rivalcfg as a daemon, so whenever the computer wakes up, or the mouse reconnects, the commands run again?

I'm having the same issue, so I created a bash script to reset the color options (that runs at startup), but I'm not sure how to make it run whenever the mouse reconnects or the computer wakes up from idle.

flozz commented 1 year ago

It is possible to run a command when a specific device is plugged to the computer using udev:

But I do not think it will work for the wireless mice that wake up after IDLE as the USB dongle is never disconnected from the computer.

wadhah101 commented 1 year ago

Can confirm that this option is working on Aerox 3

    The option is now on `master` for all devices that supports it (Aerox and Prime):
  -d DEFAULT_LIGHTING, --default-lighting DEFAULT_LIGHTING
                        Set default lighting at mouse startup (values: off, reactive,
                        rainbow, reactive-rainbow, default: rainbow)

Originally posted by @flozz in https://github.com/flozz/rivalcfg/issues/195#issuecomment-1365876881

This issues should be marked as closed

flozz commented 1 year ago

Thank you for the feedback :)