Tremulous Forum
General => Troubleshooting => Topic started by: FeistyBas on March 01, 2007, 09:51:02 am
-
Is it possible to select a non-default soundcard?
There is a non-fixed bug in Feisty that doesn't let me change the default soundcard, so for every application I need to set the soundcard to the one I am using. The onboard one is pony, so I really want to use my Soundblaster.
-
try to disable your onboard soundcard in BIOS
-
Or even better, get rid of the kernel driver for your on-board sound card.
-
best method is to remove onboard chip
-
God dammit why can't you people answer his question?
-
Try export AUDIODEV=<somthing> before running trem.
also can try SDL_PATH_DSP
I got this from http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fenvvars?action=highlight&value=environment+variable
and there are more options there.
-
try to disable your onboard soundcard in BIOS
already did that, but my Feisty is so cool to still find and install it. It doesn't show in Wondiws so it's probably a linux 'feature'.
Or even better, get rid of the kernel driver for your on-board sound card.
if I knew how, i wouldn't be asking questions on a forum, would I?
So please give some hints how.
best method is to remove onboard chip
see above.
God dammit why can't you people answer his question?
LOL!!! Relax mate, i'm not in a rush or anything.. :-)
Try export AUDIODEV=<somthing> before running trem.
also can try SDL_PATH_DSP
I got this from http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fenvvars?action=highlight&value=environment+variable
and there are more options there.
Thanks, I'm working on it right now.
[edit]
the export AUDIODEV=<something> worked for me, thanks for the help!!
[/edit]
-
God dammit why can't you people answer his question?
:roll:
try to disable your onboard soundcard in BIOS
already did that, but my Feisty is so cool to still find and install it. It doesn't show in Wondiws so it's probably a linux 'feature'.
:eek: :eek: :eek: :eek: :eek: :eek: :eek: :eek:
-
:eek: :eek: :eek: :eek: :eek: :eek: :eek: :eek:
I'm not joking here, I'll look into it later on, but I know how to disable my soundcard in bios. Could be just a failing mobo.
-
Sounds to me more like a windows-user installed linux with a mouse, without reading up anything in a manual .)
See the sections about installing modules, modules.conf and the like. ("man modprobe|rmmod")
-
Sounds to me more like a windows-user installed linux with a mouse, without reading up anything in a manual .)
See the sections about installing modules, modules.conf and the like. ("man modprobe|rmmod")
Thanks man, you're really a big help. Keep up the good work.
-
http://ubuntuforums.org/showthread.php?t=205449
"Configuring default soundcards / stopping multiple soundcards from switching"
is probably the part you want to read, setting the option to index=-2 will prevent the card from grabbing any open slots, it's what I did to disable my default sound card.
-
Or even better, get rid of the kernel driver for your on-board sound card.
if I knew how, i wouldn't be asking questions on a forum, would I?
So please give some hints how.
Most distros have kernel sound drivers as kernel modules. Run `lsmod` and look for lines that begin with snd_..., one of them should be named similar to the onboard sound card. If you're still not sure which one(s) it is, skip these modules:
snd_pcm_oss
snd_mixer_oss
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
snd_page_alloc
These ones are ALSA core modules, don't even think about touching them! Next to them, there should be the soundblaster modules and the rest are the modules you want to get rid of. You'll find them somewhere in /lib/modules/kernel-version/, use `find -name` to locate them, they're most likely called 'lsmod_name.ko'.
DO NOT delete them yet, use some package manager tool to query those files to find out which package they belong to. Then try reinstalling that package without them if it's possible. If not, post the names of those modules here to make sure you really don't delete something important.
Oh, and yes, Linux kernel does detect the devices without help from BIOS. However, you can disable that feature when you compile the kernel (disable Plug and Play ACPI support in device drivers configuration).
-
:eek: :eek: :eek: :eek: :eek: :eek: :eek: :eek:
I'm not joking here, I'll look into it later on, but I know how to disable my soundcard in bios. Could be just a failing mobo.
hmm... so I must check my integrated sound card if it behaves the same way...
I thought it is pretty weird because I was convinced that disabling in BIOS such elements as integrated controllers means also cutting off their power, so the OS wouldn't be able to see 'em.
For examle, I've disabled the floppy controller in my BIOS and linux doesn't sees it (I've checked the dmesg output).
But maby it just depends on the mb?
-
:eek: :eek: :eek: :eek: :eek: :eek: :eek: :eek:
I'm not joking here, I'll look into it later on, but I know how to disable my soundcard in bios. Could be just a failing mobo.
hmm... so I must check my integrated sound card if it behaves the same way...
I thought it is pretty weird because I was convinced that disabling in BIOS such elements as integrated controllers means also cutting off their power, so the OS wouldn't be able to see 'em.
For examle, I've disabled the floppy controller in my BIOS and linux doesn't sees it (I've checked the dmesg output).
But maby it just depends on the mb?
as I said removing the onboard sound chip is the best method
-
Oh, and yes, Linux kernel does detect the devices without help from BIOS. However, you can disable that feature when you compile the kernel (disable Plug and Play ACPI support in device drivers configuration).
Thanks, having a look into that tonight, unfortunately I'm at work at the moment...
-
Thanks, having a look into that tonight, unfortunately I'm at work at the moment...
If you're going to compile your own kernel, you can as well skip seaching for the modules and simply disable them in kernel configuration (unless you use external ALSA modules package from apt). Use `make menuconfig` in the kernel sources base directory to run the interactive kernel configuration tool.
Don't forget to get the .config file from your distro kernel package. It should be in /proc/config.gz (gzipped) or included in the kernel apt package. Ungzip/copy it to your kernel sources base directory (eg. /usr/src/linux/.config) before you run `make menuconfig`. Otherwise you'll have to configure the kernel from scratch.
-
as I said removing the onboard sound chip is the best method
yeah... I think that would work :D
-
This did work and is a bit faster than recompiling the kernel:
sudo asoundconf list
I got back:
Names of available sound cards:
V8237
Live
Then do:
sudo asoundconf set-default-card Live
followed by a reboot
Sure enough, the Live is now set to default.
-
Wouldn't `/etc/init.d/alsasound restart` or whatever your ALSA init script is called work even without restart?