Is there a way to view ALL devices connected to the system?
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.
Is there a way to view ALL devices connected to the system?
I mean ALL devices
It possible in MS Windows via Device Manager how come it's not possible under linux?
Also if there is such way does it tell which devices lack drivers and which ones have been installed correctly? again this is available with MS Windows
To view all usb connected devices simply run lsusb in the terminal.
What distro and desktop environment are you using? In most all modern Linux distros you can view any connected devices like mp3 players, external hard drives, flash drives, and the like straight from the file manager.
OK so #lspci is to show the PCI attached devices regardless if the driver is installed or not
lsusb is for the USB ones
Is that ALL? no other buses? no other types of hardware? and how would I know which device lacks the driver and which one is installed properly?
Thanks
There is an excellent GUI tool for viewing hardware called hardinfo. I think it's available in most repos.
Yes, hardinfo is quite useful for displaying hardware and even contains some benchmarking tools as well. On my Lubuntu 11.10 system hardinfo came preinstalled.
To: ulkoma,
If you tell us what distro and desktop environment you are using then we can likely give you more specific help.
Is there some specific device you are having trouble using on Linux? If so, then tell us what the problematic device is and we can hopefully help you to get it working.
I use Slackware with XFCE and Lubuntu with LXDE. Any attatched devices that contain files I can view, copy, paste, and delete files straight from the file manager or the terminal.
Using lspci, lsusb, hardinfo, or lshw (list hardware) can provide more detailed information if I need it.
To: ulkoma,
If you tell us what distro and desktop environment you are using then we can likely give you more specific help.
Is there some specific device you are having trouble using on Linux? If so, then tell us what the problematic device is and we can hopefully help you to get it working.
Thanks for all the informative answers guys
I am not using any distro at the moment, I keep trying different distro everyday
I am just trying to compare Windows to Linux before I migrate forever
GUI tools are not the best IMO when it comes to Linux (unlike Windows), maybe I am mistaken but I prefer to do everything via plain boring text when it comes to Linux
I'll re-phrase my question:
Do lspci & lsusb show EVERY piece of hardware connected to my machine? in other words is it correct to say that there is only TWO types of buses under Linux? PCI & USB
if this is correct then I'll move on to the next part of my question/comparison
dmesg will show all devices, including the ones shown by the above commands, detected by the kernel. The output of dmesg can be well over 1500 lines long on some systems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.