hardware.raspberry-pi.4.audio.enable
Whether to enable configuration for audio .
type
boolean
example
{
hardware.raspberry-pi.4.audio.enable = true;
}
default
{
hardware.raspberry-pi.4.audio.enable = false;
}
hardware.raspberry-pi.4.dwc2.enable
Whether to enable Enable the UDC controller to support USB OTG gadget functions.
In order to verify that this works, connect the Raspberry Pi with another computer via the USB C cable, and then do one of:
modprobe g_serial
modprobe g_mass_storage file=/path/to/some/iso-file.iso
On the Raspberry Pi, dmesg
should then show success-indicating output
that is related to the dwc2 and g_serial/g_mass_storage modules.
On the other computer, a serial/mass-storage device should pop up in
the system logs.
For more information about what gadget functions exist along with handy guides on how to test them, please refer to: https://www.kernel.org/doc/Documentation/usb/gadget-testing.txt .
type
boolean
example
{
hardware.raspberry-pi.4.dwc2.enable = true;
}
default
{
hardware.raspberry-pi.4.dwc2.enable = false;
}
hardware.raspberry-pi.4.dwc2.dr_mode
Dual role mode setting for the dwc2 USB controller driver.
type
one of "host", "peripheral", "otg"
default
{
hardware.raspberry-pi.4.dwc2.dr_mode = "otg";
}
hardware.raspberry-pi.4.fkms-3d.enable
Whether to enable Enable modesetting through fkms-3d .
type
boolean
example
{
hardware.raspberry-pi.4.fkms-3d.enable = true;
}
default
{
hardware.raspberry-pi.4.fkms-3d.enable = false;
}
hardware.raspberry-pi.4.fkms-3d.cma
Amount of CMA (contiguous memory allocator) to reserve, in MiB.
The foundation overlay defaults to 256MiB, for backward compatibility. As the Raspberry Pi 4 family of hardware has ample amount of memory, we can reserve more without issue.
Additionally, reserving too much is not an issue. The kernel will use CMA last if the memory is needed.
type
signed integer
default
{
hardware.raspberry-pi.4.fkms-3d.cma = 512;
}
hardware.raspberry-pi.4.poe-hat.enable
Whether to enable support for the Raspberry Pi POE Hat. .
type
boolean
example
{
hardware.raspberry-pi.4.poe-hat.enable = true;
}
default
{
hardware.raspberry-pi.4.poe-hat.enable = false;
}
hardware.raspberry-pi.4.tc358743.enable
Whether to enable Enable support for the Toshiba TC358743 HDMI-to-CSI-2 converter.
This can be tested with a plugged in converter device and for example running ustreamer (which starts webservice providing a camera stream): ${pkgs.ustreamer}/bin/ustreamer --persistent --dv-timings .
type
boolean
example
{
hardware.raspberry-pi.4.tc358743.enable = true;
}
default
{
hardware.raspberry-pi.4.tc358743.enable = false;
}