Skip to content

Commit

Permalink
Document fans etc. detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNerma committed Oct 6, 2023
1 parent fac279f commit 7bf3faf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/specs/kernel/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,22 @@ As all devices do not use the same connection protocols, the detection process d
* PCI-Express devices are detected through their Configuration Space
* IDE/SATA devices are detected through the IDE/SATA controller
* USB devices are enumerated through the USB protocol stack
* Motherboard-connected devices are enumerated through the BIOS/UEFI (e.g. CPU and case fans)

Some devices may not be detected through these though, such as some legacy ISA devices, which will be detected through a set of methods like ACPI enumeration or simply checking UART serial ports.

## Connection interface identifier

The *connection interface identifier* (CII) is a 4-byte number describing what a device is connected to:
hardw

- Connection type (1 byte):
- `0x01`: PCI-Express
- `0x02`: IDE
- `0x03`: SATA
- `0x04`: M.2
- `0x05`: USB
- `0x06`: RGB
- `0x07`: Fans
- Bus number (1 byte)
- Port number (2 bytes)

Expand Down

0 comments on commit 7bf3faf

Please sign in to comment.