DevicesAll results

TestStockMediusResult
Native data reaching the PCKeyboard with five HID interfaces, an IN on eachAn interface sends nothingNot clonedMediusStock defect
Interval the PC polls atFour mice with a 10 ms intervalIncluding a two-mouse device and two mice with two configurations1 msNative intervalMediusStock defect
HID driver on the PC768-2,047 bytesDoesn't loadLoadsMediusStock defect
Requests given the native replySTM32's USB library924/948948/948MediusStock defect

PassthroughAll results

TestStockMediusResult
Mouse reports reaching the PC1 kHz mouseAll, once, in orderAll, once, in orderEqual
Report latency, p501 kHz mouse1.32-1.40 ms1.03-1.07 msMedius
Report latency, p50125 Hz mouseStock's clone declares 1 ms, the mouse 8 ms (see Poll interval)1.34-1.41 ms4.45-4.49 msStockStock defect
Reports read from a 1 kHz mouse in ~15.5 sInjecting 1,000 moves/s4,706-4,71915,553-16,051MediusStock defect
PC traffic reaching the real deviceSwitch to configuration 2, then backClone reconnects insteadPassed onMediusStock defect
Counter values skippedVendor-page HID interrupt IN80-1400MediusStock defect
Tries with a request left unansweredSET_PROTOCOL, SET_IDLE and GET_PROTOCOL to 2 interfaces6/3000/300MediusStock defect

Injected motionAll results

TestStockMediusResult
Default move latency, p50Resting mouse, 1 count64.07-64.17 ms2.41-2.43 msMedius
Immediate move latency, p50Moving 125 Hz mouse, 1 count1.220-1.328 ms4.373-4.866 msStockStock defect
Default moves with their first count within 0.5 sMoving 125 Hz mouse, 1 count600/600600/600Equal
Reports carrying only injected motion from 15,000 default movesMoving 1 kHz mouse4,619-4,6220Medius
Empty reports in 2 s of one-count moves, mouse still30/s1,927-1,9280Medius

Buttons, keys and locksAll results

TestStockMediusResult
Native press after the injectionNative left held, box injects a left releaseStill heldStill heldEqual
Native input reaching the PCX locked, box injecting Y at 1 kHzNoneNoneEqual

RecoveryAll results

TestStockMediusResult
Left button 3 s after the program exitsPressed, then the port closedStill heldReleasedMediusStock defect
Replug times, p50Unplug to clone gone0.16-0.19 s0.08-0.15 sEqual
Immediate move latency once the clone is back, p50Mouse reporting every 2 s3.17 ms2.06-2.37 msMedius
Held input 3 s after the program stops, 3 tries a runKey held, program silentStill in effectReleasedMediusStock defect
Real device while the PC sleepsMouseSuspendedSuspendedEqual

FeaturesAll results

TestStockMediusResult
Absolute move on a virtual screenMoveskm.movetoNoStock
Drive the pad state the PC getsPad commandskm.controller_stateNoStock
Scale motion, 0-255%Motion scalingNoLOCKMedius
Control transfer to the real deviceDevice commandsNoTRANSFERMedius

SoftwareAll results

TestStockMediusResult
KMBox Net programsProgram supportMove, wheel, three buttons and keys onlyToolkit Forwarding modeNoStock
Package downloadsPyPI, last 30 daysmakcu, pymakcu and makxd against medius3,854691Stock
MembersDiscord28,612767Stock
Previous build kept as a fallbackUpdatesNoBootloader rollbackMedius

Defects

BoxDefectSection
StockReport descriptors >512 bytes aren't served, so the PC's HID driver doesn't load for that interface.Large report descriptors
StockWhile injecting, stock reads a 1 kHz mouse whose speed varies only ~300-550 times/s. At 10 moves/s it reads 2,962-3,035 of 5,500 reports in 5.5 s.Reads while injecting
StockIf a program closes the port or stops sending while a button or key is held or an input locked, it stays in effect until another program releases it or the box restarts (27/27 tries).Program exit
StockWhen the PC switches the clone's configuration, stock reconnects the clone instead of relaying the switch to the real device (3/3 tries). The real device gets 2 bus resets switching to configuration 2 and back.PC to real device
StockNeither an injected move nor a native remote wakeup wakes a sleeping PC.PC sleep
StockMouse clones declare a 1 ms poll interval even when the mouse declares 2-10 ms (a 125 Hz mouse's clone is polled at 1 kHz). Stock's lower latency below 1 kHz comes from this.Poll interval
StockRequests to the clone sometimes go unanswered: SET_PROTOCOL in 6/300 tries. While the PC sets the clone up, report descriptor reads sometimes go unanswered too. The PC's HID driver waits 5 s before asking again, so the clone comes up ~5 s late.Boot protocol requests
StockIn a stream of RAW_MOVEs whose receipts go unread, stock refuses all but the first few (16/200 counts arrive), then every later RAW_MOVE until a power cycle. Ordinary moves are unaffected.Unsmoothed moves
StockWhen the PC pauses reading an interrupt endpoint, stock drops reports: 80-140 counter values skipped in a run's 8,000 reports on each endpoint. Natively, a report the PC hasn't taken stays in the real device.Reads after a pause
StockWhere the real device replies past wLength (LUFA, STM32's USB library, V-USB), stock STALLs the request.Standard requests across device stacks
StockClones have no control endpoint above 0, so every request to one fails. On endpoint 0, stock STALLs reads whose reply is ≥1,024 bytes, a 1,024-byte write, and requests that natively end in an overflow or protocol error. If the real device STALLs a read partway, the PC gets the STALL without the data before it.Relayed requests
StockWhile the PC reads nothing from an interrupt IN, stock still polls it at its declared rate. Natively, an endpoint the PC doesn't read isn't polled.Polls the real device gets
StockStock leaves interfaces it can't relay out of the clone's configuration descriptor (the vendor interface holding 5 of a mouse's 6 interrupt INs, an interface with a second control endpoint). On a keyboard with five HID interfaces, the fifth is declared but emits nothing.Medius with imperfect clones on
StockDescriptors are rewritten to fit the box: IN endpoint 0x87 becomes 0x82, and 65- or 1,024-byte packets are declared as 64 bytes.Medius with imperfect clones on
StockBack-to-back bulk is relayed at 28-39% of the native rate.Medius with imperfect clones on
MediusWhen the real device STALLs a write partway, the PC reports 0 bytes written (once 192), against 64 natively. The clone ACKs each OUT packet before the real device sees it.Relayed requests