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

Bug#293300: 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 [194.159.73.193] 
	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 ([83.160.174.170]: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
X-Spam-Level: 

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

--===============1546887485==
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:

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

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

    https://bugzilla.ubuntu.com/show_bug.cgi?id=1293

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:

    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=359


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

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

IyEvYmluL3NoIC1lCiMgYWxzYS1uZWdhdGl2ZS1pbmRleC5kcGF0Y2ggYnkgVGhvbWFz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QkJCWlkeCA9IHNuZF9lY2Fy
ZHNfbGltaXQrKzsKIAl9IGVsc2UgaWYgKGlkeCA8IHNuZF9lY2FyZHNfbGltaXQpIHsKIAkJaWYg
KHNuZF9jYXJkc19sb2NrICYgKDEgPDwgaWR4KSkKIAkJCWVyciA9IC1FTk9ERVY7CS8qIGludmFs
aWQgKi8K

--===============1546887485==--

---------------------------------------
Received: (at 293300-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 [130.161.131.5] 
	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 [127.0.0.1])
	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 [130.161.177.95])
	by mx4.tudelft.nl (Postfix) with ESMTP id CB3FA8024F;
	Tue,  5 Jul 2005 15:42:06 +0200 (CEST)
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1])
	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: 293300-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 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

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: