LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
Search this Thread
Old 04-17-2013, 09:43 AM   #1
masonje
LQ Newbie
 
Registered: Mar 2013
Distribution: Ubuntu
Posts: 9

Rep: Reputation: Disabled
scan for new hardware


Is there some kind of hardware discovery command I can run? This is actually on a thin client and I know the image has the drivers. But for some strange quark, maybe about 5% of the time, when I load the image, it doesn't find the sound card. There is a "Factory reset" option that removes all customization, and that seams to fix it. I would like to avoid having to do this, and proactively run a script post customization to check for no audio devices and if nothing is found, then run the hardware discovery command.

OS: ThinPro 4.0 (HP's customized version of Ubuntu 10.04)
Hardware: HP t5745
 
Old 04-17-2013, 02:33 PM   #2
derekpock
Member
 
Registered: Apr 2012
Location: USA
Distribution: Xubuntu 12.10
Posts: 57

Rep: Reputation: 4
In Ubuntu Sofware Center, under preferences, there should be a other hardware tab. There is where it is listed. I assume when you apt-get update, it recheck hardware as well.
 
Old 04-19-2013, 06:26 AM   #3
ra.amri
LQ Newbie
 
Registered: Apr 2013
Location: Casablanca, MOROCCO
Distribution: Gentoo Linux
Posts: 8

Rep: Reputation: 1
I assume the sound card is connected via the PCI bus.

In this case, first type "lspci -D" to determine the path to your sound card, it has the form domain:bus:slot.function at the beginning of the line. (domain is usually 0000)

Then "echo 1 > /sys/class/pci_bus/domain\:bus/rescan".

From the kernel documentation :
Quote:
Writing a non-zero value to this attribute will
force a rescan of the device's parent bus and all
child buses, and re-discover devices removed earlier
from this part of the device tree.
Depends on CONFIG_HOTPLUG
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Probe/scan hardware for creating i minimal Kconfig? mastrboy Linux - Kernel 3 08-21-2012 10:59 AM
How can I scan my hardware to know what it is? (I want info on my CPU, GPU and RAM) brynjarh Linux - Hardware 6 02-28-2006 01:54 AM
Hardware scan problems on Pentium 266 system yapp Suse/Novell 1 03-11-2005 11:07 AM
slack9.1 install hangs on hardware scan mbegovic Slackware - Installation 10 05-04-2004 08:39 AM
hardware scan crash in MDK 9.2 Sipiros Linux - Newbie 4 03-12-2004 05:36 AM


All times are GMT -5. The time now is 12:28 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 Google+: linuxquestions
Open Source Consulting | Domain Registration