LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HowTo Disable Sound Card (https://www.linuxquestions.org/questions/linux-hardware-18/howto-disable-sound-card-493303/)

salldubv 10-17-2006 06:02 PM

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?

Brian1 10-17-2006 06:09 PM

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

Brian

salldubv 10-17-2006 07:10 PM

I attempted to edit the /etc/modprobe.conf file but thhe file was empty?

Brian1 10-18-2006 05:05 PM

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

Brain

Electro 10-18-2006 07:07 PM

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

salldubv 10-19-2006 04:38 PM

ok that may help, but sorry i am a newb, where do i find the module name?

Brian1 10-20-2006 03:32 PM

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

farslayer 10-20-2006 03:49 PM

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..

Electro 10-20-2006 04:22 PM

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.

salldubv 10-21-2006 07:16 PM

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[~]$

salldubv 10-21-2006 07:29 PM

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


All times are GMT -5. The time now is 09:25 PM.