The hardware of the Sipeed NanoKVM-Go for Elixir, on its Nerves system.
NanoKVMGo.Video- capture of the HDMI/DisplayPort input, with the hardware H.264 and JPEG encoders, and the EDID it presents, whichNanoKVMGo.EDIDdecodesNanoKVMGo.Audio- the audio of the HDMI/DisplayPort input, or of the USB speaker, as PCMNanoKVMGo.Microphone- sound for the target's USB microphoneNanoKVMGo.USB- the board's USB gadget, for a gadget library such asKuroneko.Gadget, which gives the target computer a keyboard, a mouse, mass storage, a microphone and a speakerNanoKVMGo.Display,NanoKVMGo.Backlight,NanoKVMGo.Touch,NanoKVMGo.Button- the LCD, its touch panel and the BOOT buttonNanoKVMGo.Expansion- the two lines of the auxiliary USB-C portNanoKVMGo.Bluetooth- BlueZ for the controller in the Wi-Fi chip, andNanoKVMGo.Bluetooth.HID, the board as a Bluetooth LE HID deviceNanoKVMGo.Hardware- the board, its parts and drivers, its storageNanoKVMGo.Metrics- CPU, memory, temperature and network each secondNanoKVMGo.CMA- the memory pools of video and the NPU, for the next boots
The processes take their options when started; add them to your supervision tree, the USB gadget first:
children = [
{Kuroneko.Gadget, NanoKVMGo.USB.gadget_options() ++ [functions: [:keyboard, :mouse]]},
NanoKVMGo.Video,
NanoKVMGo.Audio
]
Supervisor.start_link(children, strategy: :one_for_one)The input's EDID, the backlight, the SoC temperature, the hardware and the
memory pools need no process: NanoKVMGo.Video.edid/1,
NanoKVMGo.Backlight, temperature/0, NanoKVMGo.Hardware and
NanoKVMGo.CMA.
Summary
Functions
The temperature of the SoC in degrees Celsius, from its on-die sensor.