All of lore.kernel.org
 help / color / mirror / Atom feed
* ALSA: hda - add possibility to choose speakers configuration for 4930g
@ 2009-11-20 18:39 Łukasz Wojniłowicz
  2009-11-20 19:16 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Wojniłowicz @ 2009-11-20 18:39 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

As in wrote title patch adds possibility to choose speakers
configuration for 4930g. This feature was available in ALSA 1.0.19 (or
even 1.0.20) but disappeared in 1.0.21

[-- Attachment #2: add const_channel_count.patch --]
[-- Type: text/x-patch, Size: 800 bytes --]

From: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Subject: ALSA: hda - add possibility to choose speakers configuration for 4930g

Now one can choose speaker configuration in e.g. PulseAudio mixer

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index eee3143..a009000 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9260,6 +9260,7 @@ static struct alc_config_preset alc882_presets[] = {
 		.num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_modes),
 		.channel_mode = alc883_3ST_6ch_modes,
 		.need_dac_fix = 1,
+		.const_channel_count = 6,
 		.num_mux_defs =
 			ARRAY_SIZE(alc888_2_capture_sources),
 		.input_mux = alc888_2_capture_sources,

[-- 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] 4+ messages in thread
* ALSA: hda - add possibility to choose speakers configuration for 4930g
@ 2010-01-24 13:12 Łukasz Wojniłowicz
  2010-01-25  7:01 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Wojniłowicz @ 2010-01-24 13:12 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

I've got such possibility on MS Windows XP with Realtek drivers (prove
is at http://img694.imageshack.us/i/choosechannelmod.png/ ) so I should
have possibility to do it also on Linux e.g. here
http://img704.imageshack.us/i/screenshotsoundpreferen.png/

Patch given in attachment should do the thing. patch_realtek.c was
downloaded from http://git.alsa-project.org/?p=alsa-kernel.git on Thu,
21 Jan 2010 13:58:25 +0000

[-- Attachment #2: patch_realtek.patch --]
[-- Type: text/x-patch, Size: 683 bytes --]

From: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Subject: ALSA: hda - add possibility to choose speakers configuration for 4930g

Now one can choose speaker configuration in e.g. PulseAudio mixer

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
---

--- patch_realtekc.c	2010-01-24 13:59:54.682214000 +0100
+++ patch_realtek.c	2010-01-24 14:00:50.044202925 +0100
@@ -9580,6 +9580,7 @@
 		.num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_modes),
 		.channel_mode = alc883_3ST_6ch_modes,
 		.need_dac_fix = 1,
+		.const_channel_count = 6,
 		.num_mux_defs =
 			ARRAY_SIZE(alc888_2_capture_sources),
 		.input_mux = alc888_2_capture_sources,

[-- 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	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-25  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20 18:39 ALSA: hda - add possibility to choose speakers configuration for 4930g Łukasz Wojniłowicz
2009-11-20 19:16 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2010-01-24 13:12 Łukasz Wojniłowicz
2010-01-25  7:01 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.