Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G733 Headset Missing LED Controls Until Start, Kill, Start Of Solaar App #2784

Open
BeaconBytes opened this issue Jan 23, 2025 · 7 comments
Open
Labels

Comments

@BeaconBytes
Copy link

BeaconBytes commented Jan 23, 2025

Information

  • Solaar version (solaar --version or git describe --tags if cloned from this repository): solaar 1.1.13+dfsg-1
  • Distribution: Ubuntu 24.10
  • Kernel version (ex. uname -srmo): Linux 6.11.0-13-generic x86_64 GNU/Linux
  • Output of solaar show:
stimz@bumble-pop:~$ solaar show
rules cannot access modifier keys in Wayland, accessing process only works on GNOME with Solaar Gnome extension installed
solaar version 1.1.13+dfsg-1

Lightspeed Receiver
  Device path  : /dev/hidraw7
  USB id       : 046d:C547
  Serial       : B16EF85C
  C Pending    : ff
    Firmware   : 04.02.B0009
    Bootloader : 02.09
    Other      : 7D.75
  Has 1 paired device(s) out of a maximum of 2.
  Notifications: wireless, software present (0x000900)
  Device activity counters: 1=52

  1: G502 X LIGHTSPEED
     Device path  : None
     WPID         : 409F
     Codename     : G502 X LS
     Kind         : mouse
     Protocol     : HID++ 4.2
     Report Rate : 2ms
     Serial number: 51E8138C
     Model ID:      409FC0980000
     Unit ID:       51E8138C
                 1: BL1 48.00.B0014
                 0: MPM 30.00.B0014
                 3: 
                 3: 
                 3: 
                 3: 
                 3: 
                 3: 
                 3: 
                 3: 
                 3: 
                 3: 
     Supports 29 HID++ 2.0 features:
         0: ROOT                   {0000} V0     
         1: FEATURE SET            {0001} V0     
         2: DEVICE FW VERSION      {0003} V4     
            Firmware: Bootloader BL1 48.00.B0014 AB12BA708AD1
            Firmware: Firmware MPM 30.00.B0014 409FBA708AD1
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Firmware: Other   
            Unit ID: 51E8138C  Model ID: 409FC0980000  Transport IDs: {'wpid': '409F', 'usbid': 'C098'}
         3: DEVICE NAME            {0005} V0     
            Name: G502 X LIGHTSPEED
            Kind: mouse
         4: WIRELESS DEVICE STATUS {1D4B} V0     
         5: CONFIG CHANGE          {0020} V0     
            Configuration: 11000000000000000000000000000000
         6: UNIFIED BATTERY        {1004} V3     
            Battery: 61%, discharging.
         7: ADJUSTABLE DPI         {2201} V2     
            Sensitivity (DPI) (saved): 1600
            Sensitivity (DPI)        : 1600
         8: HIRES WHEEL            {2121} V0     
            Multiplier: 8
            Has invert: Normal wheel motion
            Has ratchet switch: Normal wheel mode
            Low resolution mode
            HID notification
            Scroll Wheel Direction (saved): False
            Scroll Wheel Direction        : False
            Scroll Wheel Resolution (saved): False
            Scroll Wheel Resolution        : False
            Scroll Wheel Diversion (saved): False
            Scroll Wheel Diversion        : False
         9: ONBOARD PROFILES       {8100} V0     
            Device Mode: On-Board
            Onboard Profiles (saved): Profile 2
            Onboard Profiles        : Profile 2
        10: MOUSE BUTTON SPY       {8110} V0     
        11: REPORT RATE            {8060} V0     
            Report Rate: 2ms
            Report Rate (saved): 2ms
            Report Rate        : 2ms
        12: FORCE PAIRING          {1500} V0     
        13: DEVICE RESET           {1802} V0    internal, hidden, unknown:000010 
        14: unknown:1803           {1803} V0    internal, hidden, unknown:000010 
        15: CONFIG DEVICE PROPS    {1806} V8    internal, hidden, unknown:000010 
        16: unknown:1811           {1811} V0    internal, hidden, unknown:000010 
        17: OOBSTATE               {1805} V0    internal, hidden 
        18: unknown:1830           {1830} V0    internal, hidden, unknown:000010 
        19: unknown:1875           {1875} V0    internal, hidden, unknown:000010 
        20: unknown:1861           {1861} V1    internal, hidden, unknown:000010 
        21: unknown:1890           {1890} V7    internal, hidden, unknown:000008 
        22: unknown:18A1           {18A1} V0    internal, hidden, unknown:000010 
        23: unknown:1801           {1801} V0    internal, hidden, unknown:000010 
        24: unknown:1E00           {1E00} V0    hidden 
        25: unknown:1E22           {1E22} V0    internal, hidden, unknown:000010 
        26: unknown:1EB0           {1EB0} V0    internal, hidden, unknown:000010 
        27: unknown:18B1           {18B1} V0    internal, hidden, unknown:000010 
        28: unknown:18C0           {18C0} V0    internal, hidden, unknown:000010 
     Battery: 61%, discharging.


G733 Gaming Headset
     Device path  : /dev/hidraw9
     USB id       : 046d:0AB5
     Codename     : G733 Headset
     Kind         : headset
     Protocol     : HID++ 4.2
     Serial number: 
     Model ID:      0AB500000000
     Unit ID:       FFFFFFFF
                 0: U1  37.00.B0131
     Supports 9 HID++ 2.0 features:
         0: ROOT                   {0000} V0     
         1: FEATURE SET            {0001} V0     
         2: DEVICE FW VERSION      {0003} V2     
            Firmware: Firmware U1  37.00.B0131 0AB5
            Unit ID: FFFFFFFF  Model ID: 0AB500000000  Transport IDs: {'usbid': '0AB5'}
         3: DEVICE NAME            {0005} V0     
            Name: G733 Gaming Headset
solaar: error: Traceback (most recent call last):
  File "/usr/share/solaar/lib/solaar/cli/__init__.py", line 221, in run
    m.run(c, args, _find_receiver, _find_device)
  File "/usr/share/solaar/lib/solaar/cli/show.py", line 327, in run
    _print_device(d)
  File "/usr/share/solaar/lib/solaar/cli/show.py", line 218, in _print_device
    print(f"            Kind: {_hidpp20.get_kind(dev)}")
                               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/solaar/lib/logitech_receiver/hidpp20.py", line 1432, in get_kind
    return KIND_MAP[DEVICE_KIND[kind]]
           ~~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: None
  • Contents of ~/.config/solaar/config.yaml (or ~/.config/solaar/config.json if ~/.config/solaar/config.yaml not present):
stimz@bumble-pop:~$ cat ~/.config/solaar/config.yaml 
- 1.1.13+dfsg-1
- _NAME: G733 Gaming Headset
  _absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, scroll-ratchet, smart-shift, thumb-scroll-invert,
    thumb-scroll-mode, onboard_profiles, report_rate, report_rate_extended, pointer_speed, dpi, dpi_extended, speed-change, backlight, backlight_level,
    backlight_duration_hands_out, backlight_duration_hands_in, backlight_duration_powered, backlight-timed, rgb_control, rgb_zone_, brightness_control,
    per-key-lighting, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys, crown-smooth, divert-crown, m-key-leds,
    mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, equalizer]
  _battery: 7968
  _modelId: 0AB500000000
  _sensitive: {divert-gkeys: false, led_control: false, led_zone_65281: false, led_zone_65282: false}
  _unitId: FFFFFFFF
  adc_power_management: 30
  divert-gkeys: false
  led_control: 1
  led_zone_65281: !LEDEffectSetting {ID: 0, color: 16711680, intensity: 0, period: 100, ramp: 0, speed: 0}
  led_zone_65282: !LEDEffectSetting {ID: 0}
  sidetone: 0
- _NAME: G502 X LIGHTSPEED
  _absent: [hi-res-scroll, lowres-scroll-mode, scroll-ratchet, smart-shift, thumb-scroll-invert, thumb-scroll-mode, report_rate_extended, pointer_speed,
    dpi_extended, speed-change, backlight, backlight_level, backlight_duration_hands_out, backlight_duration_hands_in, backlight_duration_powered, backlight-timed,
    led_control, led_zone_, rgb_control, rgb_zone_, brightness_control, per-key-lighting, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys,
    disable-keyboard-keys, crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert,
    gesture2-params, sidetone, equalizer, adc_power_management]
  _battery: 4100
  _modelId: 409FC0980000
  _sensitive: {hires-scroll-mode: ignore, hires-smooth-invert: ignore, hires-smooth-resolution: ignore}
  _serial: 51E8138C
  _unitId: 51E8138C
  _wpid: 409F
  dpi: 1600
  hires-scroll-mode: false
  hires-smooth-invert: false
  hires-smooth-resolution: false
  onboard_profiles: 2
  report_rate: 2
  • Errors or warnings from Solaar:
  • Repeatedly gives WARNING of missing icons, such as WARNING [MainThread] solaar.ui.icons: failed to detect icons
  • No "ERROR" lines

Describe the bug
The first time I start Solaar(either via command, selecting from Ubuntu Start Menu, or adding to Startup Applications for Ubuntu), the window for Solaar shows that it found my G733 headset, it shows "LED Control = Solaar". But the next line is "Divert G and M Keys...", there is no shown options to change the LED settings.
However, if I click "Quit Solaar" in the bottom left and then relaunch Solaar (in any of the 3 previously mentioned ways), it will then show the two LED's to control under neat the "LED Control = Solaar" option/setting. Its then fine until I reboot the system, or until I logout and log back in.

To Reproduce
Steps to reproduce the behavior:
`I described the steps to reproduce in the 'Describe the bug' section above.

Screenshots
LED Control Options I'm talking about:
Image

Additional context

  • I have also tried changing the Startup Application Command (for Solaar) to bash -c "sleep 10 && solaar --window=hide" to add a 10 second delay before the launch. This did not seem to change anything.
  • Im not 100% sure it always happens after a restart/re-login, but that seems to be the most consistent way to cause it.
@pfps
Copy link
Collaborator

pfps commented Jan 23, 2025

This looks like a bug, but it may be that it has been fixed. Please update to version 1.1.14 of Solaar.

@BeaconBytes
Copy link
Author

Using latest version via PipX gives the same result.

Image:

Image

@pfps
Copy link
Collaborator

pfps commented Jan 24, 2025

OK. To find out more about what is happening run Solaar as solaar -ddd under the conditions that the problem occurs and post the output. This will show the interactions between Solaar and the device.

@GeorgePapoulidis
Copy link

I have G733. I dont fully understand your issue. But what I can provide in this context is:

  • I have set Solaar to put my RGB strips to off.
  • Sometimes the RGB strip stays on, on the default factory lighting setting
  • The issue can arrise both when pc boots but at others times

Reproduce without even restarting your pc
0. For sanity, you can pick a time when your headset RGB was turned off successfully

  1. Quit Solaar (fully, not just close the window) and turn off your headset (order doesnt matter)
  2. Open Solaar. Everything should have loaded etc, right? Everything should be ready to work, since it worked fine just before that
  3. Turn on you headset.

Result:
You will notice that the RGB wont turn off. The headset is recognized in Solaar, and you can see stuff like battery percentage but for example, the RGB settings wont even appear.

How to solve it:
0. Close everything again

  1. Turn your headset on
  2. Then run Solaar

Result: Now Solaar on boot sees that the headset exists, properly detects it and allows you to edit the RGB settings. Adding to that, now you can close your headset and open it again, and the RGB will work fine. As long as Solaar isnt restarted, it will be able to properly handle your headset to its full extent.

In general, I suspect that because the headset is wireless, and can be turned on and off, manually or automatically to save battery but Solaar doesnt do some kind of subroutine, when new, previously undetected, devices are connected. Thus, when you start Solaar, with all the needed devices connected, Solaar detects them properly, stats all needed subroutines and no issues arise. I believe the issues roots from Solaar assuming that all connected devices, will be connected when the program starts, like it used to be true when all devices were wired.

@pfps
Copy link
Collaborator

pfps commented Jan 29, 2025

The issue is, I believe, that the headset works differently from most other devices that Solaar can support when the headset is turned off. Determining the difference is likely not possible without someone who both understands how Solaar works and how the device works.

@pfps
Copy link
Collaborator

pfps commented Feb 8, 2025

OK. To find out more about what is happening run Solaar as solaar -ddd under the conditions that the problem occurs and post the output. This will show the interactions between Solaar and the device.

I'm waiting for this information.

@GeorgePapoulidis
Copy link

run-with-headset-powered-off.txt
run-with-headset-powered-on.txt

I am not the one who originally opened the issue. And I didnt want to take over the issue, in case the OP was experiencing a differnt issue. But since they are not replying with the logs, I will. Here are my logs attached.

One file contains the logs of running solaar, while my headset was previously turned off, which causes the headset to not get the profile for rgb and thus have its rgb mistakenly turned on. While the other is the run of solaar while my headset was already on and connected to my pc, which caused the rbg to be turned of the moment solaar was booted.

Note that in both cases, after seeing the results based of the rgb, I rebooted my headset for good measure. Nothing unexpected happened. I then killed solaar using the gui "Quit App" button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants