LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 11-22-2005, 02:20 PM   #1
hq4ever
Member
 
Registered: May 2004
Location: Israel
Distribution: Debian
Posts: 98

Rep: Reputation: 15
How can I know what hardware was not identified on my system ?


Assuming I'm installing a new linux 2.6 kernel on a system (debian for the sake of example), how can I know what hardware did got identified by my kernel and what wasn't ?

How do I add another "driver's" to my kernel, is simply copying the binary module file into the modules folder will be enough, or do I need to get the source of it and recompile my whole kernel for this ?

Thank you for reading,
Maxim.
 
Old 11-22-2005, 02:40 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010

Rep: Reputation: 45
lspci
should list all PCI devices detected
lsusb
same for usb

you will most likely need the kernel source code configured for your current kernel, then you can compile modules and modprobe them
 
Old 11-22-2005, 11:55 PM   #3
hq4ever
Member
 
Registered: May 2004
Location: Israel
Distribution: Debian
Posts: 98

Original Poster
Rep: Reputation: 15
Exactly lspci, lsusb would give me the hardware the system _is_ aware of, what I wish to have it the list of the hardware that the system could not load the driver for... (like the big red X in windows device manager).

I think that the correct way to go with this is dmesg, but I can't find exactly what I need to grep from there.

Any help would be appreciated.
 
Old 11-22-2005, 11:57 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010

Rep: Reputation: 45
lspci and lsusb will show you hardware that has a driver installed or not
it will give you the device id, manufacturer and other relevant info you will need to track down a driver
 
Old 11-23-2005, 04:27 PM   #5
hq4ever
Member
 
Registered: May 2004
Location: Israel
Distribution: Debian
Posts: 98

Original Poster
Rep: Reputation: 15
I see.

That answers the first part of my puzzle, Thank you.



Lets assume that I find a binary driver (.so file?) that was compiled using some older/newer gcc version then the kernel it self, Do I stand at least a 50 / 50 chances that the kernel will be able to work with that driver ?
Should I load it into the kernel "know-what" list or something like that? Or maybe simply putting it into the directory where the other drivers reside is enough ?

Thank you very much for helping,

Cheers, Maxim.
 
Old 11-23-2005, 04:33 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010

Rep: Reputation: 45
the kernel module will need to be compiled with the same version gcc as the kernel was compiled, if it works with different versions then that is a fluke. it is pretty easy to compile a module, which is what you are talking about, that is something loaded after boot, as long as it isn't a device needed for booting like a raid controller or filesystem you can compile a module and load that module
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics card not identified by linux linuxhaze Suse/Novell 6 02-06-2005 09:30 AM
kudzu identified the wrong card paulhoop Linux - Software 0 01-22-2005 05:52 AM
Partition drive letter cannot be identified? colly Linux - General 7 06-21-2004 11:03 AM
IEEE 1394 DVD can not be identified markwen Linux - Hardware 5 06-20-2004 12:18 AM
HSF wrongly identified as HCF? multiskilled Linux - Newbie 1 12-03-2001 08:02 AM


All times are GMT -5. The time now is 07:25 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration