Re: sound in slackware 10

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 11/22/04


Date: Mon, 22 Nov 2004 23:55:09 +0100

Hello

cowboy carl (<none@laa.dee.duummm.do>) wrote:
> Andreas Janssen wrote:

>> It is also possible that the first "sound card" alsa recognizes is
>> the TV card. Take a look at /proc/asound:
>>
>> lrwxrwxrwx 1 root root 5 2004-11-22 19:45 Bt878 -> card1
>> lrwxrwxrwx 1 root root 5 2004-11-22 19:45 Live -> card0
>>
>> Pleast show us the output of lsmod | grep snd.
>
> /proc/asound looks like this
>
>
> lrwxrwxrwx 1 root root 5 2004-11-22 20:47 Bt878 -> card0
> lrwxrwxrwx 1 root root 5 2004-11-22 20:47 ICH5 -> card1
> dr-xr-xr-x 4 root root 0 2004-11-22 20:47 card0
> dr-xr-xr-x 9 root root 0 2004-11-22 20:47 card1
> -r--r--r-- 1 root root 0 2004-11-22 20:47 cards
>
> with a few more entries, but I guess those are the important ones...
>
> Does this mean ICH5 is my soundcard, and Bt878 is my TV card, and that
> this is what it causing alsa to get confused?

It means that perhaps apps try to use card0 as default, which doesn't
work. You can change this by creating a systemwide configuration file.
I think you need to create /etc/asound.conf and add the following
lines, but I am not sure:

pcm.!default {
        type hw
        card 1
        }

        ctl.!default {
        type hw
        card 1
        }

There is a longer documentation available here:
<http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php?module=Generic>

Swithing the order in which the drivers are loaded should also work. If
you make sure the driver for the sound card (snd-i8x0-audio?) is loaded
first, the sound card should be the first device.

> "lsmod | grep snd" in knoppix didn't show anything, as I said in the
> other post ... lsmod in knoppix suggests that i810_audio and
> ac97_codec were loaded.
>
> Can I just check I understand this right so far...
>
> Knoppix is using OSS drivers, which seem to work okay with my PC.
>
> Slackware is using ALSA with OSS compatibility, which currently isn't
> working, but that might be because it is getting confused between my
> sound card and my TV card. In which case, ALSA might still work if I
> can unconfuse it.

Yes, I think that is the case.

> If not, I need to get rid of ALSA and install the OSS drivers
> (i810_audio and ac97_codec) on here.
>
> Right? Or not.

Right. In that case, it should be sufficient to edit
your /etc/modprobe.conf, remove the entries that have to do with ALSA
(or put # in front of those lines), and add a line

alias sound-slot-0 i810_audio

If your distribudion uses separate files in /etc/modprobe.d instead
of /etc/modprobe.conf, make your changes there. If you use kernel 2.4,
edit /etc/modules.conf.

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


Relevant Pages

  • Re: AC 97 Soundcard
    ... Today finally I had a chance to install the drivers. ... * execute alsaconf (generates entries in modules.conf) ... >>The sound card is detected by the Kernel, ...
    (RedHat)
  • Re: Sound porblems with Suse 10.1 and MSI Motherboard
    ... With /dev/adsp I get an error message telling me device not available ... for alsa and /dev/dsp for OSS. ... sound card - i.e. midi, wave etc. and what specific hardware each used. ... Also arts sometimes gets started, ...
    (comp.os.linux.hardware)
  • Re: alsamixer wont come up properly, cant adjust volumes
    ... I'm using one sound card, the one integrated on my asus m2n-mx motherboard. ... The only messages in the log concerning alsa say the driver has been loaded. ... I've done this in the past, but in the last two installs ... > alsa mixer wont load properly ie, the program will open but there are ...
    (Fedora)
  • Re: alsa sound card
    ... where everything really works under ALSA? ... >> cpu time. ... >can use the game port for external midi. ... and back to digital before it makes it's way through the sound card. ...
    (comp.os.linux.hardware)
  • Re: Sound porblems with Suse 10.1 and MSI Motherboard
    ... for alsa and /dev/dsp for OSS. ... I cry for a birdy!! ... That seems to be the pci timing for the ... sound card - i.e. midi, wave etc. and what specific hardware each used. ...
    (comp.os.linux.hardware)