View previous topic :: View next topic |
Author |
Message |
amanset n00b
Joined: 02 Nov 2002 Posts: 16 Location: Stockholm, Sweden
|
Posted: Thu Nov 14, 2002 6:18 pm Post subject: ALSA not working with a Santa Cruz |
|
|
Hi,
After failing to get my Santa Cruz working with the kernel drivers (https://forums.gentoo.org/viewtopic.php?t=21333) I have been trying to get ALSA to work instead and I am still getting problems.
I know this card works. It works fine in Windows.
My /etc/modules.d/alsa looks like this:
Code: |
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.co
nf,v 1.3 2002/06/24 18:05:58 agenkin Exp $
# ALSA portion
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-cs46xx
options snd-cs46xx snd_external_amp=1
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
|
My lsmod looks like this (when running KDE):
Code: |
-Module Size Used by Not tainted
snd-pcm-oss 38148 1 (autoclean)
snd-mixer-oss 11960 1 (autoclean) [snd-pcm-oss]
snd-cs46xx 71592 2
snd-pcm 58144 0 [snd-pcm-oss snd-cs46xx]
snd-timer 12584 0 [snd-pcm]
snd-rawmidi 15296 0 [snd-cs46xx]
snd-seq-device 4368 0 [snd-rawmidi]
snd-ac97-codec 28292 0 [snd-cs46xx]
snd 30924 0 [snd-pcm-oss snd-mixer-oss snd-cs46xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 3972 5 [snd]
vfat 10428 1 (autoclean)
fat 32056 0 (autoclean) [vfat]
3c59x 25968 1
|
I don't get any errors. I just don't get any sound. This is when logge din as both root and myb (my "normal" user). Both users are in the audio group, as shown by the line in my /etc/group
Please does anyone have anything that can help? I have just run out of ideas. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Nov 14, 2002 7:35 pm Post subject: |
|
|
Apologies if you already know this, but the ALSA drivers mute all sound channels by default, so you won't hear anything until you unmute them. Try running amixer or alsamixer to get it unmuted. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Nov 14, 2002 7:35 pm Post subject: |
|
|
Apologies if you already know this, but the ALSA drivers mute all sound channels by default, so you won't hear anything until you unmute them. Try running amixer or alsamixer to get it unmuted. |
|
Back to top |
|
|
amanset n00b
Joined: 02 Nov 2002 Posts: 16 Location: Stockholm, Sweden
|
Posted: Thu Nov 14, 2002 7:56 pm Post subject: |
|
|
Thanks for the tip, but I have that covered as well.
I have:
Code: |
amixer set Master 100 unmute
amixer set PCM 100 unmute
|
in my /etc/init.d/alsasound
I have these as they are instead of the "alsactl -f $asoundcfg restore" which was causing my machine to halt booting (I got the fix off thi sforum). |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Nov 14, 2002 8:15 pm Post subject: |
|
|
Oops, double posted
What version of the drivers are you using? The rc2 version is still the latest shown in portage, unless you use ACCEPT_KEYWORDS="~x86", but I've used rc3, rc4, and I'm currently using rc5 (with a Santa Cruz), and everything works fine. rc4 and above should also automatically give you multi channel sound, so give them a try if you haven't already. My /etc/modules.d/alsa looks pretty much the same as yours, and as far as I can see all the modules you need are there. What did you do with the sound options when you compiled your kernel? I think you just need to compile in the basic sound support and leave out everything else.
Edit: Oh yeah, one other thing that's worth a try: look at the back of your computer, and check which port on the card your speakers are connected to. If it's the one right next to the joystick port, try it in the next one along. |
|
Back to top |
|
|
amanset n00b
Joined: 02 Nov 2002 Posts: 16 Location: Stockholm, Sweden
|
Posted: Thu Nov 14, 2002 9:27 pm Post subject: |
|
|
Wedge_ wrote: | Oops, double posted
What version of the drivers are you using? The rc2 version is still the latest shown in portage, unless you use ACCEPT_KEYWORDS="~x86", but I've used rc3, rc4, and I'm currently using rc5 (with a Santa Cruz), and everything works fine. rc4 and above should also automatically give you multi channel sound, so give them a try if you haven't already. My /etc/modules.d/alsa looks pretty much the same as yours, and as far as I can see all the modules you need are there. What did you do with the sound options when you compiled your kernel? I think you just need to compile in the basic sound support and leave out everything else.
|
I have soudn support compiled as a module and nothing else.
I just tried rc5 and I now get this in dmesg:
Code: |
ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2895: cs46xx: cs46xx_setup_eapd_slot() Failure to write the GPIO pins for slot 12.
ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2895: cs46xx: cs46xx_setup_eapd_slot() Failure to write the GPIO pins for slot 12.
ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2895: cs46xx: cs46xx_setup_eapd_slot() Failure to write the GPIO pins for slot 12.
|
I have no idea what that is all about!
Quote: |
Edit: Oh yeah, one other thing that's worth a try: look at the back of your computer, and check which port on the card your speakers are connected to. If it's the one right next to the joystick port, try it in the next one along. |
Nothing. Thanks for the help, though. Anything new to try is welcomed by me! |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Nov 14, 2002 9:45 pm Post subject: |
|
|
I get the same messages, but they don't seem to cause any problems, so I've just been ignoring them
I can't think of anything else to try just now I'll post back if I think of something. |
|
Back to top |
|
|
amanset n00b
Joined: 02 Nov 2002 Posts: 16 Location: Stockholm, Sweden
|
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Nov 15, 2002 3:08 pm Post subject: |
|
|
A couple of other things you could try (I don't know if these will help or not, but I've always had mine set up like this): compile the basic sound support into the kernel instead of as a module, and before you emerge the alsa-driver package, do export ALSA_CARDS=cs46xx, which makes it build only the modules for the cs46xx chipset cards. I don't know if it'd make a difference, but what kernel version are you using? I've used gentoo-sources (r7 and r9) and I'm currently using the latest lolo-sources kernel, and ALSA worked with all three. |
|
Back to top |
|
|
|