Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

IOKit matcher: HID bus, virtio and VMBus personalities

Chiusa
#360 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, python

Direzione di ricerca

Read iocatalogue.h and the existing USB, ACPI, or PCI matcher work from #358 to understand the provider and scan patterns. Then inspect the bus ivars and Darwin matching keys for HID, virtio, and VMBus, along with kext-meta.py and data/decisions.tsv in nextbsd-kernel-extensions. Done means all three buses support matching, nomatch handling, present scans, and kext metadata, and the held drivers are flipped and regenerated.

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

Descrizione

Epic nextbsd/nextbsd#546 (E21 D12).

Under the autoload rule, a hardware driver ships as a kext only if the in-kernel matcher can load it. #358 added USB, ACPI _HID and PCI class. Drivers whose only MODULE_PNP_INFO table is on another bus are still held. The list is data/not-converted.tsv in nextbsd-kernel-extensions, the rows that read "held: no ID table the kernel matches".

  • HID bus (hidbus): game controllers, multitouch, security keys and raw HID (hgame, hms, hmt, hkbd, xb360gp's HID side and others). HIDGame ships today only as a library.
  • virtio: virtio drivers that are not compiled in.
  • VMBus: the Hyper-V drivers.

Each bus needs:

  • a provider in iocatalogue.h;
  • nomatch handling that reads the bus's ivars;
  • a present-scan walk;
  • kextd support for the Darwin key (for HID, IOHIDDevice with VendorID/ProductID/PrimaryUsagePage/PrimaryUsage);
  • support in kext-meta.py in nextbsd-kernel-extensions.

Then flip the drivers in data/decisions.tsv and regenerate.

Lingua principale
C
Stelle
12
Fork
3
Merge medio
2h 5m
PR unite (30g)
77

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di nextbsd/nextbsd-kernel

Tutte le issue di nextbsd/nextbsd-kernel

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.