[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#291127: marked as done (Please apply patch to allow alsa modules to be loaded with negative index option, to be interpreted as bitmask of allowed indices)

Your message dated Tue, 05 Jul 2005 15:42:01 +0200
with message-id <42CA8E29.5060700@aglu.demon.nl>
and subject line No point
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 18 Jan 2005 22:00:19 +0000
>From jdthood@aglu.demon.nl Tue Jan 18 14:00:19 2005
Return-path: <jdthood@aglu.demon.nl>
Received: from post-23.mail.nl.demon.net [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cr1Od-0002OE-00; Tue, 18 Jan 2005 14:00:19 -0800
Received: from aglu.demon.nl ([]:43709 helo=localhost)
	by post-23.mail.nl.demon.net with esmtp (Exim 4.43)
	id 1Cr1Oc-000DQJ-5q; Tue, 18 Jan 2005 22:00:18 +0000
Received: by localhost (Postfix, from userid 1001)
	id 2B8E010D6D2; Tue, 18 Jan 2005 22:59:38 +0100 (CET)
Content-Type: multipart/mixed; boundary="===============1546887485=="
MIME-Version: 1.0
From: Thomas Hood <jdthood@aglu.demon.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please apply patch to allow alsa modules to be loaded with negative index
 option, to be interpreted as bitmask of allowed indices
X-Mailer: reportbug 3.2
Date: Tue, 18 Jan 2005 22:59:37 +0100
Message-Id: <20050118215938.2B8E010D6D2@localhost>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: kernel-source-2.6.8
Version: 2.6.8-12
Severity: normal
Tags: patch

The attached patch modifies sound/core/init.c so that a negative index
value is interpreted as a bitmask indicating the allowed indices for the
driver.  This extends the current semantics according to which:

   0 .. SNDRV_CARDS - 1    Set index to value
   -1 = 0xffffffff         Set index to first available

by allowing also:

   -2  = 0xfffffffe        Set index to first available > 0
   -4  = 0xfffffffc        Set index to first available > 1
   -8  = 0xfffffff8        Set index to first available > 2
   -16 = 0xfffffff0        Set index to first available > 3

The patch is required in order to provide a convenient way of excluding
ALSA modem and TV drivers from grabbing index 0.  This issue was discussed


The patch is included in alsa-driver 1.0.8-1 and has been applied to
ubuntu's 2.6 kernel.  It has been accepted in principle by upstream too:


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (charmap=ISO-8859-15)

Versions of packages kernel-source-2.6.8 depends on:
ii  binutils                      2.15-5     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-1    A high-quality block-sorting file 
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 

Content-Type: application/x-shellscript
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="alsa-negative-index.dpatch"



Received: (at 291127-done) by bugs.debian.org; 5 Jul 2005 13:42:42 +0000
>From jdthood@aglu.demon.nl Tue Jul 05 06:42:42 2005
Return-path: <jdthood@aglu.demon.nl>
Received: from mailservice.tudelft.nl [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DpnhB-0007pZ-00; Tue, 05 Jul 2005 06:42:41 -0700
Received: from localhost (localhost [])
	by rav.antivirus (Postfix) with ESMTP id 067A180237;
	Tue,  5 Jul 2005 15:42:10 +0200 (CEST)
Received: from aglu.demon.nl (x095.decis.nl [])
	by mx4.tudelft.nl (Postfix) with ESMTP id CB3FA8024F;
	Tue,  5 Jul 2005 15:42:06 +0200 (CEST)
Received: from [] (localhost.localdomain [])
	by aglu.demon.nl (Postfix) with ESMTP id 0736640285;
	Tue,  5 Jul 2005 15:42:02 +0200 (CEST)
Message-ID: <42CA8E29.5060700@aglu.demon.nl>
Date: Tue, 05 Jul 2005 15:42:01 +0200
From: Thomas Hood <jdthood@aglu.demon.nl>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 293300-done@bugs.debian.org, 291127-done@bugs.debian.org
Subject: No point
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at tudelft.nl
Delivered-To: 291127-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

These were unfortunately not implemented for sarge.  The change is 
implemented upstream and will therefore make it into etch, so there is 
no point in keeping the reports open.

Thomas Hood

Reply to: