Age | Commit message (Collapse) | Author |
|
Added functions to report jack sense.
As CXT5051_PORTB_EVENT has the same value as CONEXANT_MIC_EVENT two input
devices for the microphone will be created if using CXT5051.
Signed-off-by: Ulrich Dangel <uli@spamt.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Add automatic mapping of HP Acacia motherboards to 3stack-hp. Allows
for greater then 2 channel audio by enabling Channel Mode option in mixer.
Motherboard specs:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01321559&lc=en&dlc=en&cc=us&product=3829353&os=2093&lang=en#
Signed-off-by: Chris Bagwell <chris at cnpbagwell dot com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Move the more specific preset for ALC1200 above the general one for
ALC888, so that it will have the chance to get matched and selected.
Reported-by: Thomas Schneider <nailstudio@gmx.net>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Fixed incorrect mixer index values for 92hd83xx codec's audio
input mixer.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Add check to determine if dinput_mux is set by any of patch_stac*() functions,
otherwise a invalid pointer my be referenced causing gibberish to mixer values.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
Added the model=hp-m4 quirk for another HP dv7 (103c:30fc) with IDT
92HD71b* codec.
Reference: Novell bnc#461108
https://bugzilla.novell.com/show_bug.cgi?id=461108
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
When no jack detection is available, the pins should be always
turned on since it can't be turned on/off dynamically via unsol
events.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Fixed "unused varible" warnings in patch_sigmatel.c that have been
introduced by the last changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
Added probe_only module option to hd-audio driver.
This option specifies whether the driver creates and initializes the
codec-parser after probing. When this option is set, the driver skips
the codec parsing and initialization but gives you proc and other
accesses. It's useful to see the initial codec state for debugging.
The default of this value is off, so the default behavior is as same
as before.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
When the line_out has only one DAC and it's unique (i.e. not shared
by other outputs), assign a more reasonable and distinct mixer name
such as "Headphone" or "Speaker".
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
The current auto-configuration code has several problems especially
for the new IDT codecs, e.g. wrong assignment of pins and DACs or
coupled volume for speaker and headphone.
This patch is a fairly large rewrite of the auto-configuration code.
Some remaks
- mic_switch and line_switch contain NIDs instead of bool
- dac_list isn't fixed for IDT 92HD* codecs now, they are all probed
- extra HP and speakers are stored in extra_dacs[].
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
The previous commit re-enabled hp_nid setup for IDT92HD73*, but
it's unneeded indeed for Dell laptops that have multiple headphones.
Setting the extra hp_nid results in a non-working "Headpohne" mixer
control. Thus hp_nid should be 0 for these dell models.
Also, the automatic addition of hp_nid should check whether it's
a dual-HP model or not. For dual-HPs, the pins are already checked
by the early workaround.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Fixed the call of snd_ctl_add() by replacing with snd_hda_ctl_add()
so that this mixer element can be tracked for re-configuration.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
The re-initializations of codec amp and verb caches are missing
at reconfig, which may cause Oops occasionally.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
Added the model without the jack-detection for some desktops that
have really no jack-detection. The recent driver caused regressions
regarding the sound output on such machines.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
This reverts commit 07f455f779acfb3eba4921fd1399761559b10fa9.
ALSA: hda: removed unneeded hp_nid references
Removed unneeded hp_nid references for 92hd73xx codec family.
This caused the silent output on some Intel desktops due to missing
routing of widget 0x0a and 0x0d.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added the matching model=dell-m6 for Dell Studio 17 laptop.
Signed-off-by: Joerg Schirottke <master@kanotix.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Remove codec vendor names from the codec name strings.
The vendor name is already given from the vendor name table, so
displayed doubly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added Intel codec vendor id string (0x8086).
Also fixed Intel-HDMI codec name strings, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Some desktops seems to have no HP/mic jack detection on the front panel,
which results in the silent output in the recent driver, because the
driver mutes the output (to save power) when no plug is detected.
This patch adds a new model that disables the jack-detection.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added Nvidia (0x10de) to the vendor id list.
Cleaned up the codec name strings accordingly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Fixed the compile warning regarding the unused function when built
with CONFIG_PM=n:
sound/pci/hda/hda_intel.c:1905: warning: ‘snd_hda_codecs_inuse’ defined but not used
snd_hda_codecs_inuse() is used only in the resume callback.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added model=laptop for HP 6730B laptop with AD1984A codec.
Reference: Novell bnc#457909
https://bugzilla.novell.com/show_bug.cgi?id=457909
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: stable@kernel.org
|
|
Move the restoration of the standard PCI configuration registers
in the snd_hda_intel driver to a ->resume_early() callback executed
with interrupts disabled, since doing that with interrupts enabled
may lead to problems in some cases.
This patch addresses the regression from 2.6.26 tracked as
http://bugzilla.kernel.org/show_bug.cgi?id=12121 .
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
The current code overrides the event type on input pins always to
PWR_EVENT. Although this still works (PWR_EVENT and INSERT_EVENT
are handled samely), it'd be better to avoid such overrides.
Also, currently the unsol events are registered even for fixed pins
which will never raise the pin-detection event.
This patch fixes both issues.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
The pin-detection function used in patch_sigmatel.c shouldn't be specific
to HP pin because it's used for input pins in general, too.
This patch fixes the detection function, removes the HP check from it
and moves to stac92xx_hp_detect().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added id for MCP67 HDMI codec.
Signed-off-by: Scott Waye <scott@waye.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
The power-state changes in patch_sigmatel.c are accessed via *_cached()
but they shouldn't be really cached. Fixed to the normal write.
Also, stac92hd71xx_suspend and resume are no longer necessary as the
power-state changes are handled properly in the common routine.
Removed these hacks now.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
The amp switch of SPDIF outputs have to be cached in the amp cache
instead of codec cache. Otherwise it conflicts with the IEC958
playback switch control in hda_codec.c.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Gateway autodetection and entries are incomplete.
This patch adds the entries found at the .INI file for their driver version
5.10.5082.0.
It also uses the proper code to seek for notebook ID, since this is based on
codec subsystem ID on those devices.
This should provide a proper pinup for several gateways notebooks:
Gateway M465-E Notebook [Part #1008637]
Gateway M465-G Notebook [Part #1008667]
Gateway NX260X Notebook [Part #1008794]
Gateway NX100X Notebook [Part #1008798]
Gateway E-100M Notebook [Part #1008799]
Gateway E-100M G Notebook [Part #1008800]
Gateway M255-E Notebook [Part #1008801]
Gateway M255-G Notebook [Part #1008803]
Gateway M285-E Convertible Notebook [Part #1008804]
Gateway M285-G Convertible Notebook [Part #1008805]
Gateway CX210S Convertible Notebook [Part #1008807]
Gateway CX210X Convertible Notebook [Part #1008808]
Gateway E-100M SB Notebook [Part #1008973]
Gateway M255-E SB Notebook [Part #1008989]
Gateway M285-E SB Convertible Notebook [Part #1008990]
Gateway M465-E Notebook [Part #1009022]
Gateway CX2724 Convertible Notebook [Part #1009036]
Gateway MX1025 Notebook [Part #1009046]
Gateway CX2720 Convertible Notebook [Part #1009063]
Gateway CX2724h Convertible Notebook [Part #1009089]
Gateway MX1023 Notebook [Part #1009097]
Gateway MX1023h Notebook [Part #1009098]
Gateway NX260X Notebook [Part #1009112]
Gateway E-100M Notebook [Part #1009126]
Gateway MX7533 Notebook [Part #1009146] [Part #1009163]
Gateway CX210X Convertible Notebook [Part #1009346]
Gateway NX570X Notebook [Part #1009442]
Gateway NX570X Notebook [Part #1009448]
Gateway NX270S Notebook [Part #1009550]
Gateway MX6448 Notebook [Part #1013912R]
Gateway MX6453 Notebook [Part #1013913R]
Gateway MX6216 Notebook [Part #1013916R]
Gateway MX6931 Notebook [Part #1013918R]
Gateway CX2726 Convertible Notebook [Part #1013921R]
Gateway MP8708 Notebook [Part #1013924R]
Gateway MX6446 Notebook [Part #1013927R]
Gateway MX6930 Notebook [Part #1013928R]
Gateway MX6447 Notebook [Part #1013932R]
Gateway MX6454 Notebook [Part #1013943R]
Gateway MX6439 Notebook [Part #1013947R] [Part #1013955R] [Part #1013971R]
Gateway MX6930h Notebook [Part #1013973R] [Part #1013974R] [Part #1013975R]
Gateway MX6955 Notebook [Part #1014028R]
Gateway MX6956 Notebook [Part #1014033R]
Gateway MX6959 Notebook [Part #1014061R]
Gateway MX6957 Notebook [Part #1014065R]
Gateway MX6960 Notebook [Part #1014068R]
Gateway MX6958 Notebook [Part #1014072R]
Gateway NX570X Notebook [Part #1014077R]
Gateway NX570XL Notebook [Part #1014078R]
Gateway NX570QS Notebook [Part #1014079R]
Gateway MX6961 Notebook [Part #1014080R] [Part #1014106R]
Gateway MX6961h Notebook [Part #1014112R]
Gateway NX270S Notebook [Part #1014120R]
Gateway MX6431 Notebook [Part #1014121R]
Gateway MX8710 Notebook [Part #2905895R]
Gateway MX3702 Notebook [Part #2905898R]
Blade-K8F GW UMA Single Core Motherboard w/RS485M and 1394 - Quanta (FRU) [Part #4006133R]
Since some entries conflict with existing pinups, I'm providing a separate
patch to fix those entries.
Tested only with Gateway MX6453.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Gateway notebooks have their ID inside codec vendor ID, not at PCI ID. Due to
that, model auto-detection were not possible with the standard seek method.
This is what is found at lspci -vnn:
00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio [1002:437b] (rev 01)
Subsystem: ATI Technologies Inc SB450 HDA Audio [1002:437b]
Yet, autodetection is possible, since the codec properly reflects the vendor at
the Subsystem ID:
$ cat /proc/asound/card0/codec#0 |head -4
Codec: SigmaTel STAC9250
Address: 0
Vendor Id: 0x83847634
Subsystem Id: 0x107b0367
This patch adds a new autodetection function that seeks for codec subsystem ID.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
It's mature enough now.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
The global functions in hda_codec.c and other core parts are only
for HD-audio codec and controller drivers. When the HD-audio driver
is built in kernel, all stuff have to be statically linked, thus
we don't need any exports.
This patch introduces a conditional macro to do export only
when needed.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Checking MODULE is more generic.
Also a cosmetic comment change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added model=sony-assamd for Sony VAIO VGN-SR19XN with ALC262 codec.
Reference: Novell bnc#450080
https://bugzilla.novell.com/show_bug.cgi?id=450080
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Clear the remaining pointer at snd_hda_codec_reset() to avoid Oops.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added power-map and analog-loopback information to proc output for
IDT/STAC codecs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added a hook for proc outputs of codec-specific stuff.
Moved realtek-specific coeff output into patch_realtek.c as well.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Moved power_save field initialization inside a proper ifdef
to fix a build error without CONFIG_SND_HDA_POWER_SAVE.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Split the monolithc HD-audio driver into several pieces:
- snd-hda-intel HD-audio PCI controller driver; loaded via udev
- snd-hda-codec HD-audio codec bus driver
- snd-hda-codec-* Specific HD-audio codec drivers
When built as modules, snd-hda-codec (that is invoked by snd-hda-intel)
looks up the codec vendor ID and loads the corresponding codec module
automatically via request_module().
When built in a kernel, each codec drivers are statically hooked up
before probing the PCI.
This patch adds appropriate EXPORT_SYMBOL_GPL()'s and the module
information for each driver, and driver-linking codes between
codec-bus and codec drivers.
TODO:
- Avoid EXPORT_SYMBOL*() when built-in kernel
- Restore __devinit appropriately depending on the condition
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|