System Sound Card Selection at Bootup Incorrect

Bug #56482 reported by Ambimom
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Won't Fix
Undecided
Ubuntu Audio Team

Bug Description

On bootup, the wrong sound card (usb device Ox46d:Ox8b2) is selected by system and cannot be altered by system preferences. Repeated restarts are necessary until the correct sound card (intel ich5) is selected by the system.

When the correct sound card boots, you can hear sound effect at login screen and all media operate normally.

When the incorrect sound card boots, the login screen is silent; Macromedia Flashplayer has no sound; Skype will not work; and Audacity will not initialize.

I have done fresh kernel replacements of ALSA three times which has no effect.

Tags: card sound
Revision history for this message
Ambimom (ambimom-yahoo) wrote :

Someone in the forums gave me a solution that seems to work:

Locate the module names of your sound cards with:

less /proc/asound/modules

mine was:

0 snd_emu10k1
1 snd_ice1712

In /etc/modprobe.d/alsa-base replace:

install sound-slot-0 modprobe snd-card-0
install sound-slot-1 modprobe snd-card-1

with:

install sound-slot-0 modprobe snd_ice1712
install sound-slot-1 modprobe snd_emu10k1

or the other way depending on which card you want as the default (sound-slot-0)

Revision history for this message
Ambimom (ambimom-yahoo) wrote :

Never mind....I tried this and it worked only the first couple of times; by the fourth boot, I still got the wrong sound card; AGAIN!

Revision history for this message
Ambimom (ambimom-yahoo) wrote :

As you can see from the attachment, this bootup gave me the usb sound card at 0, despite the modprob set to boot intel at 0.

The sound card switches at every boot and no amount of tinkering seems to give the one I need.

Revision history for this message
Maarten Mulders (mthmulders) wrote :

I have the same problem. My system has an on-board soundcard (which I'd like to use with Skype), a PCI-soundcard (which I'd like to have default) and a TV-tuner which can also produce sound.
After every boot, I have to find out which index each soundcard has been assigned, so I can configure amaroK e.a. to use the right device.
The suggested solution with /etc/modprobe.d/alsa-base does not work for me, neither.

Revision history for this message
Ambimom (ambimom-yahoo) wrote : Re: [Bug 56482] Re: System Sound Card Selection at Bootup Incorrect

I know how frustrating this is but I finally fixed
mine. I was misinterpreting the Comprehensive Sound
Card instructions. Here's how I fixed mine. I hope
it helps fix yours.

1. First, open Applications, System Tools, Terminal.
At the prompt type: cat /proc/asound/modules

2. You'll see a list of your cards. This is where I
went wrong, I copied wrong. Copy these exactly and
keep them somewhere.

3. In the terminal, type: sudo nano
/etc/modprobe.d/alsa-base

4. Use your arrow keys to cursor all the way to the
bottom of this long text.

5. At the very bottom of it, type:

install sound-slot-0 TYPE the PCI CARD exactly as it
appears
install sound-slot-1 TYPE TV TUNER CARD exactly as it
appears

6. Hit "control key" O, which will write and save the
edited text. Then "control key" X, which will exit.
Then close terminal.

6. Reboot.

Fingers crossed. I still can't believe mine is
booting correctly but it is, every time. Good luck!

--- mthmulders <email address hidden> wrote:

> I have the same problem. My system has an on-board
> soundcard (which I'd like to use with Skype), a
> PCI-soundcard (which I'd like to have default) and a
> TV-tuner which can also produce sound.
> After every boot, I have to find out which index
> each soundcard has been assigned, so I can configure
> amaroK e.a. to use the right device.
> The suggested solution with
> /etc/modprobe.d/alsa-base does not work for me,
> neither.
>
> --
> System Sound Card Selection at Bootup Incorrect
> https://launchpad.net/bugs/56482
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Revision history for this message
bui (esfoad) wrote :

This is the only place I can find that can replicate the bug that I am experiencing as well (even though I am using Mepis). I still hope somebody can help.

I have tried all the above fixes including your last one but the incorrect sound card is still loaded as default.

Looking at my attachment, the only thing I can see which may be different is that an optional module is being loaded above my sound card driver module. Is it OK to remove this line because I want emu10k1 to load?

Revision history for this message
Daniel T Chen (crimsun) wrote :

This is a pci device enumeration problem, not an ALSA issue. That said, there are ways to work around the symptom: you can use the command line utility, asoundconf, and/or you can blacklist the driver you don't want to be the default.

Changed in alsa-driver:
assignee: nobody → ubuntu-audio
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.