Monday, March 28, 2022

[SOLVED] How to check if adapter device is present in device tree? In /proc/device-tree

Issue

How to check if the device is present in device tree using /proc/device-tree?


id='dv4'>

Solution

/proc/device-tree will give you info only about the configured information and not about the running status of the device. If the device driver is not creating/using a folder in /proc directory then I think you should better look under /sys/class to see if the device is available and also the current status.



Answered By - ioko
Answer Checked By - Mary Flores (WPSolving Volunteer)