Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

udev and the device tree?

604 views
Skip to first unread message

Jimmy Johnson

unread,
May 29, 2014, 2:43:51 PM5/29/14
to
Can anyone comment on how these 2 schemes fit together for embedded Linux devices? Should we still use the udev calls to populate known devices to /dev or is there a better way now that we have the device tree available?

Any links on the subject are welcome as well.

Thanks.

Måns Rullgård

unread,
May 29, 2014, 5:01:55 PM5/29/14
to
Jimmy Johnson <eclecti...@gmail.com> writes:

> Can anyone comment on how these 2 schemes fit together for embedded
> Linux devices? Should we still use the udev calls to populate known
> devices to /dev or is there a better way now that we have the device
> tree available?

DT is a method for the bootloader to pass information about the hardware
to the kernel. Udev performs userspace actions based on kernel-provided
information about hardware (and other things). The two are (almost)
entirely unrelated since the kernel reports the same events to udev
regardless of the form in which it received the information.

--
M�ns Rullg�rd
ma...@mansr.com

Jimmy Johnson

unread,
May 29, 2014, 6:27:59 PM5/29/14
to
On Thursday, May 29, 2014 2:01:55 PM UTC-7, Måns Rullgård wrote:
Thanks for straighting me out, it has been awhile since I have looked at drivers (a long while) I wasn't completely clear how udev worked. But now I see how they work together.
0 new messages