Skip to content

Add MCHOSE V9 Pro Wireless (291d:385d) - #624

Merged
Sapd merged 1 commit into
Sapd:masterfrom
felipecscontanova-glitch:add-mchose-v9-pro
Nov 7, 2026
Merged

Sapd merged 1 commit into
Sapd:masterfrom
felipecscontanova-glitch:add-mchose-v9-pro

Conversation

@felipecscontanova-glitch

@felipecscontanova-glitch felipecscontanova-glitch commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Changes made

Adds battery status support for the MCHOSE V9 Pro Wireless headset (2.4GHz dongle, VID 0x291d / PID 0x385d, 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. MchoseV9Pro inherits from MchoseX9 and only overrides the vendor id, product ids and name.

Verified on Linux with real hardware (Ubuntu 24.04, hidapi-hidraw 0.14.0):

  • The dongle's report descriptor declares the same vendor collection as the X9: usage page 0xff90, report 0x55, 63 data bytes in and out.
  • A 64-byte write of 55 65 01 00 ... is answered with 55 65 32 02 ... (0x32 = 50%), matching the headset's level at that moment.
  • This branch, built and run on that machine:
$ ./headsetcontrol -b
Found 1 supported device(s):
 MCHOSE V9 Pro Wireless (MCHOSE V9 PRO) [0x291d:0x385d]
Battery:
	Status: BATTERY_AVAILABLE
	Level: 50%

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 0x55 works.

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

  • I adjusted the README (if needed)
  • Not a new capability/feature — uses the existing CAP_BATTERY_STATUS

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
@github-actions github-actions Bot added the awaiting-maintainer The author replied or pushed - our move label Nov 6, 2026
@Sapd
Sapd merged commit b2b6660 into Sapd:master Nov 7, 2026
7 checks passed
@github-actions github-actions Bot removed the awaiting-maintainer The author replied or pushed - our move label Nov 7, 2026
@Escalt4

Escalt4 commented Nov 18, 2026

Copy link
Copy Markdown

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
with USBPcap: the 64-byte query 55 65 01 reaches the dongle over interrupt OUT (ACKed),
but there is never any reply on interrupt IN, and all control-path GET_REPORTs are STALLed
by the device itself. So on FW 0004 no host-side driver can ever work.

The fix is a dongle firmware update — but the desktop M HUB app never offers it. The
vendor's web OTA tool does: https://cdn.mchose.com.cn/OTA/PC/prod/index.html#/update?device=V9Pro
(open in Chrome/Edge, dongle connected; WebHID). There:

  • Upgrade Dongle: 0013 — after this, M HUB shows the battery, and the dongle answers
    the 55 65 01 query with 55 65 XX 00.
  • With headset FW 0002 that reply's field byte is 00, so HeadsetControl's parser
    (response[3] == 0x02) still rejects it and times out.
  • Upgrade Headset fixes the last step: FW 0036+ replies 55 65 XX 02, and HeadsetControl
    4.3.0 reports the battery natively (tested: BATTERY_AVAILABLE, correct level).

Firmware region note: the default "Upgrade Headset" button flashes the Chinese build
(0036, Chinese voice prompts). The international/English build is 1015 — open the tool with
&versionType=1 in the URL: https://cdn.mchose.com.cn/OTA/PC/prod/index.html#/update?device=V9Pro&versionType=1

Suggestion: consider accepting response[3] == 0x00 as a battery field too, so users with
newer dongles but older headset FW still get a reading instead of a timeout.

Thanks for the driver — it works great once the firmware is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants