Repository navigation
Add MCHOSE V9 Pro Wireless (291d:385d) - #624
Conversation
The V9 Pro speaks the same "M HUB" battery protocol as the X9, but its 2.4GHz dongle enumerates under a different USB vendor id (291d:385d, "C-Media Electronics Inc MCHOSE V9 PRO"), so it needs its own entry. MchoseV9Pro reuses MchoseX9 and only overrides the ids and the name. Verified on Linux with the real dongle: the report descriptor declares the same vendor collection (usage page 0xff90, report 0x55, 63 data bytes in and out) and a 64-byte write of 55 65 01 was answered with 55 65 32 02 (50%), matching the headset. Adds tests/test_mchose.cpp with a simulated dongle (heartbeat and other field ids before the battery reply) covering both models. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P94YLjPduHGrDKmgHTiRRs
|
Windows update from a real user of this dongle (291d:385d) — hopefully useful for others: Old dongle firmware (0004, shipped) has no battery telemetry at all. Verified at USB level The fix is a dongle firmware update — but the desktop M HUB app never offers it. The
Firmware region note: the default "Upgrade Headset" button flashes the Chinese build Suggestion: consider accepting Thanks for the driver — it works great once the firmware is updated. |
Changes made
Adds battery status support for the MCHOSE V9 Pro Wireless headset (2.4GHz dongle, VID
0x291d/ PID0x385d, C-Media chipset, USB product string "C-Media Electronics Inc MCHOSE V9 PRO").The V9 Pro uses the same "M HUB" battery protocol as the MCHOSE X9 added in #563, but its dongle enumerates under a different vendor id, so it can't just be another product id in
MchoseX9.MchoseV9Proinherits fromMchoseX9and only overrides the vendor id, product ids and name.Verified on Linux with real hardware (Ubuntu 24.04, hidapi-hidraw 0.14.0):
0xff90, report0x55, 63 data bytes in and out.55 65 01 00 ...is answered with55 65 32 02 ...(0x32 = 50%), matching the headset's level at that moment.This also confirms on Linux the assumption from #563 (only checked by code inspection there): opening the whole HID interface as one node and relying on report id
0x55works.Also adds
tests/test_mchose.cpp: a simulated dongle that sends a heartbeat and another field id before the battery reply, covering both the X9 and the V9 Pro (registration, usage page selection, request bytes, ids not mixed up, silence is an error rather than 0%). All unit tests pass locally; new files formatted with clang-format 18.Not tested on Windows/macOS: supported platforms are inherited from
MchoseX9(Linux/Windows), unchanged.Checklist
CAP_BATTERY_STATUS