NanoKVMGo (nano_kvm_go v0.4.0)

Copy Markdown View Source

The hardware of the Sipeed NanoKVM-Go for Elixir, on its Nerves system.

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.

Functions

temperature()

@spec temperature() :: {:ok, float()} | {:error, term()}

The temperature of the SoC in degrees Celsius, from its on-die sensor.

The Nerves system shuts the device down at 120 °C.