<!-- Canonical page: https://reversedwithai.com/p/rawm-wireless-mouse-7b35f51f -->
Canonical page: https://reversedwithai.com/p/rawm-wireless-mouse-7b35f51f

# RAWM wireless mouse battery protocol and a Linux kernel driver, built with Claude

> A DKMS kernel driver that shows RAWM mouse battery levels in UPower, based on the vendor's WebHID page.

The README says the protocol was reverse engineered from the JavaScript of RAWM's WebHID configuration page. The three commits carry Claude Opus 5.5 trailers.

## Key facts

- Target: RAWM wireless mouse (Leviathan V4)
- Category: Firmware and hardware
- Platform: Linux
- Models: Claude Opus 5.5
- Tools: DKMS, UPower
- Outcome: Works
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: ProSep
- Added: 2026-11-20
- Updated: 2026-11-20
- Sources reviewed: 2026-11-20 (automated reviewer)

## What was done

RAWM (Rawmtech) wireless mice have no Linux software; the configuration tool is a WebHID web page. According to the README, the battery protocol was reverse engineered from that page's JavaScript, and the result is a Linux kernel driver (hid-miracletek) that makes the mouse battery appear as a normal power supply, so UPower and desktop battery indicators pick it up.

The README lists the RAWM HS Receiver with a Leviathan V4 mouse (USB ID 1915:2346, receiver firmware G-2.0.3) and the same mouse plugged in by cable (1915:234a) as tested. While charging by cable the mouse stops answering over radio, so the driver reads the battery over USB instead. The driver also fixes a Linux-only wired-mode problem where the mouse stopped responding a few seconds after plugging in the cable; a small userspace fix is documented separately. A NOTES file and a Python helper are included.

All three commits carry Claude Opus 5.5 co-author trailers. The repository holds source, udev and DKMS files and notes only, no vendor web page copy. Other RAWM mice are untested.

## Human work and limitations

Tested on one receiver and one mouse model. The project is a few hours old, with all commits dated 20 November 2026.

## Reproduce it

Install dkms and kernel headers, copy the hid-miracletek files to /usr/src and run dkms install as the README describes, then check the battery with upower.

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/prosep/rawm-mouse-battery/commits.atom))

Excerpts checked against the source on 2026-11-20.

## Sources

- [Repository](https://github.com/ProSep/rawm-mouse-battery)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: ProSep (2026). RAWM wireless mouse battery protocol and a Linux kernel driver, built with Claude. Reversed with AI. https://reversedwithai.com/p/rawm-wireless-mouse-7b35f51f
