_UID Deep Dive

Firmware-debug focused ACPI identity note.

1 min read
Đọc bằng English Tiếng Việt 日本語
ACPI Advanced cover

_UID distinguishes multiple ACPI devices that share the same hardware ID.

This becomes important when a platform has several similar devices: multiple I2C controllers, multiple batteries, multiple thermal zones, or repeated GPIO-backed devices.

Device (BAT0)
{
    Name (_HID, EisaId ("PNP0C0A"))
    Name (_UID, Zero)
}

Device (BAT1)
{
    Name (_HID, EisaId ("PNP0C0A"))
    Name (_UID, One)
}

Debug Diary

If two devices have the same _HID and confusing _UID values, OS logs and driver instances can become hard to map back to the schematic. During debug, _UID is often the breadcrumb that connects OS-visible instances to board-level reality.

_UID debug checklist

Found this useful?

Save it or share it with someone learning firmware, BIOS/UEFI, and embedded systems.

Nội dung liên quan

Một số bài viết, ghi chú hoặc project có liên quan đến nội dung bạn vừa đọc.

Biến note thành bài viết hoàn chỉnh

Notes là nơi ghi nhanh khái niệm.