kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #21588
[Bug 1236965] Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Add internal surround speaker elements
On Mon, 2013-10-14 at 16:16 +0200, David Henningsson wrote:
> These kcontrol names have started to show up lately, especially in
> combination with surround internal speakers.
>
> BugLink: https://bugs.launchpad.net/bugs/1236965
> Signed-off-by: David Henningsson <david.henningsson@xxxxxxxxxxxxx>
> ---
> .../alsa/mixer/paths/analog-output-speaker.conf | 31 ++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
> index ccd438f..d79fad1 100644
> --- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
> +++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
> @@ -38,6 +38,11 @@ required-any = any
> state.plugged = unknown
> state.unplugged = unknown
>
> +[Jack Speaker Front Phantom]
> +required-any = any
> +state.plugged = unknown
> +state.unplugged = unknown
> +
> [Element Hardware Master]
> switch = mute
> volume = merge
> @@ -88,6 +93,13 @@ override-map.1 = all-front
> override-map.2 = front-left,front-right
> required-any = any
>
> +[Element Speaker Front]
> +switch = mute
> +volume = merge
> +override-map.1 = all-front
> +override-map.2 = front-left,front-right
> +required-any = any
> +
> [Element Rear]
> switch = mute
> volume = merge
> @@ -107,12 +119,25 @@ override-map.1 = all-rear
> override-map.2 = rear-left,rear-right
> required-any = any
>
> +[Element Speaker Surround]
> +switch = mute
> +volume = merge
> +override-map.1 = all-rear
> +override-map.2 = rear-left,rear-right
> +required-any = any
> +
> [Element Side]
> switch = mute
> volume = merge
> override-map.1 = all-side
> override-map.2 = side-left,side-right
>
> +[Element Speaker Side]
> +switch = mute
> +volume = merge
> +override-map.1 = all-side
> +override-map.2 = side-left,side-right
> +
> [Element Center]
> switch = mute
> volume = merge
> @@ -152,4 +177,10 @@ volume = merge
> override-map.1 = all-center
> override-map.2 = all-center,lfe
>
> +[Element Speaker CLFE]
> +switch = mute
> +volume = merge
> +override-map.1 = all-center
> +override-map.2 = all-center,lfe
> +
> .include analog-output.conf.common
Should these elements be muted in other paths?
--
Tanu
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1236965
Title:
pulseaudio does not recognize internal speakers [P180HMx, Realtek
ALC892, Speaker, Internal] volume slider problem
Status in “linux” package in Ubuntu:
Fix Committed
Status in “pulseaudio” package in Ubuntu:
In Progress
Bug description:
steps to reproduce:
1. acquire a device with the problem, such as Clevo P180HM laptop motherboard
2. install ubuntu 12.04 (now updated to 12.04.3 currently)
3. systray > speaker-icon > sound-settings > output tab
4. no entry for "speakers built-in audio" appears
workaround:
running the shell script mentioned in this comment helps --
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/946232/comments/158
however, the workaround is not completely satisfactory, because
adjusting the (singular) volume-slider provided by pulseaudio only
causes some of the (multiple) volume-sliders known to alsamixer to react.
Specifically, turning the pulseaudio volume upwards only changes the
'master' and belatedly the 'pcm' volumes inside alsamixer. This ignores
'speaker clfe' + 'speaker front' + 'speaker surround playback volume'
plus maybe others. Effectively, this means audio playback is weak: instead
of spreading typical 2ch audiofiles across all internal speakers, only some
are used, and only at whatever volume alsamixer specifies. (Turning the
ignored volumes up in alsamixer causes a different problem: then it is no
longer possible to lower the sound to a relatively-quiet volume.)
Here is some information from one of the ubuntu pulseaudio/alsa devs:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/946232/comments/159
David Henningsson (946232@xxxxxxxxxxxxxxxxxx) wrote:
...you have unusual hardware: in addition to normal
headphones and stereo line out, you have 5.1 internal speakers. This
leads to unusual alsamixer names (e g "Speaker Front") which we do not
match for in PulseAudio. Fixing that means that we should add those
names in PulseAudio - but let's discuss that in a new bug instead.
Let me know if you would like more specifics. I have run codecgraph,
alsa-info, etc.
$ cat /proc/asound/card*/codec#* | grep --before-context=4 --after-context=1 "Subsystem Id"
Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x15588000
Revision Id: 0x100302
--
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100200
$ lspci -vvnn | grep --after-context=1 "Audio device"
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
Subsystem: CLEVO/KAPOK Computer Device [1558:8000]
--
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6800 Series] [1002:aa88]
Subsystem: CLEVO/KAPOK Computer Device [1558:8000]
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: alsa-base 1.0.25+dfsg-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.5.0-41.64~precise1-generic 3.5.7.21
Uname: Linux 3.5.0-41-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: j 6328 F.... pulseaudio
/dev/snd/controlC0: j 6328 F.... pulseaudio
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xf7f00000 irq 52'
Mixer name : 'Realtek ALC892'
Components : 'HDA:10ec0892,15588000,00100302'
Controls : 36
Simple ctrls : 16
Card1.Amixer.info:
Card hw:1 'Generic'/'HD-Audio Generic at 0xf7e40000 irq 54'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100200'
Controls : 6
Simple ctrls : 1
Card1.Amixer.values:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Date: Tue Oct 8 12:02:44 2013
InstallationMedia: This
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Speaker, Internal
Symptom_Type: Volume slider, or mixer problems
Title: [P180HMx, Realtek ALC892, Speaker, Internal] volume slider problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/29/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.4
dmi.board.asset.tag: Not Applicable
dmi.board.name: P180HMx
dmi.board.vendor: CLEVO
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: Not Applicable
dmi.chassis.type: 10
dmi.chassis.vendor: CLEVO
dmi.chassis.version: Not Applicable
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.4:bd09/29/2011:svnCLEVO:pnP180HMx:pvrNotApplicable:rvnCLEVO:rnP180HMx:rvrNotApplicable:cvnCLEVO:ct10:cvrNotApplicable:
dmi.product.name: P180HMx
dmi.product.version: Not Applicable
dmi.sys.vendor: CLEVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1236965/+subscriptions
Follow ups
References