Skip to content

Auto-detect device from device tree#422

Open
WhyNotHugo wants to merge 1 commit into
baskerville:masterfrom
WhyNotHugo:product-form-device-tree
Open

Auto-detect device from device tree#422
WhyNotHugo wants to merge 1 commit into
baskerville:masterfrom
WhyNotHugo:product-form-device-tree

Conversation

@WhyNotHugo
Copy link
Copy Markdown

Attempt to auto-detect the device by reading the device tree compatibility from the kernel. If this information is unavailable or the values are unknown, gracefully fall back to the current approach (using environment variables).

I've only included the Clara HD for now: I don't have access to other devices in order to figure out which values they return, but I've left a clear place where they can be added progressively by others.

Attempt to auto-detect the device by reading the device tree
compatibility from the kernel. If this information is unavailable or the
values are unknown, gracefully fall back to the current approach (using
environment variables).

I've only included the Clara HD for now: I don't have access to other
devices in order to figure out which values they return, but I've left a
clear place where they can be added progressively by others.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant