op1 8k v2: info shows only zeros, but dump has real data #1

Open
opened 2026-10-06 14:53:12 +00:00 by FyrrUnderscore · 1 comment

I tried it on my op1 8k v2 and info shows only zeros

setup

  • mouse: op1 8k v2, wired, usb id 3367:1978
  • egctl: 0.2.0, commit 58c9ff6, built with cargo
  • os: nixos unstable, kernel 6.18.54
  • run with sudo

the problem

info says firmware 0.0, all dpi at 0, and every button on "mouse left". the mouse works fine though, all buttons and dpi behave normally. egctl dpi prints CPI 1: 0.

egctl info:

Firmware: 0.0

Polling rate:      8000 Hz
Slamclick filter:  off
Jitter filter:     off
Lift-off distance: 0
Angle snapping:    off
Ripple control:    off
Motion sync:       off
Glass mode:        off
Force max fps:     off
Active CPI levels: 0
  CPI 1: 0 (inactive)
  CPI 2: 0 (inactive)
  CPI 3: 0 (inactive)
  CPI 4: 0 (inactive)
Buttons:
  Left: mouse left
  Right: mouse left
  Middle: mouse left
  Forward: mouse left
  Back: mouse left
  Button 6: mouse left
  Button 7: mouse left

egctl debug (mouse only):

VID:0x3367 PID:0x1978 iface:0 usage:0x0001 path:"/dev/hidraw1"
VID:0x3367 PID:0x1978 iface:1 usage:0x0001 path:"/dev/hidraw2"
VID:0x3367 PID:0x1978 iface:1 usage:0xff01 path:"/dev/hidraw2"
VID:0x3367 PID:0x1978 iface:1 usage:0x000c path:"/dev/hidraw2"
VID:0x3367 PID:0x1978 iface:1 usage:0xff02 path:"/dev/hidraw2"
VID:0x3367 PID:0x1978 iface:1 usage:0xff02 path:"/dev/hidraw2"

egctl dump (all 00 after 0x0080):

0000:  a1 03 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0010:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0020:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0030:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0040:  40 06 00 0a 00 0a 00 00  01 00 00 00 00 f1 00 02
0050:  00 00 00 00 f1 00 04 00  00 00 00 08 00 10 00 00
0060:  00 00 08 00 08 00 00 00  00 08 09 f1 00 00 00 00
0070:  08 01 01 00 00 00 00 08  01 ff 00 00 00 00 08 01
0080:  00 00 01 00 00 00 00 00  00 00 00 00 00 00 00 00

what i noticed

the dump isn't empty, so i guess the data is read fine but parsed at the wrong offsets:

  • 40 06 at 0x40 looks like 1600, which is probably my dpi
  • right after,
I tried it on my op1 8k v2 and `info` shows only zeros ### setup - mouse: op1 8k v2, wired, usb id `3367:1978` - egctl: 0.2.0, commit `58c9ff6`, built with cargo - os: nixos unstable, kernel `6.18.54` - run with sudo ### the problem `info` says firmware 0.0, all dpi at 0, and every button on "mouse left". the mouse works fine though, all buttons and dpi behave normally. `egctl dpi` prints `CPI 1: 0`. `egctl info`: ``` Firmware: 0.0 Polling rate: 8000 Hz Slamclick filter: off Jitter filter: off Lift-off distance: 0 Angle snapping: off Ripple control: off Motion sync: off Glass mode: off Force max fps: off Active CPI levels: 0 CPI 1: 0 (inactive) CPI 2: 0 (inactive) CPI 3: 0 (inactive) CPI 4: 0 (inactive) Buttons: Left: mouse left Right: mouse left Middle: mouse left Forward: mouse left Back: mouse left Button 6: mouse left Button 7: mouse left ``` `egctl debug` (mouse only): ``` VID:0x3367 PID:0x1978 iface:0 usage:0x0001 path:"/dev/hidraw1" VID:0x3367 PID:0x1978 iface:1 usage:0x0001 path:"/dev/hidraw2" VID:0x3367 PID:0x1978 iface:1 usage:0xff01 path:"/dev/hidraw2" VID:0x3367 PID:0x1978 iface:1 usage:0x000c path:"/dev/hidraw2" VID:0x3367 PID:0x1978 iface:1 usage:0xff02 path:"/dev/hidraw2" VID:0x3367 PID:0x1978 iface:1 usage:0xff02 path:"/dev/hidraw2" ``` `egctl dump` (all `00` after 0x0080): ``` 0000: a1 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0040: 40 06 00 0a 00 0a 00 00 01 00 00 00 00 f1 00 02 0050: 00 00 00 00 f1 00 04 00 00 00 00 08 00 10 00 00 0060: 00 00 08 00 08 00 00 00 00 08 09 f1 00 00 00 00 0070: 08 01 01 00 00 00 00 08 01 ff 00 00 00 00 08 01 0080: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ``` ### what i noticed the dump isn't empty, so i guess the data is read fine but parsed at the wrong offsets: - `40 06` at 0x40 looks like 1600, which is probably my dpi - right after,
Owner

wondering if you can test this commit d3d0f87e71

wondering if you can test this commit https://heliopolis.live/creations/egctl/commit/d3d0f87e71935588e1096cb164374a9a02a9c8ab
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
creations/egctl#1
No description provided.