LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-17-2006, 06:02 PM   #1
salldubv
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
HowTo Disable Sound Card


I have a ALi Corporation M5451 which is known as ALi 5451. I recently purchased a PCMCIA sound card to get better sound quality through a home theatre system. Anyways, I am running MEPIS 6.0 with all the kubuntu repsoitories..? Why? I had an issue with my wireless card and MEPIS was the only install out of the box that could recognize my wireless card. But as you know mepis is basically... Kubuntu. The problem is MEPIS recognizes both sound cards but boots the onboard as the default. I have looked up how to take care of this and the only thing i find is to disable it through bios, however i cannot do that on this particular notebook pc. Any idea?
 
Old 10-17-2006, 06:09 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Never used that distro but maybe rename the which sound card is defined first in /etc/modprobe.conf would do the trick.

Brian
 
Old 10-17-2006, 07:10 PM   #3
salldubv
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I attempted to edit the /etc/modprobe.conf file but thhe file was empty?
 
Old 10-18-2006, 05:05 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Not sure what to do from here. The file might be called /etc/modules.conf

Brain
 
Old 10-18-2006, 07:07 PM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
To force onboard sound to another sound card.
1) Note name of the module for on-board sound
2) Add "options [module name] index=X" in either /etc/modules.conf or /etc/modprobe.conf. Do not include quotes. X is the card number.

0 is first card
1 is second card
2 is third card
3 is fourth card
 
Old 10-19-2006, 04:38 PM   #6
salldubv
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
ok that may help, but sorry i am a newb, where do i find the module name?
 
Old 10-20-2006, 03:32 PM   #7
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Do you mean the module the hardware is using? First you can run the command ' lsmod ' to list loaded modules. Should have some releataion to snd* something. That may not be part of the name but close to it anyways. List the output if unsure. Since there may be two of them then maybe output of ' lspci ' and searching to find out which module the device may use.

If mean the location of module.conf or modprobe.conf then it is in /etc

Brian
 
Old 10-20-2006, 03:49 PM   #8
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Sound card.. run alsaconf it should detect both sound cards and ask you which one you want to use.. Once selected it will load the appropriate modules for you. follow the prompts..
 
Old 10-20-2006, 04:22 PM   #9
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Do not use alsaconf because it can screw up your configuration. Just type /sbin/lsmod and post the results.I or someone else can sort through the mess.

If you computer has USB, you can try to find Audiotrak Optoplay.
 
Old 10-21-2006, 07:16 PM   #10
salldubv
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
here is the complete output of /sbin/lsmod...




Module Size Used by
radeon 103584 0
drm 66196 1 radeon
binfmt_misc 11144 1
acpi_cpufreq 6152 0
ppdev 8452 0
capifs 5896 1
video 16260 0
thermal 13576 0
tc1100_wmi 6916 0
sony_acpi 5644 0
pcc_acpi 12416 0
ibm_acpi 26112 0
hotkey 11556 0
fan 4868 0
dev_acpi 11140 0
container 4608 0
button 6672 0
acpi_sbs 19980 0
battery 9988 1 acpi_sbs
i2c_acpi_ec 5120 1 acpi_sbs
ac 5252 1 acpi_sbs
af_packet 21000 2
ndiswrapper 156628 0
cpufreq_userspace 4440 0
cpufreq_powersave 1920 0
cpufreq_ondemand 6172 0
speedstep_lib 4228 0
freq_table 4484 1 acpi_cpufreq
processor 23360 2 acpi_cpufreq,thermal
dm_mod 52152 0
md_mod 64084 0
snd_emu10k1_synth 6784 0
snd_emux_synth 32768 1 snd_emu10k1_synth
snd_seq_virmidi 7168 1 snd_emux_synth
snd_seq_midi_emul 6272 1 snd_emux_synth
snd_seq_dummy 3844 0
snd_seq_oss 29952 0
snd_seq_midi 8608 0
snd_seq_midi_event 6912 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 46480 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi _event
snd_emu10k1 103716 2 snd_emu10k1_synth
snd_rawmidi 23328 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_seq_device 8204 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawm idi
snd_util_mem 4480 2 snd_emux_synth,snd_emu10k1
joydev 9152 0
snd_hwdep 8864 2 snd_emux_synth,snd_emu10k1
parport_pc 32708 1
lp 10820 0
parport 32968 3 ppdev,parport_pc,lp
sworks_agp 8864 0
amd_k7_agp 8204 0
ali_agp 6656 0
sis_agp 8452 0
i2c_ali1535 6916 0
ati_agp 8332 1
nvidia_agp 7964 0
usblp 11904 0
usbhid 33888 0
natsemi 24928 0
psmouse 32772 0
ohci1394 31156 0
i2c_ali15x3 7428 0
i2c_core 19984 3 i2c_acpi_ec,i2c_ali1535,i2c_ali15x3
rtc 12468 0
serio_raw 6916 0
pcspkr 2052 0
via_agp 9600 0
yenta_socket 25740 2
rsrc_nonstatic 12288 1 yenta_socket
pcmcia 36668 0
pcmcia_core 38672 3 yenta_socket,rsrc_nonstatic,pcmcia
snd_ali5451 22540 1
snd_ac97_codec 83360 2 snd_emu10k1,snd_ali5451
snd_ac97_bus 2304 1 snd_ac97_codec
snd_pcm_oss 46368 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_pcm 79880 4 snd_emu10k1,snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_timer 22660 3 snd_seq,snd_emu10k1,snd_pcm
snd 50276 18 snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_hwdep, snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9568 1 snd
snd_page_alloc 10248 2 snd_emu10k1,snd_pcm
intel_agp 21276 0
uhci_hcd 29328 0
agpgart 31816 9 drm,sworks_agp,amd_k7_agp,ali_agp,sis_agp,ati_agp,nvidia_agp,via_agp,intel_agp
shpchp 40384 0
pci_hotplug 26164 1 shpchp
evdev 9088 3
Craig@1[~]$
 
Old 10-21-2006, 07:29 PM   #11
salldubv
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
ok well i went out alimb and actually fixed the problem myself... using that output.... snd_ALI5154 i just blacklisted that driver in /etc/modprobe.d/blacklist and it automatically shut out the onboard audio.... excellent... thanks for your help
 
  


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
Disable onboard sound card in Inspiron 8200 kiwidoc66 Linux - Hardware 3 08-02-2006 09:58 AM
How do I totally disable my sound card? max_croft Linux - Hardware 7 11-20-2005 01:34 PM
How to disable sound card jesper54 Mandriva 8 04-29-2005 11:03 AM
If you have a PCI sound card, should you disable the on-board sound card? jtp51 Linux - Newbie 1 10-06-2004 10:42 AM
Disable Sound Card (Mandrake 9.2 KDE 3.1) TSGarp Linux - Newbie 2 12-30-2003 05:01 PM


All times are GMT -5. The time now is 09:06 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