How can I understand which hardware not detected by Linux?
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.
I wasn't going to say that, "If it's *NOT* detected by Linux, how exactly do you expect Linux to TELL YOU about it" that was my first thought. but i seen answers to I just added one to it.
the only thing I can imagine is the logs, if you could find some lines about unrecognized devices. But as it was mentioned how do you expect any result if not detected. I'm sure that tool will/should report my old nokia phone too (or was that detected properly?)
Something more useful in knowing which hardware is "detected" is to use:
Code:
lspci -v
this will actually list the same hardware, but in the end have the info "kernel module" and "kernel driver in use". This information CAN be used to determin if there is some problematic module loading or hardware that does not have any module or "driver" loaded, or the incorrect one or something alike to that.
Another way to accomplish what the thread starter want is ofcourse to manually inspect the "dmesg" file.
Code:
dmesg
or
nano /var/log/dmesg
Ps. lspci also comes with a "-vv" option. This will give even more info.. Same is valid for lsusb, but it does not give the useful module/kernel info of lspci.. But under the "iproduct" part it seems to give the Kernel module information.
I thought it was obvious that Linux can't report what it doesn't detect. Telling OP how to find what Linux has detected sets him up to eliminate the hardware he knows he has from the hardware Linux detects.
Code:
lspci -v
may be more information than a user who asks such a question wants on the first pass. If the next question is 'lspci detects my frammis, but Linux seems not to be using it', then
Code:
lspci -v
is the next step.
Linux does the opposite for me: it detects USB hubs that aren't available, probably because the stock USB chip supports 4 but the computer has only 2 ports.
"Detect" is ofcourse a very funky term to use, I think the thread starter actually means isn't functioning as expected. If it isn't, and he truly means "detect", than the only way I guess is to compare the system hardware specifications against what is actually detected by his GNU/Linux system, and then deduct if something was not "detected".
Windows OS can show you which hardware are detected and their drivers are installed and which hardware not detected and need drivers. How about Linux?
As you were told in this thread (and in some of your other threads), you can use lsusb, lspci, dmesg, and other commands to see the 'raw' hardware. Not sure how many more times you'd like to hear those answers.
For an OS to be able to know hardware there has to be a way for hardware to report. PCI bus devices tend to have a chip that reports. The way usb works is it tends to have a way to report. If you have some device outside of those two formats then you may have to use other means to report it. Bios and uefi present devices differently so booting in CSM and UEFI may present different hardware to the OS.
I think what you want is something like Device Manager's little exclamation points next to "Unknown device"? What reason would there be for that? The kernel will already take care of connected hardware that it doesn't have drivers for -- I have a Panda Wireless PAU05 that comes with Linux drivers, yet in absence of their installation the "rt2x00 lib/usb" drivers are working just fine for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.