LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Finding Hardware Info on Peppermint (https://www.linuxquestions.org/questions/linux-software-2/finding-hardware-info-on-peppermint-4175437818/)

rabiticide 11-19-2012 11:58 AM

Finding Hardware Info on Peppermint
 
I am trying to find a utility (sort of like Windows "Device Manager") which will show my hardware configuration and drivers. I have searched for "device" hardware utilities" etc. on the synaptic package manager but not really finding what I want...

Does anyone here know a good utility package that can show me all the hardware and drivers being used to communicate with them?

thanks

fakie_flip 11-19-2012 12:44 PM

There are a number of ways to check what hardware you have in Linux. These are all important to know when configuring a kernel from source before compiling it.

Code:

lspci
lsusb
lshw
cat /proc/cpuinfo
hwinfo
dmidecode (run as root)

There may be more that are just a google search away, and they might just give you the same info as the ones above do.

To see drivers (kernel modules) in use, use

Code:

lspci -nnk
On my machine, here is a snip of the output.

Code:

00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8249]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd-hda-intel

You can see the kernel module (driver) in use is snd-hda-intel. This is extremely useful when compiling a kernel to know what to include in your kernel config. Most everything should be compiled directly into the kernel for your specific hardware. That will result in a much faster more efficient kernel.

For a few devices that are not always in use such as my usb webcam, I left it as a module, so that it only loads when in use. This is just my preference. You can do it either way.


All times are GMT -5. The time now is 12:29 PM.