From: Raymond Yau <superquad.vortex2@gmail.com>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: [RFC Patch] ALSA - EMU10K1 - Remove Center LFE Wave Center and Wave LFE control for SB Live! Platinum
Date: Tue, 5 Apr 2011 17:44:30 +0800 [thread overview]
Message-ID: <BANLkTik6RpZG-WFPvY0GHEe_j+ne=cEnPQ@mail.gmail.com> (raw)
In-Reply-To: <s5hbp0mtgwk.wl%tiwai@suse.de>
2011/4/4 Takashi Iwai <tiwai@suse.de>
> At Wed, 30 Mar 2011 20:50:51 +0800,
> Raymond Yau wrote:
> >
> > SB Live! Platinum CT4760P is just a 4 channels sound card with STAC9721
> and
> > Philips UDA1334 DAC
> >
> > Is it feasible to remove "Center" , "LFE", "Wave Cetner" and "Wave LFE"
> > Playback Volume control ?
> >
> > or add a bitmap to disable the creation of those controls
> >
> > Anyone know whether this patch has any side effect for the user with
> Live
> > Drive
>
> The side-effect is that opening surround51 would spew annoying error
> messages as you've seen. It should return an error without much
> complaint.
>
> I'm not sure what is the best way to solve it.
> Defining another conf such as EMU10K1-4ch.conf would be an option,
> but it's not elegant...
>
>
The side effect is not related to my patch but exout
#define EXTOUT_HEADPHONE_L 0x06 /* LiveDrive - Headphone - left */
#define EXTOUT_HEADPHONE_R 0x07 /* LiveDrive - Headphone - right */
I just follow Documentation/ALSA-Configuration.txt to set extout to 0x1f03
for my SB Live! Platinum without Live! Drive
Input & Output configurations [extin/extout]
* Creative Card wo/Digital out [0x0003/0x1f03]
* Creative Card w/Digital out [0x0003/0x1f0f]
* Creative Card w/Digital CD in [0x000f/0x1f0f]
* Creative Card wo/Digital out + LiveDrive [0x3fc3/0x1fc3]
* Creative Card w/Digital out + LiveDrive [0x3fc3/0x1fcf]
* Creative Card w/Digital CD in + LiveDrive [0x3fcf/0x1fcf]
* Creative Card wo/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]
* Creative Card w/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]
* Creative Card w/Digital CD in + Digital I/O 2 [0x0fcf/0x1f0f]
* Creative Card 5.1/w Digital out + LiveDrive [0x3fc3/0x1fff]
* Creative Card 5.1 (c) 2003 [0x3fc3/0x7cff]
* Creative Card all ins and outs [0x3fff/0x7fff]
As Philips UDA1334 has no hardware volume control
The problem is pulseaudio expect the Front Channel and Rear Channels volume
controls have same dB range
Card hw:1 'Live'/'SB Live! Platinum [CT4760P] (rev.7, serial:0x80401102) at
0xb880, irq 23'
Mixer name : 'SigmaTel STAC9721,23'
Components : 'AC97a:83847609'
Controls : 198
Simple ctrls : 30
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Tone',0
Capabilities: pswitch penum
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [off]
Front Right: Playback [off]
Simple mixer control 'Bass',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 40
Front Left: 21 [52%]
Front Right: 21 [52%]
Simple mixer control 'Treble',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 40
Front Left: 20 [50%]
Front Right: 20 [50%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control '3D Control Sigmatel - Depth',0
Capabilities: pvolume pvolume-joined penum
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 0 [0%]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [0.00dB] [on]
Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'Front',0
Capabilities: cvolume cswitch cswitch-joined penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 2147483647
Front Left: Capture 0 [0%] [-99999.99dB] [off]
Front Right: Capture 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Surround',0
Capabilities: pvolume cvolume cswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 2147483647 Capture 0 - 2147483647
Front Left: Playback 2147483647 [100%] [0.00dB] Capture 0 [0%]
[-99999.99dB] [off]
Front Right: Playback 2147483647 [100%] [0.00dB] Capture 0 [0%]
[-99999.99dB] [off]
next prev parent reply other threads:[~2011-04-05 9:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 12:50 [RFC Patch] ALSA - EMU10K1 - Remove Center LFE Wave Center and Wave LFE control for SB Live! Platinum Raymond Yau
2011-04-04 11:06 ` Takashi Iwai
2011-04-05 9:44 ` Raymond Yau [this message]
2011-04-06 2:15 ` Raymond Yau
2011-04-06 6:38 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTik6RpZG-WFPvY0GHEe_j+ne=cEnPQ@mail.gmail.com' \
--to=superquad.vortex2@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).