From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] (AMD64) wrong soundcard is becoming default - Gnome unhappy
Date: Thu, 1 Sep 2005 14:58:10 -0700 [thread overview]
Message-ID: <5bdc1c8b05090114582c9a53fd@mail.gmail.com> (raw)
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
next reply other threads:[~2005-09-01 22:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-01 21:58 Mark Knecht [this message]
2005-09-02 7:05 ` [gentoo-user] (AMD64) wrong soundcard is becoming default - Gnome unhappy Stefan Frank
2005-09-02 11:03 ` Volker Armin Hemmann
2005-09-02 15:18 ` Mark Knecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bdc1c8b05090114582c9a53fd@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox