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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to