User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Hardware Configuration section within the Tech Talk category of DaniWeb, a massive community of 396,972 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,914 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Hardware Configuration advertiser: Lunarpages Linux Web Hosting
Views: 695 | Replies: 8
Reply
Join Date: Apr 2008
Posts: 2
Reputation: no-box is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
no-box no-box is offline Offline
Newbie Poster

Finding devices.

  #1  
Apr 12th, 2008
Hi, I'm runnung 'ubuntu' Gutsy Gibbon. Something I miss woth Linux that I used to find usefull in Windows was the 'new hardware wizard/manager'. Is there anything equivilent that I can run when I install some new hardware so the system can identify the new device?
Chhers, Jon aka no-box
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,457
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 15
Solved Threads: 266
Moderator
Staff Writer
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Finding devices.

  #2  
Apr 12th, 2008
Not really. Hardware support is usually provided by kernel modules, which means that if they exist on your system, they get autoloaded when the computer starts or sometimes even when new hardware is plugged into a running system. If you don't have the appropriate kernel modules to detect a particular piece of hardware, the system won't be able to figure out what driver is needed anyway, so it's assumed you're going to handle it on your own.
Last edited by John A : Apr 12th, 2008 at 8:12 pm.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Apr 2008
Posts: 2
Reputation: no-box is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
no-box no-box is offline Offline
Newbie Poster

Re: Finding devices.

  #3  
Apr 13th, 2008
.....How will I know what modules I have/havn't got ?......
Last edited by no-box : Apr 13th, 2008 at 3:09 pm.
Reply With Quote  
Join Date: Aug 2006
Location: me::house
Posts: 908
Reputation: linux is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 23
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: Finding devices.

  #4  
Apr 13th, 2008
Basically, use the command line to find the devices you have plugged in and running.
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,457
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 15
Solved Threads: 266
Moderator
Staff Writer
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Finding devices.

  #5  
Apr 13th, 2008
>.....How will I know what modules I have/havn't got ?......
More importantly, how do you know which modules you need? Basically, you can find out if a particular piece of hardware is detected by running the commands linux gave (or check the output of the dmesg command). If its name is listed there, it's been detected.

If it isn't detected, you need to do research to find out how support is provided for that piece of hardware (generally it requires you having to either recompile the kernel or compile and install a software package which will result in a module).

Finally, you can manually load a module with the modprobe command (as root). In a terminal, you would type modprobe module_name. If it doesn't give any errors, it's been loaded successfully. If it says that it doesn't exist, you most likely don't have the module installed.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Aug 2006
Location: me::house
Posts: 908
Reputation: linux is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 23
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: Finding devices.

  #6  
Apr 13th, 2008
Originally Posted by John A View Post
If its name is listed there, it's been detected.


*cough* Unless you're ME, and your output of lsusb does nothing... *cough*
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote  
Join Date: Jan 2007
Location: Ireland
Posts: 1,566
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Rep Power: 6
Solved Threads: 63
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: Finding devices.

  #7  
Apr 14th, 2008
another few things to go for:
fdisk -l to detect unmounted drives
look in the /proc directory - it contains a lot of online hardware information
dmesg will show the hardware detected during boot
kudzu (not sure ubuntu has it, RHEL sure does)
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,457
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 15
Solved Threads: 266
Moderator
Staff Writer
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Finding devices.

  #8  
Apr 14th, 2008
>dmesg will show the hardware detected during boot

Well, dmesg displays kernel messages. For example, I can plug in my Firewire drive after I boot, and it's always listed when I run dmesg | tail.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jan 2007
Location: Ireland
Posts: 1,566
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Rep Power: 6
Solved Threads: 63
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: Finding devices.

  #9  
Apr 16th, 2008
no argument there, you can get the same by using something like
watch cat /var/log/messages
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb *nix Hardware Configuration Marketplace
Thread Tools Display Modes

Other Threads in the *nix Hardware Configuration Forum

All times are GMT -4. The time now is 8:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC