From: Takashi Iwai Subject: Re: Controlling the cards order Date: Fri, 07 Mar 2014 09:30:01 +0100 Message-ID: References: <1394127734.15237.20.camel@Wailaba2> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 82EAE2659B5 for ; Fri, 7 Mar 2014 09:30:02 +0100 (CET) In-Reply-To: <1394127734.15237.20.camel@Wailaba2> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Olivier Langlois Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 06 Mar 2014 12:42:14 -0500, Olivier Langlois wrote: > > Hi, > > I have added a second sound device in my system and it unexpectedly took > the first card slot. > > I have found that it is easy to control the order as long as the devices > use different drivers by modifying > > /etc/modprobe.d/alsa.conf > > ( http://alsa.opensrc.org/MultipleCards ) > > but in my situation I have 2 different devices using the same driver. I > think that there is hope that I find an answer by digging the more > general topic of ordering PCI devices drivers loading but if someone has > few pointers to share, any help is welcome! > > Here are my 2 devices that I would like to change the order: > > lano1106@whippet2 /proc/asound $ cat cards > 0 [PCH ]: HDA-Intel - HDA Intel PCH > HDA Intel PCH at 0xfbf20000 irq 84 > 1 [HDMI ]: HDA-Intel - HDA ATI HDMI > HDA ATI HDMI at 0xfbe60000 irq 88 You can pass index=1,0 option to snd-hda-intel module. Takashi