How can I set the default audio device?
I recently built myself a computer and I'm running Slackware -current on it. My slight dilemma is that it has three audio devices and for the life of me, I can't figure out how to set one as the standard default.
The devices are: 1) Intel 82801JI (ICH10) which uses the snd_hda_intel module 2) ATI HD48x0 audio (which I'm not using at the moment) 3) Logitech USB headset I want the Intel to be the default audio, however if I boot with the USB headset plugged in, it is always grabs the default, and the Intel audio is secondary. Since I don't always have the headset plugged in (and I want the Intel to be the default regardless), this causes a problem. I tried running the following in my /etc/modprobe.d/sound file, but if the options line is there, the Intel chip simply isn't found (the exact error is "hda-intel: error creating card"). Code:
alias snd-card-0 snd-hda-intel From the googling I've done, I thought this would be the answer, but obviously not so, so any suggestions would be very welcomed. |
You can try blacklisting the modules used by the Logitech USB headset by editing the /etc/modprobe.d/blacklist file.
|
Sorry, I probably should have been clearer. I need to use both the Intel soundcard and the USB headset, so disabling the headset isn't what I'm after.
|
I wonder if you're getting the error "hda-intel: error creating card" because by the time the hda-intel device is recognized, some other audio device has already been assigned to index slot 0. What happens if you create alias and options lines for your other audio devices as well, with index=1 and index=2 for the other devices?
|
Quote:
Code:
alias snd-card-0 snd-hda-intel |
I've also used this method before and it works
http://princ3.wordpress.com/2006/10/...d-under-linux/ Ignore this method, use the above |
Quote:
I haven't found a workaround for the incompatibility of Flash versions 9+ with default audio devices defined in ~/.asoundrc and /etc/asound.conf. |
I was making the assumption that the .asoundrc approach was pretty much rendered obsolete by HAL. I never found a definitive article, but that seemed to be the gist of what I was reading.
|
All times are GMT -5. The time now is 04:11 AM. |