Re: sound in slackware 10
From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 11/22/04
- Next message: cowboy carl: "Re: sound in slackware 10"
- Previous message: Moe Trin: "Re: Dialup problems (random disconnect"
- In reply to: cowboy carl: "Re: sound in slackware 10"
- Next in thread: cowboy carl: "Re: sound in slackware 10"
- Reply: cowboy carl: "Re: sound in slackware 10"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: cowboy carl: "Re: sound in slackware 10"
- Previous message: Moe Trin: "Re: Dialup problems (random disconnect"
- In reply to: cowboy carl: "Re: sound in slackware 10"
- Next in thread: cowboy carl: "Re: sound in slackware 10"
- Reply: cowboy carl: "Re: sound in slackware 10"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|