[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I tell Debian what the correct soundcard is?



Hello

Striplin, Phil (<phil.striplin@kpmg.co.uk>) wrote:

> Debian Sarge, 2.6.8 kernel, running on a PC (Athlon processor, MCI KT3
> motherboard with onboard sound from a Realtek ALC 650 chip - ie AC97).
> 
> For some reason, immediately after boot, if I start up alsamixer it
> thinks it's working with a totally different soundcard (a Brooktree Bt
> 878, if it matters).  No sound, obviously.  There never has been such
> a soundcard on the system If I run alsaconf, it finds the correct
> soundcard OK, and sound works fine.  Until I boot again, when it
> reverts.

Probably sometimes the broktree driver is loaded first. This makes the
TV card the default device (index 0). You can check this with

cat /proc/asound/cards

You need to reconfigure ALSA to use static index numbers, no matter in
which sequence the drivers are loaded (you can also make sure the
realtek driver is always loaded firs by adding it to /etc/modules, but
I prefer the other way).

Edit some file in /etc/modprobe.d, e.g. /etc/modprobe.d/sound, and add
these lines

options snd_intel8x0 index=0
options snd-bt87x index=1

(if snd_intel8x0 is the driver for your sound card, otherwise change it
accordingly)

After rmmoding the driver and reloading them (or rebooting) the problem
should be gone.

best regards
 Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html



Reply to: