Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-06-2008, 12:52 PM   #1 (permalink)
Wise Old Owl
 
Join Date: Jun 2004
Location: Delhi
Posts: 1,466
Question How to disable 1 of the 2 sound card within Ubuntu?


I have dual boot XP/Ubuntu
2 soundcards
1 creative cambridge soundworks
asus mobo onboard sound

in XP the onboard sound is not good as creative & I have the creative drivers for XP which makes the sound good.

On Ubunutu the creative does not give 4.1 sound (out of the box installation) so I want on board card to be used by default, when I make it default in linux it keeps loosing its setting & switch back to creative sound card instead.

Do I need to install special creative drivers, will then it give me 4.1 sound?
How can I disable the creative card from linux so its not detected on boot up thus giving sound from on board card?

I cant disable from BIOS as I need both of them in 1 in XP 2 in linux.

aplay -l gives me this info
Quote:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0xe5c0x6441 [USB Device 0xe5c:0x6441], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Live [SBLive! Value [CT4832]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 2: Live [SBLive! Value [CT4832]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 2: Live [SBLive! Value [CT4832]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
__________________
E6300@3.304Ghz,P5B-Dlx Wifi, 4GB Transcend DDR2 800Mhz, XFX 7600GT,Lenovo 20"Widescreen LCD, Seagate SATA2 HDD 1.5TBx2,Sony DVDRW,Creative 4.1 speakers,APC UPS 800VA,Logitech wireless mouse.

Last edited by ranjan2001; 12-06-2008 at 01:02 PM.
ranjan2001 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 12-06-2008, 01:23 PM   #2 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

This would mostly be in /etc/modules. Post the contents of that file, lets see if the device driver is loaded from here.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 12-06-2008, 01:42 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

blacklist the module of the sound card which you dont want to activate.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 12-06-2008, 04:44 PM   #4 (permalink)
In The Zone
 
unni's Avatar
 
Join Date: Mar 2006
Location: Thiruvananthapuram (Now in Bengaluru)
Posts: 386
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

This is what I do to make my Creative card default:

1. Type 'cat /proc/asound/modules' to determine sound cards name. (In my case, the output will be 'snd_emu10k1' & 'snd_intel8x0'.)
2. Open the file '/etc/modprobe.d/alsa-base'.
3. At the end of this file, add

options snd_emu10k1 index=0
options snd_intel8x0 index=1

Here 'snd_emu10k1' & 'snd_intel8x0' are my 2 cards (Creative and onboard respectively).

After doing this, the card which is given index=0 (snd_emu10k1 in this case) will become the default.

I think this will solve your problem. Even if the Creative card is not giving 4.1 sound, you can still use it instead of the onboard card, in Ubuntu.

Last edited by unni; 12-06-2008 at 04:53 PM.
unni is offline  
Old 12-06-2008, 07:29 PM   #5 (permalink)
Wise Old Owl
 
Join Date: Jun 2004
Location: Delhi
Posts: 1,466
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

Good to know the solution but i now found the way to get 4.1 sound from creative too so as of now part of the problem is solved.

Do I need to install any specific driver for quite old card, default driver though is giving 4.1 sound & I can control all 4 speaker as per my requirement.
__________________
E6300@3.304Ghz,P5B-Dlx Wifi, 4GB Transcend DDR2 800Mhz, XFX 7600GT,Lenovo 20"Widescreen LCD, Seagate SATA2 HDD 1.5TBx2,Sony DVDRW,Creative 4.1 speakers,APC UPS 800VA,Logitech wireless mouse.
ranjan2001 is offline  
Old 12-06-2008, 08:01 PM   #6 (permalink)
In The Zone
 
unni's Avatar
 
Join Date: Mar 2006
Location: Thiruvananthapuram (Now in Bengaluru)
Posts: 386
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

Quote:
Originally Posted by ranjan2001 View Post
Good to know the solution but i now found the way to get 4.1 sound from creative too so as of now part of the problem is solved.
How did you enable 4.1 output?

Quote:
Originally Posted by praka123 View Post
blacklist the module of the sound card which you dont want to activate.
How do I blacklist a module?

Last edited by unni; 12-06-2008 at 08:03 PM. Reason: Automerged Doublepost
unni is offline  
Old 12-06-2008, 08:13 PM   #7 (permalink)
Wise Old Owl
 
Join Date: Jun 2004
Location: Delhi
Posts: 1,466
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

Right click volume control in task bar>open volume control>edit>preference
There select surround & wave surround from the list & then adjust the front & rear speakers, this will get you 4.1 sound.
__________________
E6300@3.304Ghz,P5B-Dlx Wifi, 4GB Transcend DDR2 800Mhz, XFX 7600GT,Lenovo 20"Widescreen LCD, Seagate SATA2 HDD 1.5TBx2,Sony DVDRW,Creative 4.1 speakers,APC UPS 800VA,Logitech wireless mouse.
ranjan2001 is offline  
Old 13-06-2008, 07:42 AM   #8 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post

Quote:
Originally Posted by unni View Post
How do I blacklist a module?
In file , /etc/modprobe.d/blacklist - add the module you want to blacklist in below format :-
Code:
blacklist modulename
first find the modules which are loaded for the sound card which you DONT want to use by looking into the output of "lsmod" command.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 14-06-2008, 09:51 AM   #9 (permalink)
In The Zone
 
unni's Avatar
 
Join Date: Mar 2006
Location: Thiruvananthapuram (Now in Bengaluru)
Posts: 386
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

Thanks ranjan2001 & praka123 for your replies.
unni is offline  
Old 14-06-2008, 02:05 PM   #10 (permalink)
Wise Old Owl
 
Join Date: Jun 2004
Location: Delhi
Posts: 1,466
Default Re: How to disable 1 of the 2 sound card within Ubuntu?

Ur welcome
Just note that the bass/treble/tone all 3 should be checked from preference.
After that go to "switches" tab & check mark "tone" only then bass/treble controls become active, else they are not.
__________________
E6300@3.304Ghz,P5B-Dlx Wifi, 4GB Transcend DDR2 800Mhz, XFX 7600GT,Lenovo 20"Widescreen LCD, Seagate SATA2 HDD 1.5TBx2,Sony DVDRW,Creative 4.1 speakers,APC UPS 800VA,Logitech wireless mouse.
ranjan2001 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hissing Sound/Disturbance Coming From Speakers/Sound Card ! mikeon Audio 8 15-10-2006 10:37 AM
Ubuntu 5.10 creative vibra128 sound card -no sound smurthygr Open Source 8 25-01-2006 11:59 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2