Skip to contentSkip to conversation

: Alsa always uses card0 and does not use card1, even when card0 is a modem

ALSA - driver 0000359 [email protected] 1 participant 1 message Jan 27, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=359>
======================================================================
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:47 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)
======================================================================

----------------------------------------------------------------------
tiwai - 01-19-05 17:32
----------------------------------------------------------------------
It'll take time until distributors adapt the post-1.0.8 ALSA. It'd be fine to set default -2, IMO.

----------------------------------------------------------------------
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
    ...

---------------------------------------------------

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 .

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                          

======================================================================

-------------------------------------------------------
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