Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 04-17-2013, 10:43 AM   #1
LQ Newbie
Registered: Mar 2013
Distribution: Ubuntu
Posts: 12

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, 03:33 PM   #2
Registered: Apr 2012
Location: USA
Distribution: Elementary OS Luna
Posts: 83

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, 07:26 AM   #3
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 :
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.


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 11: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 02:54 AM
Hardware scan problems on Pentium 266 system yapp SUSE / openSUSE 1 03-11-2005 12:07 PM
slack9.1 install hangs on hardware scan mbegovic Slackware - Installation 10 05-04-2004 09:39 AM
hardware scan crash in MDK 9.2 Sipiros Linux - Newbie 4 03-12-2004 06:36 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:45 AM.

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