Re: [Hampshire] another sound question

Top Page
Author: David Ramsden
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] another sound question

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x56753100.hantslug.org.uk.31286': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Fri Mar 23 16:50:49 2007 GMT
gpg: using DSA key B15F69BD3454B217
gpg: Can't check signature: No public key
Mike Burrows wrote:
> Decided to do the "easier" option of re-installing the 2.6 kernel
> without the onboard sound enabled.
>
>> Now edit /etc/modprobe.d/alsa-base and at the bottom you can tell ALSA
>> which module is the primary card by setting its index to 0. i.e. I have
>> a Soundblaster Live! so I would use:
>>
>> options snd_emu10k1 index=0
>
> did this though using a dash rather than an underscore to keep the
> syntax the same as other entries in the file.


Sorry. That was a mistake on my part. It should have been a hyphen as
you correctly spotted.

[snip]
>
> alsa mixer is not using the emu10k1 (this is a driver I take it)
> although it appears a bunch of times (i have included the lsmod list
> below). Alsa mixer is using the chip on the tv card for some reason.
>


Yes. Your lspci shows you have a "Creative Labs SB Live!" with the
EMU10K1 chipset so emu10k1 is the correct module. I have this card at
home in my main workstation.

> Card: Brooktree Bt878                                                │
> Chip: Bt87x                                                          │
> View: Playback                                                       │
> Item: Capture Boost [Off] 

>


This doesn't look right. ALSA isn't setting the SB Live! (emu10k1) as
the primary card.

> I suppose its a little troubling that alsa doesn't appear in the list of
> modules at all. It did before when the MB sound was enabled.
>


There isn't a module called "alsa". It's called "snd". From the Debian
2.6.18-4-686 kernel config:

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m

> If the system is detecting the cards:
>

[snip]
>
> Why isn't alsa "playing" with them both do you think?
>


Depends if you have speakers plugged in to your TV card and if it can
play back sound? :-) "aplay -l" should list any playback sound devices.
It definitely looks like ALSA has chosen your TV card as the primary
card and not your SB Live!. Your lsmod looks fine to me too so I don't
think you need to change kernel etc. again.

I would think it's a case of tweaking something in /etc/modprobe.d/ or
writing a ~/.asoundrc file.

As root, have you tried running "alsaconf"? Afterwards be sure to run
"alsactl store" as root too and finally check levels, card etc. with
alsamixer.

Failing that, have a look at the ALSA wiki [1] or try to make it along
to the next BaB meeting.

[1] http://alsa.opensrc.org/Main_Page

Regards,
David.
-- 
 .''`.     David Ramsden
: :'  :    http://0wned.it/
`. `'`     PGP key ID: 3454B217 on wwwkeys.eu.pgp.net
  `-  Debian - Because it works (tm).