* [PATCH] alsa-lib: Conf: Fix channels of ICE1712 to 10/12
@ 2011-03-28 8:35 David Henningsson
2011-03-28 8:44 ` Jaroslav Kysela
0 siblings, 1 reply; 3+ messages in thread
From: David Henningsson @ 2011-03-28 8:35 UTC (permalink / raw)
To: alsa-devel, perex
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
I know this issue has been brought up before, without resolution.
Basically PulseAudio cannot open cards such as M-Audio 2496 and M-Audio
Delta 1010LT because it does not try to open "front" with 10 channels,
only with 2.
I think it is reasonable to assume that a front:x stream should be able
to open with 2 channels only, therefore I'm proposing this fix, and I'm
applying it to Ubuntu as well, unless you have a better idea.
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
[-- Attachment #2: 0001-Conf-Fix-channels-of-ICE1712-to-10-12.patch --]
[-- Type: text/x-patch, Size: 1478 bytes --]
>From caf7ba000b5d09bd073028392235c14f34e63b97 Mon Sep 17 00:00:00 2001
From: David Henningsson <david.henningsson@canonical.com>
Date: Mon, 28 Mar 2011 10:19:16 +0200
Subject: [PATCH] Conf: Fix channels of ICE1712 to 10/12
The ICE1712 kernel driver accepts 10 playback channels and
12 recording channels only. Therefore fix this channel count
in alsa-lib.
BugLink: http://bugs.launchpad.net/bugs/178442
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
src/conf/cards/ICE1712.conf | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/src/conf/cards/ICE1712.conf b/src/conf/cards/ICE1712.conf
index 01e50d2..f5b8add 100644
--- a/src/conf/cards/ICE1712.conf
+++ b/src/conf/cards/ICE1712.conf
@@ -32,12 +32,26 @@ ICE1712.pcm.front.0 {
@args.CARD {
type string
}
- type route
- ttable.0.0 1
- ttable.1.1 1
- slave.pcm {
- type hw
- card $CARD
+ type asym
+ playback.pcm {
+ type route
+ ttable.0.0 1
+ ttable.1.1 1
+ slave.pcm {
+ type hw
+ card $CARD
+ }
+ slave.channels 10
+ }
+ capture.pcm {
+ type route
+ ttable.0.0 1
+ ttable.1.1 1
+ slave.pcm {
+ type hw
+ card $CARD
+ }
+ slave.channels 12
}
}
@@ -57,6 +71,7 @@ ICE1712.pcm.surround40.0 {
type hw
card $CARD
}
+ slave.channels 10
}
<confdir:pcm/surround41.conf>
@@ -79,6 +94,7 @@ ICE1712.pcm.surround51.0 {
type hw
card $CARD
}
+ slave.channels 10
}
<confdir:pcm/iec958.conf>
--
1.7.4.1
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] alsa-lib: Conf: Fix channels of ICE1712 to 10/12
2011-03-28 8:35 [PATCH] alsa-lib: Conf: Fix channels of ICE1712 to 10/12 David Henningsson
@ 2011-03-28 8:44 ` Jaroslav Kysela
2011-03-28 9:24 ` Raymond Yau
0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Kysela @ 2011-03-28 8:44 UTC (permalink / raw)
To: David Henningsson; +Cc: alsa-devel
On Mon, 28 Mar 2011, David Henningsson wrote:
> I know this issue has been brought up before, without resolution. Basically
> PulseAudio cannot open cards such as M-Audio 2496 and M-Audio Delta 1010LT
> because it does not try to open "front" with 10 channels, only with 2.
>
> I think it is reasonable to assume that a front:x stream should be able to
> open with 2 channels only, therefore I'm proposing this fix, and I'm applying
> it to Ubuntu as well, unless you have a better idea.
I applied your change to our git repo . Perhaps we find a better solution
in future.
Jaroslav
-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] alsa-lib: Conf: Fix channels of ICE1712 to 10/12
2011-03-28 8:44 ` Jaroslav Kysela
@ 2011-03-28 9:24 ` Raymond Yau
0 siblings, 0 replies; 3+ messages in thread
From: Raymond Yau @ 2011-03-28 9:24 UTC (permalink / raw)
To: ALSA Development Mailing List
2011/3/28 Jaroslav Kysela <perex@perex.cz>
> On Mon, 28 Mar 2011, David Henningsson wrote:
>
> > I know this issue has been brought up before, without resolution.
> Basically
> > PulseAudio cannot open cards such as M-Audio 2496 and M-Audio Delta
> 1010LT
> > because it does not try to open "front" with 10 channels, only with 2.
> >
> > I think it is reasonable to assume that a front:x stream should be able
> to
> > open with 2 channels only, therefore I'm proposing this fix, and I'm
> applying
> > it to Ubuntu as well, unless you have a better idea.
>
> I applied your change to our git repo . Perhaps we find a better solution
> in future.
>
> Jaroslav
>
But front device cannot be used for capture
I have used David 's alsamixertest to verify that using "front" device of
HDA intel for playback/capture , the softvol plugin "PCM Playback Volume
affect the dB scale
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-28 9:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 8:35 [PATCH] alsa-lib: Conf: Fix channels of ICE1712 to 10/12 David Henningsson
2011-03-28 8:44 ` Jaroslav Kysela
2011-03-28 9:24 ` Raymond Yau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).