microsoft / microsoft/ArduinoHidForWindows

Windows imposes limitations on HID report descriptor

Aperta
#9 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
C++
Stelle
159
Fork
11
Merge medio
3h 20m
PR unite (30g)
1

Descrizione

Admittedly this issue doesn't strictly belong here, but I also have no better place to report it. I was testing different ways to reduce the report sizes, and found that the Windows 11 host will not activate Dynamic Lighting (nor will indicate any error in Device Manager or wherever), if one of the following is true:

  1. The lamp count or lamp ID is placed in a single byte in the reports.
  2. The lamp purposes is placed in a single byte.
  3. The lamp kind is placed in a single byte.

The latter two are only annoyances, but the lamp ID limitation is more severe in the case of LampMultiUpdateReports, as in this report there are a series of lamp ID fields, which waste a lot of buffer space if the device wants to support updating a large number of LEDs in one report.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo le varianti del report su un host Windows 11, testando i campi a byte singolo per il numero o l’ID della lampada, lo scopo e il tipo. Confronta se Dynamic Lighting si attiva e presta particolare attenzione a LampMultiUpdateReports; il lavoro è completo quando la limitazione riproducibile e il suo impatto sullo spazio del buffer dei report sono documentati chiaramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
embedded-iot, operating-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.