LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-28-2018, 12:02 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post How can I understand which hardware not detected by Linux?


Hello.
I installed CentOS 7 x86_64 and I want to understand which hardware not detected by Linux. Any tools or command?

Thank you.
 
Old 11-28-2018, 12:03 AM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
Code:
lspci
Code:
lsusb
 
Old 11-28-2018, 08:12 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
one more
Code:
lshw
 
Old 11-28-2018, 08:19 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by hack3rcon View Post
Hello.
I installed CentOS 7 x86_64 and I want to understand which hardware not detected by Linux. Any tools or command?
Is this a trick question??? If it's *NOT* detected by Linux, how exactly do you expect Linux to TELL YOU about it???

You've been here three years, and are approaching 1,300 posts..you've been told about lspci and lsusb in several other of your threads.
 
2 members found this post helpful.
Old 11-28-2018, 08:23 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 11-28-2018, 08:26 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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?)
 
Old 11-28-2018, 08:53 AM   #7
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by RandomTroll View Post
Code:
lspci
Code:
lsusb
For the OP I doubt lspci alone is very useful.

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.

Last edited by zeebra; 11-28-2018 at 08:58 AM.
 
Old 11-28-2018, 11:50 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
My first port of call tends to be dmesg: see what the kernel said about it.
 
Old 11-28-2018, 02:12 PM   #9
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
Old 11-28-2018, 06:06 PM   #10
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
"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".
 
Old 12-02-2018, 06:33 AM   #11
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
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?
 
Old 12-02-2018, 09:10 AM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by hack3rcon View Post
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.
 
Old 12-03-2018, 04:53 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
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.
 
Old 12-04-2018, 02:06 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hack3rcon View Post
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?
plenty of answers given already.

also, "having a driver" is not the same as "detected", which you would know already if you had put in ANY effort at all.

-1
 
2 members found this post helpful.
Old 12-04-2018, 10:43 AM   #15
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: To Understand the Protection Racket Look Not at Microsoft But at Patent Trolls Which It Sponsors LXer Syndicated Linux News 0 02-09-2018 06:12 PM
LXer: hwinfo (Hardware Info) – A Nifty Tool To Detect System Hardware Information On Linux LXer Syndicated Linux News 0 08-31-2017 04:15 PM
Anyone knows where to find the fw-detect command ? (for firmware/wireless detect) frenchn00b Debian 5 01-13-2010 05:53 AM
linux can't detect my hardware !!! amiri Linux - Laptop and Netbook 3 02-26-2007 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration