login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
18
Re: hda-intel: no soundcard with current linus' git tree
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Takashi Iwai
Subject:
Re: hda-intel: no soundcard with current linus' git tree
Date: Thursday, October 18, 2007 - 7:47 am
At Thu, 18 Oct 2007 17:24:46 +0200, Maxim Levitsky wrote:
quoted text
> > On Thursday 18 October 2007 15:49:22 Takashi Iwai wrote: > > At Thu, 18 Oct 2007 16:21:59 +0200, > > Maxim Levitsky wrote: > > > > > > On Thursday 18 October 2007 07:57:27 Takashi Iwai wrote: > > > > At Thu, 18 Oct 2007 03:53:08 +0200, > > > > Maxim Levitsky wrote: > > > > > > > > > > From 0824b077b75c19253b45c5a455775c331acd54ee Mon Sep 17 00:00:00 2001 > > > > > From: Maxim Levitsky <maximlevitsky@gmail.com> > > > > > Date: Thu, 18 Oct 2007 03:35:37 +0200 > > > > > Subject: [PATCH] [HDA] [STAC] Since there is now a master volume control, > > > > > don't call the headphone output "Master", it isn't strictly correct anyway > > > > > > > > I thought stac925x has no volume knob, so "Master" should be still > > > > applied for this codec? > > > > > > Yes, you are right, but stac925x has only one DAC, and thus if it is > > > connected to any line-out, it will be > > > 'Front', but if it is connected to 'headphones' only, then why not > > > to call it 'Headphone' > > > > The point is that apps usually require a "Master" volume. If it's the > > single volume control, it's better to call it master for convenience. > And most STACs didn't have one till I added this volumeknob...
Yep, but there were some with master already :)
quoted text
> > > STAC 9200 has no volumeknob too, but it is handled seperartly > > > > Yes, 9200 doesn't call stac92xx_auto_create_hp_ctls(), so it's not > > affected. > > > > > STAC 9202 and 9250 has no volumeknob too, but as I said they have > > > just one DAC again > > > > Both are handled as patch_stac925x. That's what I meant. With your > > patch, there will be no master any more. > > > > So, how about the patch below? > > > > > > Takashi > > > > diff -r fb9512ce24e0 pci/hda/patch_sigmatel.c > > --- a/pci/hda/patch_sigmatel.c Thu Oct 18 10:48:43 2007 +0200 > > +++ b/pci/hda/patch_sigmatel.c Thu Oct 18 16:36:35 2007 +0200 > > @@ -111,6 +111,7 @@ struct sigmatel_spec { > > unsigned int alt_switch: 1; > > unsigned int hp_detect: 1; > > unsigned int gpio_mute: 1; > > + unsigned int no_vol_knob :1; > > > > unsigned int gpio_mask, gpio_data; > > > > @@ -1930,7 +1931,8 @@ static int stac92xx_auto_create_hp_ctls( > > } > > if (spec->multiout.hp_nid) { > > const char *pfx; > > - if (old_num_dacs == spec->multiout.num_dacs) > > + if (old_num_dacs == spec->multiout.num_dacs && > > + spec->no_vol_knob) > > pfx = "Master"; > > else > > pfx = "Headphone"; > > @@ -2487,6 +2489,7 @@ static int patch_stac9200(struct hda_cod > > codec->spec = spec; > > spec->num_pins = ARRAY_SIZE(stac9200_pin_nids); > > spec->pin_nids = stac9200_pin_nids; > > + spec->no_vol_knob = 1; > > spec->board_config = snd_hda_check_board_config(codec, STAC_9200_MODELS, > > stac9200_models, > > stac9200_cfg_tbl); > > @@ -2541,6 +2544,7 @@ static int patch_stac925x(struct hda_cod > > codec->spec = spec; > > spec->num_pins = ARRAY_SIZE(stac925x_pin_nids); > > spec->pin_nids = stac925x_pin_nids; > > + spec->no_vol_knob = 1; > > spec->board_config = snd_hda_check_board_config(codec, STAC_925x_MODELS, > > stac925x_models, > > > Perfect. > This will ensure the same behavior, as was without the volumeknob.
OK, now I committed to ALSA tree. Takashi -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
hda-intel: no soundcard with current linus' git tree
, Thomas Meyer
, (Tue Oct 16, 3:18 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Tue Oct 16, 7:47 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Takashi Iwai
, (Wed Oct 17, 1:42 am)
Re: hda-intel: no soundcard with current linus' git tree
, Thomas Meyer
, (Wed Oct 17, 11:17 am)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Wed Oct 17, 6:51 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Wed Oct 17, 6:53 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Jeff Garzik
, (Wed Oct 17, 7:35 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Wed Oct 17, 8:36 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Jeff Garzik
, (Wed Oct 17, 8:38 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Wed Oct 17, 9:10 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Jeff Garzik
, (Wed Oct 17, 9:24 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Takashi Iwai
, (Wed Oct 17, 10:57 pm)
Re: hda-intel: no soundcard with current linus' git tree
, Takashi Iwai
, (Wed Oct 17, 11:02 pm)
Re: [alsa-devel] hda-intel: no soundcard with current linu ...
, Takashi Iwai
, (Thu Oct 18, 1:11 am)
Re: hda-intel: no soundcard with current linus' git tree
, Jan-Simon
, (Thu Oct 18, 1:49 am)
Re: [alsa-devel] hda-intel: no soundcard with current linus'
, Jan-Simon
, (Thu Oct 18, 4:50 am)
Re: hda-intel: no soundcard with current linus' git tree
, Takashi Iwai
, (Thu Oct 18, 6:49 am)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Thu Oct 18, 7:21 am)
Re: [alsa-devel] hda-intel: no soundcard with current linu ...
, Takashi Iwai
, (Thu Oct 18, 7:39 am)
Re: hda-intel: no soundcard with current linus' git tree
, Takashi Iwai
, (Thu Oct 18, 7:47 am)
Re: [alsa-devel] hda-intel: no soundcard with current linus'
, Jan-Simon
, (Thu Oct 18, 8:05 am)
Re: hda-intel: no soundcard with current linus' git tree
, Maxim Levitsky
, (Thu Oct 18, 8:24 am)
Re: [alsa-devel] hda-intel: no soundcard with current linus'
, Jan-Simon
, (Thu Oct 18, 9:19 am)
Re: [alsa-devel] hda-intel: no soundcard with current linu ...
, Takashi Iwai
, (Thu Oct 18, 10:05 pm)
Re: [alsa-devel] hda-intel: no soundcard with current linu ...
, Takashi Iwai
, (Fri Oct 19, 3:02 am)
Re: [alsa-devel] hda-intel: no soundcard with current linus'
, Jan-Simon
, (Fri Oct 19, 3:46 am)
Re: hda-intel: no soundcard with current linus' git tree
, Thomas Meyer
, (Sun Oct 21, 8:42 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
openbsd-misc
:
James Hozier
Re: DVD burn error: No space left on device
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Very Fashion.com
Very-fashion.com -Novo! Brendirana garderoba po najpovoljnijim cenama.Bisou Bisou ...
Colocation donated by:
Syndicate