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 Thanks in advance |
In Linux you can use dmesg command with the help of grep to filter output
|
Hi and if you want attached hardware list also then use
#lspci |
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 |
Maybe I am missing something but... when the device works, you can safely guess the driver is loaded and works proprelly
When you hot plug a device, in doubt see output of dmesg command |
There is an excellent GUI tool for viewing hardware called hardinfo. I think it's available in most repos.
In KDE, the KInfoCenter is also quite thorough. Gnome, in contrast, takes a minimalist view of GUI tools in an attempt to avoid clutter. |
Quote:
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. |
Quote:
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 |
lspci shows PCI devices.
lsusb shows USB devices. lscpu displays CPU information. 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. Each of these commands has its own man page. |
Code:
ls /proc |
All times are GMT -5. The time now is 07:29 PM. |