[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

オープン
#2,575 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
desktop, devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
26.4k
フォーク
1k
平均マージ
3日 9時間
マージ済み PR(30日)
103

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AprilNEA/OpenLogi のほかの issue

AprilNEA/OpenLogi の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。