kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Information regarding Device Tree
@ 2014-06-03  3:40 JAYESH TANK
  2014-06-03  3:56 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: JAYESH TANK @ 2014-06-03  3:40 UTC (permalink / raw)
  To: kernelnewbies

Hi All,
  I would like to write script to get Windows Device Manager like
functionality to check all the devices present on my Linux machine. What
all are the ways to get about this, is iterating sysfs is the way? Or is
there any other elegant way?

Thanks for support.
Jayesh Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140603/6b7a175c/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Information regarding Device Tree
  2014-06-03  3:40 Information regarding Device Tree JAYESH TANK
@ 2014-06-03  3:56 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-06-03  3:56 UTC (permalink / raw)
  To: kernelnewbies

On Tue, Jun 03, 2014 at 09:10:54AM +0530, JAYESH TANK wrote:
> Hi All,
> ? I would like to write script to get Windows Device Manager like functionality
> to check all the devices present on my Linux machine. What all are the ways to
> get about this, is iterating sysfs is the way? Or is there any other elegant
> way??

sysfs is the way.

Take a look at the existing tools that do this for examples of how it
can be done (KDE has a tool, there are others floating around...)

good luck,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-03  3:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03  3:40 Information regarding Device Tree JAYESH TANK
2014-06-03  3:56 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).