public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] (AMD64) wrong soundcard is becoming default - Gnome unhappy
@ 2005-09-01 21:58 Mark Knecht
  2005-09-02  7:05 ` Stefan Frank
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2005-09-01 21:58 UTC (permalink / raw
  To: gentoo-user

Hi,
   In my previous Athlon XP I was using two sound cards - an AP2496
and an RME HDSP 9652. I had /etc/modules.d/alsa set up so that the
AP2496 was the default card and the HDSP wa used only when I
specifically called it.

   On my new AMD64 machine I wanted to do much the same thing except
I'm using the onboard sound as well as an RME HDSP 9652. Unfortunately
for some reason it seems that the HDSP 9652 is being made default and
this is not making Gnome happy:

lightning ~ # cat /proc/asound/cards
0 [CK804          ]: NFORCE - NVidia CK804
                     NVidia CK804 with ALC850 at 0xda103000, irq 185
1 [default        ]: H-DSP - Hammerfall DSP
                     RME Hammerfall HDSP 9652 at 0xda000000, irq 209
lightning ~ #

Here's /etc/modules/alsa. Note that I do not want OSS emulation for
the HDSP 9652 so that portion is set up only for the NVidia sound.
This worked for the AP2496/HDSP combo:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##  ALSA portion
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
alias snd-card-1 snd-hdsp
options snd-hdsp index=1
##  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

# Set this to the correct number of cards.
options snd cards_limit=2

   After editing this file I run modules-update and then either
/etc/init.d/alsasound restart or do a reboot. In both cases, on this
machine, Gnome sees no sound card since it's using OSS emulation and
(apparently) pointing at the HDSP.

   How can I get Alsa to point at the NVidia chip as far as Gnome is concerned?

NOTE: alsamixer works and goes to the NVidia chip. alsactl store seems
to store good info.

Tech info:

lightning ~ # lspci
0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory
Controller (rev a3)
0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804
AC'97 Audio Controller (rev a2)
0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA
Controller (rev f3)
0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA
Controller (rev f3)
0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV370
5B60 [Radeon X300 (PCIE)]
0000:01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
0000:05:06.0 Multimedia audio controller: Xilinx Corporation RME
Hammerfall DSP (rev 68)
lightning ~ #


lightning ~ # lsmod
Module                  Size  Used by
snd_seq_midi            7872  0
snd_pcm_oss            50912  0
snd_mixer_oss          16960  1 snd_pcm_oss
snd_seq_oss            33152  0
snd_seq_midi_event      8256  2 snd_seq_midi,snd_seq_oss
snd_seq                54752  5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_hdsp               49860  0
snd_rawmidi            24032  2 snd_seq_midi,snd_hdsp
snd_seq_device          7436  3 snd_seq_midi,snd_seq_oss,snd_rawmidi
snd_hwdep               9376  1 snd_hdsp
snd_intel8x0           32128  1
snd_ac97_codec         85392  1 snd_intel8x0
snd_pcm                89928  4 snd_pcm_oss,snd_hdsp,snd_intel8x0,snd_ac97_codec
snd_timer              22408  2 snd_seq,snd_pcm
snd                    51080  14
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_hdsp,snd_rawmidi,snd_seq_device,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9120  1 snd
snd_page_alloc          9480  3 snd_hdsp,snd_intel8x0,snd_pcm
lightning ~ #

Thanks in advance,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-02 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-01 21:58 [gentoo-user] (AMD64) wrong soundcard is becoming default - Gnome unhappy Mark Knecht
2005-09-02  7:05 ` Stefan Frank
2005-09-02 11:03   ` Volker Armin Hemmann
2005-09-02 15:18   ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox