LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-01-2006, 07:33 AM   #1
kiwidoc66
LQ Newbie
 
Registered: Jul 2006
Location: New Zealand
Distribution: Ubuntu Feisty Fawn, Debian
Posts: 17

Rep: Reputation: 0
Disable onboard sound card in Inspiron 8200


Hi there - first post!
Sorry for newbie question. I've installed demudi flavour of Debian on an Inspiron 8200 laptop to use as a home studio. Ive been able to get both the onboard soundcard and Edirol UA-25 USB sound capture device working intermittently but having trouble getting Audacity to recognise USB device.
How can I disable the onboard soundcard in linux? (it can't be disabled from BIOS - tried that!)
 
Old 08-01-2006, 09:42 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,006

Rep: Reputation: 395Reputation: 395Reputation: 395Reputation: 395
Try unloading the driver module for the onboard card at the end of the boot process, assuming the onboard sound has a different driver than the usb sound and the driver is a loadable module rather than compiled into the kernel, both of which seems likely. You will have to determine what that driver is first and then run as root:

# rmmod <onboard sound module>
 
Old 08-02-2006, 05:30 AM   #3
kiwidoc66
LQ Newbie
 
Registered: Jul 2006
Location: New Zealand
Distribution: Ubuntu Feisty Fawn, Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks - lsmod found the modules and rmmod removed them. It seems to be "permanent" ie survives shutdown and reboot. As a matter of interest where does linux store the information about the modules not to load?
 
Old 08-02-2006, 10:58 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,006

Rep: Reputation: 395Reputation: 395Reputation: 395Reputation: 395
It depends on the distro. I don't use debian or debian based distros that much but IIRC you make changes to the modules you want loaded on boot by editing /etc/modules. Actually, the process is more complicated than that in debian. There is a directory called /etc/modutils that contains a lot of module configuration files. A tool called "update-modules" reads the files it finds in the /etc/modutils directory tree and generates a configuration file called /etc/modules.conf which you are not suppose to edit directly.
Rpm based distros list the modules to be loaded in /etc/modprobe.conf or /etc/modprobe.preload for 2.6 kernels. Slackware and BSD have a differenet system whereby changes to modules to be loaded are done by directly editing various init scripts like /etc/rc.d/rc.modules.
Actually, the module loading process in all distros is heavily done by various init scripts with edits to files like /etc/modules, /etc/modproble.conf or /etc/modules.conf serving as ways to further tweak that process without directly editing the init scripts. Slackware has a module-blacklist script; anything you list in there will be banned from loading despite whatever is to the contrary in other init scripts. I don't believe debian has anything like that.
I'm also somewhat surprised that your rmmod command resulted in the module not loading permanently; that's not what usually happens. It could be distro specific or a debian thing, but something must have read which modules were loaded and made the appropriate changes in /etc/modutils to load only those modules on reboot. If you want to experiment, you can reload your onboard sound module with:

# modprobe <module name>

Reboot and see if it comes back and then rmmod it and see if it sticks on reboot.
 
  


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
No sound with SuSE 9.1, Crystal CS4205 Dell Inspiron 8200 thundurstruck Linux - Hardware 3 08-25-2004 08:18 AM
keep onboard sound card enabled when a second sound card has been added ViralHex Linux - Hardware 0 06-08-2004 02:06 PM
Diabling onboard sound card and enabling pci slot sound card abhatia Linux - Hardware 4 01-12-2004 03:10 AM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 06:25 PM
Dell Inspiron 8200 LAN card??? murtix Linux - Hardware 1 03-23-2002 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:57 AM.

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