[Bug]: MX Master 2S over Bluetooth LE — main wheel freezes for ~30–40 s (or until power-cycle) when the HID++ channel dies while smooth_wheel/invert_scroll are active

Abierto
#2,575 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
desktop, devtools

Línea de trabajo

Start by tracing the capture channel restart, retirement, and restore paths named in the agent log, especially the device session and inventory watchers. Reproduce with the MX Master 2S over Bluetooth LE while smooth_wheel and invert_scroll are enabled, then follow the repeated main wheel restore failures. Done means the main wheel recovers promptly after HID++ channel loss or the issue provides a clear notification; the report does not identify a specific test.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Environment
  • OpenLogi 0.9.0 (Homebrew cask)
  • macOS 27.2.1 (26B131), Apple silicon
  • Mouse: MX Master 2S (pid b019), connected Bluetooth LE direct (no receiver)
  • Also paired: MX Keys Mini (Bluetooth LE)
  • Logi Options+ fully uninstalled; Input Monitoring granted to OpenLogi Agent
Settings
[devices."unit:<mx-master-2s>"]
smooth_wheel = true
invert_scroll = true

Thumb (gesture) button mapped to "5 directions".

What happens

Every so often the main wheel stops scrolling completely. Pointer movement and clicks keep working. Usually scrolling comes back by itself after ~30–40 s; once it did not recover at all and the desktop app showed the mouse as offline while macOS still listed it as Bluetooth-connected. openlogi list returned "No Logitech HID++ devices" (keyboard included). Restarting the agent did not help; power-cycling the mouse fixed it immediately.

After setting smooth_wheel = false and invert_scroll = false the wheel no longer freezes (only the diverted controls are affected by channel loss).

Expected

If the HID++ channel stops delivering while the main wheel is diverted, the wheel should not stay dead for 30+ s. Possible improvements:

  • Re-establish the channel / re-arm faster, or
  • Avoid diverting the main wheel over Bluetooth LE when the setting can be applied without diversion, or
  • Surface a clear notification ("HID++ channel lost — power-cycle the mouse") instead of silently leaving the wheel diverted.
Agent log (excerpt)
22:10:02 WARN openlogi_device::session::capture: capture channel stopped delivering — restarting session on a fresh channel index=255 capture="control"
22:10:02 WARN openlogi_device::inventory: capture reported the channel dead — retiring it before reopen
22:10:03 INFO openlogi_agent_core::watchers::inventory: reopened a channel retired for failing probes — re-applying volatile settings
22:10:03 WARN openlogi_agent_core::hardware: OS layout write failed index=255 error=DeviceUnreachable { index: 255 }
22:10:05 WARN openlogi_device::session::capture_restore: failed to restore control mapping error=the HID++ channel returned an error control="captured control"
22:10:06 WARN openlogi_device::inventory::ledger: node check failures exhausted the replay grace — surfacing the live result failures=4 channel_failures=2 failure_kind="probe"
22:10:06 WARN openlogi_device::session::capture_restore: failed to restore control mapping error=the HID++ channel returned an error control="main wheel"
22:10:07..22:10:52 WARN openlogi_agent_core::watchers::gesture: capture session ended unexpectedly, delaying re-arm  (repeated every second, keyboard)
22:10:42..22:12:46 WARN openlogi_device::inventory: node probe keeps failing — retiring its channel before reopen  (repeated)

The same pattern appears earlier the same day (21:27, 21:31). "main wheel" restore failures: 21 occurrences on that day, none on days before smooth_wheel was enabled.

Related

Possibly related to #1196 (button capture stalls) and #582 (MX Master 2S), but this one is Bluetooth LE direct and affects the main wheel.

Lenguaje dominante
Rust
Estrellas
26.4k
Forks
1k
Merge medio
3 d 9 h
PR fusionados (30 d)
103

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AprilNEA/OpenLogi

Todos los issues de AprilNEA/OpenLogi

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.