From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EAxHQ-0007MH-98 for garchives@archives.gentoo.org; Thu, 01 Sep 2005 22:11:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j81M7M66009171; Thu, 1 Sep 2005 22:07:22 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j81LtdXZ017079 for <gentoo-user@lists.gentoo.org>; Thu, 1 Sep 2005 21:55:40 GMT Received: by zproxy.gmail.com with SMTP id x7so328652nzc for <gentoo-user@lists.gentoo.org>; Thu, 01 Sep 2005 14:58:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ptTzOt60NGMu3QMq8CGN7Q+4HUbOgB5Nh+Netfqhp8VDwDMdsCaucOt88Gxaq7Nn+ur60/dfIyAc0vzNeAfpcmRAjzhDM5G5+ofKyh5Rk6ZNzozMaSRymNorGzVdnF4N8palckIobM3Yk3slbFHvs9/syaPqDjzMurMEAZU6570= Received: by 10.36.25.14 with SMTP id 14mr760574nzy; Thu, 01 Sep 2005 14:58:10 -0700 (PDT) Received: by 10.36.60.4 with HTTP; Thu, 1 Sep 2005 14:58:10 -0700 (PDT) Message-ID: <5bdc1c8b05090114582c9a53fd@mail.gmail.com> Date: Thu, 1 Sep 2005 14:58:10 -0700 From: Mark Knecht <markknecht@gmail.com> To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] (AMD64) wrong soundcard is becoming default - Gnome unhappy Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j81LtdXZ017079 X-Archives-Salt: 527b6111-2f22-4d79-b514-67b2f02e3eb6 X-Archives-Hash: 12b3ce1bd87f592e554097d937076761 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