From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000359]: Alsa always uses card0 and does not use card1, even when card0 is a modem Date: Thu, 27 Jan 2005 15:54:44 +0100 Message-ID: <659109757b8470ce9d9b622b924a8fdc@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 049851EE for ; Thu, 27 Jan 2005 15:54:44 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: davidsrsb Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 359 Category: PCI - intel8x0 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Slackware 10.0 Kernel Version: 2.4.26 ====================================================================== Date Submitted: 07-01-2004 16:26 CEST Last Modified: 01-27-2005 15:54 CET ====================================================================== Summary: Alsa always uses card0 and does not use card1, even when card0 is a modem Description: PC is laptop with AC97 DAA (Si3036 modem) detected as card0 and sound is Intel 8x0 as card1. Alsamixer has to be run with -c1 option to avoid "no mixer elems" error (like bug 338) KDE has no sound ( same as bug 353) ====================================================================== ---------------------------------------------------------------------- jdthood - 01-27-05 15:47 ---------------------------------------------------------------------- Here is the patch information you requested ------------------------------------------- Summary: Interpret negative index as bitmask of permissible indexes Currently arguments of the "index" option from 0 through SNDRV_CARDS-1 force a module to take the specified index. Index -1 makes the module take the first available index. This patch extends this convention so that a negative index value is interpreted as a bitmask of the permitted indexes. Special cases: -1 0xffffffff 0 and up -2 0xfffffffe 1 and up -4 0xfffffffc 2 and up ... Signed-off-by: Thomas Hood --------------------------------------------------- The patch can be found in attachment core_init_index_jdth20050107-1.patch. The patch for ALSA-Configuration.txt I attach hereafter as ALSA-Configuration.txt_jdth20050127-1.patch . ---------------------------------------------------------------------- jdthood - 01-27-05 15:54 ---------------------------------------------------------------------- ALSA-Configuration.txt_jdth20050127-2.patch is the same patch applied against today's CVS version of ALSA-Configuration.txt. Issue History Date Modified Username Field Change ====================================================================== 07-01-04 16:26 davidsrsb New Issue 07-01-04 16:26 davidsrsb Distribution => Slackware 10.0 07-01-04 16:26 davidsrsb Kernel Version => 2.4.26 07-02-04 14:34 pzad Note Added: 0001374 01-05-05 23:34 jdthood Note Added: 0003090 01-06-05 17:48 phormix Note Added: 0003092 01-07-05 18:10 tiwai Note Added: 0003108 01-07-05 18:28 jdthood Note Added: 0003112 01-07-05 18:59 jdthood Note Added: 0003114 01-07-05 18:59 jdthood Note Added: 0003115 01-07-05 18:59 jdthood Note Deleted: 0003115 01-07-05 19:00 jdthood File Added: core_init_index_jdth20050107-1.patch 01-07-05 19:03 jdthood Note Edited: 0003114 01-07-05 19:18 tiwai Note Added: 0003116 01-07-05 21:51 jdthood Note Added: 0003122 01-07-05 21:51 jdthood Note Edited: 0003114 01-19-05 17:22 tiwai Note Added: 0003303 01-19-05 17:22 tiwai Note Added: 0003304 01-19-05 17:28 jdthood Note Added: 0003305 01-19-05 17:32 tiwai Note Added: 0003306 01-27-05 15:47 jdthood Note Added: 0003419 01-27-05 15:48 jdthood File Added: ALSA-Configuration.txt_jdth20050127-1.patch 01-27-05 15:54 jdthood Note Added: 0003420 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl