APPLE_FW(4)

NAME
apple_fw - Apple EFI firmware properties driver

SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:

device apple_fw

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

    apple_fw_load="YES"

DESCRIPTION
The apple_fw driver extracts hardware configuration properties stored in the Apple EFI firmware via the ACPI _DSM() (Device Specific Method) interface.

On Apple Macintosh computers, the EFI firmware populates ACPI device nodes with a vendor-specific _DSM() that returns key-value pairs describing hardware configuration such as device model strings, firmware versions, and hardware addresses. The apple_fw driver identifies Apple ACPI root devices by the ‘AAPL’ HID prefix, invokes _DSM() with the Apple-specific UUID, and exposes the discovered properties through the sysctl(8) interface.

SYSCTL VARIABLES
Properties are exported under dev.apple_fw.0:

dev.apple_fw.0.<key>
    Each property discovered from the EFI firmware is exposed as a read-only sysctl node. The key names and values are determined by the firmware and vary by Mac model.

SEE ALSO
acpi(4), apple_smc(4), sysctl(8)

HISTORY
The apple_fw driver first appeared in DragonFly 6.5.

AUTHORS
The apple_fw driver and this manual page were written by Abdelkader Boudih <dragonflybsd@seuros.com>.