Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: CentOS 6.4, ElementaryOS Luna, Ubuntu, Ubuntu Server, and other Linux flavors.
Posts: 17
Rep:
Alternatives to lsdev on CentOS/Ubuntu
Hi there:
I was following the book LPI Linux Certification on a Nutshell 3rd Ed. from the O'Reilly publisher, and on the first chapter it talks about lsdev. As I've understood it gathers info from DMA files on /proc to display information about my system hardware. The point is, I've tried to run lsdev both on CentOS 6 and Ubuntu Server, and it looks that it doesn't come default on both. Then I've searched linuxquestions.org since I was sure I'm not the first one to find this problem, and someone suggested to install the package procinfo in order to install lsdev on CentOS. I couldn't find that package neither on the standard repositories nor on elrepo elep ones. So, my question is, what alternative I've got to get the info lsdev shows with the same format it does?
Distribution: CentOS 6.4, ElementaryOS Luna, Ubuntu, Ubuntu Server, and other Linux flavors.
Posts: 17
Original Poster
Rep:
Thanks! I think I could survive with lspci-v, but I give a try to lshw. I've read the man for lshal, and it states that it reads the contents of /usr/share/doc/hal-0.5.14/spec/hal-spec.html but I've been looking for that file, and it doesn't appear on my system. Do you have any clue where it could be lshal reading from? Thanks, again!
I've read the man for lshal, and it states that it reads the contents of /usr/share/doc/hal-0.5.14/spec/hal-spec.html but I've been looking for that file, and it doesn't appear on my system. Do you have any clue where it could be lshal reading from?
I'm not 100% sure on this one, but I do believe that hal (hald) hooks into the lower level udev.
Distribution: CentOS 6.4, ElementaryOS Luna, Ubuntu, Ubuntu Server, and other Linux flavors.
Posts: 17
Original Poster
Rep:
Thanks for the help. Now I've got a better understanding of what hal is, but I will not bother to go further on that since as I've read on the wikipedia page you linked, is going to be dropped for udev.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.