[Bug]: Keyboard Lighting memory issue

Open
#2,648 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

The payload names no source files. The diagnostics show a Windows wired keyboard (G610, lighting=yes) with the GUI and agent connected over IPC, so start by finding where the agent handles HID++ lighting state and resume-from-sleep. Reproduce by setting brightness to 20%, sleeping, and resuming. Done means the saved brightness is reapplied after wake.

Written by the indexing model from the issue text.

Description

area: gui needs: triage platform: windows type: bug
Pre-flight checklist
  • I searched existing issues and this is not a duplicate.
  • I am on the latest release or a recent master build.
  • I quit Logi Options+ before running OpenLogi (the two apps fight over HID++ access and only one can own a receiver at a time).
Which part of OpenLogi?

GUI (desktop app)

OpenLogi version

0.9.0

Operating system

Windows

OS version & architecture

Windows 11 ARM64

Device model

Logitech Gaming Keyboard G610

How is the device connected?

Wired (USB cable)

Affected area(s)
  • Device discovery / detection
  • Button remapping
  • DPI control
  • SmartShift
  • Per-application profiles
  • Battery status
  • Settings / configuration (TOML)
  • Auto-update
  • Menu bar / tray
  • Other
What happened?

If the computer sleeps and brought back, it doesn't remember the the set lighting conditions. The setting is still set,m but the keyboard will either be back to full brightness or completely off until I change the brightness slider manually.

Steps to reproduce
  1. Set keyboard brightness to an amount (20% for me)
  2. Sleep the computer
  3. Login and the keyboard is either dark or full brightness
  4. Check Settings, the brightness slider is where it was set, but it is not remembering to adjust the brightness after waking up.
Diagnostics report
### OpenLogi Diagnostics

**App**
- OpenLogi (GUI): v0.9.0 (release)
- Agent: v0.9.0 (connected)
- IPC protocol: GUI 45 / agent 45
- Inventory: ready
- OS: Windows (arm64)
- Locale: en-US (UI: follow system)
- Accessibility: granted · Input hook: installed
- Launch at login: yes · Menu bar: yes · Update check: on · Update channel: stable
- Running from: source build (dev)
- Config: schema 11 · 2 configured device(s) · thumbwheel 14

**Assets**
- Source: user cache · Index: loaded (286 models) · User cache: present
- Cache path: C:\Users\Ethan\.local/share/openlogi\assets · Bundle assets: absent

**Devices (3)**
- MX Vertical — mouse (codename: MX Vertical Advanced Ergonomic Mouse)
  - Connection: Logi Unifying receiver · Online: yes · Battery: 20% (discharging, low)
  - Capabilities: buttons=yes, pointer=yes, pointer_scaling=no, lighting=no, force_sensing=no
  - Model: 0b020 (wpid: 407b, model-ids: b020/407b/c08a, ext-model: 00)
  - Transports: USB, eQuad, BTLE
  - Render: mx_vertical · Slot 1
- Logitech Gaming Keyboard G610 — keyboard (codename: Logitech Gaming Keyboard G610)
  - Connection: Wired (USB) · Online: yes · Battery: n/a
  - Capabilities: buttons=no, pointer=no, pointer_scaling=no, lighting=yes, force_sensing=no
  - Model: 0c338 (model-ids: c338/0000/0000, ext-model: 00)
  - Transports: USB
  - Render: ⚠️ none (silhouette) · direct
- HD Pro Webcam C920 — camera
  - Connection: unknown · Online: yes · Battery: n/a
  - Capabilities: not probed
  - Model: 08e5
  - Render: c920 · Slot 0

**Receivers (1)**
- Unifying Receiver (VID 046d / PID c52b)
openlogi list output

Logs

macOS permissions (if applicable)
  • OpenLogi has Accessibility permission (needed to remap buttons via the event tap).
  • OpenLogi has Input Monitoring permission (needed for Bluetooth-direct devices and capture).
Dominant language
Rust
Stars
26.4k
Forks
1k
Avg merge
3d 9h
Merged PRs (30d)
103

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AprilNEA/OpenLogi

All issues in AprilNEA/OpenLogi

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.