mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
4386363312
commit e427c23756
upstream.
On recent kernels, Realtek codec parser tries to optimize the routing
aggressively and take the headphone output as primary at first. This
caused a regression on VAIO Z with ALC889, the silent output from the
speaker.
The problem seems that the speaker pin must be connected to the first
DAC (0x02) on this machine by some reason although the codec itself
advertises the flexible routing with any DACs.
This patch adds a fix-up for choosing the speaker pin as the primary
so that the right DAC is assigned on this device.
Reported-and-tested-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
286 lines
7.2 KiB
Text
286 lines
7.2 KiB
Text
Model name Description
|
|
---------- -----------
|
|
ALC880
|
|
======
|
|
3stack 3-jack in back and a headphone out
|
|
3stack-digout 3-jack in back, a HP out and a SPDIF out
|
|
5stack 5-jack in back, 2-jack in front
|
|
5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
|
|
6stack 6-jack in back, 2-jack in front
|
|
6stack-digout 6-jack with a SPDIF out
|
|
|
|
ALC260
|
|
======
|
|
N/A
|
|
|
|
ALC262
|
|
======
|
|
N/A
|
|
|
|
ALC267/268
|
|
==========
|
|
N/A
|
|
|
|
ALC269/270/275/276/280/282
|
|
======
|
|
laptop-amic Laptops with analog-mic input
|
|
laptop-dmic Laptops with digital-mic input
|
|
lenovo-dock Enables docking station I/O for some Lenovos
|
|
|
|
ALC662/663/272
|
|
==============
|
|
asus-mode1 ASUS
|
|
asus-mode2 ASUS
|
|
asus-mode3 ASUS
|
|
asus-mode4 ASUS
|
|
asus-mode5 ASUS
|
|
asus-mode6 ASUS
|
|
asus-mode7 ASUS
|
|
asus-mode8 ASUS
|
|
|
|
ALC680
|
|
======
|
|
N/A
|
|
|
|
ALC882/883/885/888/889
|
|
======================
|
|
acer-aspire-4930g Acer Aspire 4930G/5930G/6530G/6930G/7730G
|
|
acer-aspire-8930g Acer Aspire 8330G/6935G
|
|
acer-aspire Acer Aspire others
|
|
no-primary-hp VAIO Z workaround (for fixed speaker DAC)
|
|
|
|
ALC861/660
|
|
==========
|
|
N/A
|
|
|
|
ALC861VD/660VD
|
|
==============
|
|
N/A
|
|
|
|
CMI9880
|
|
=======
|
|
minimal 3-jack in back
|
|
min_fp 3-jack in back, 2-jack in front
|
|
full 6-jack in back, 2-jack in front
|
|
full_dig 6-jack in back, 2-jack in front, SPDIF I/O
|
|
allout 5-jack in back, 2-jack in front, SPDIF out
|
|
auto auto-config reading BIOS (default)
|
|
|
|
AD1882 / AD1882A
|
|
================
|
|
3stack 3-stack mode (default)
|
|
6stack 6-stack mode
|
|
|
|
AD1884A / AD1883 / AD1984A / AD1984B
|
|
====================================
|
|
desktop 3-stack desktop (default)
|
|
laptop laptop with HP jack sensing
|
|
mobile mobile devices with HP jack sensing
|
|
thinkpad Lenovo Thinkpad X300
|
|
touchsmart HP Touchsmart
|
|
|
|
AD1884
|
|
======
|
|
N/A
|
|
|
|
AD1981
|
|
======
|
|
basic 3-jack (default)
|
|
hp HP nx6320
|
|
thinkpad Lenovo Thinkpad T60/X60/Z60
|
|
toshiba Toshiba U205
|
|
|
|
AD1983
|
|
======
|
|
N/A
|
|
|
|
AD1984
|
|
======
|
|
basic default configuration
|
|
thinkpad Lenovo Thinkpad T61/X61
|
|
dell_desktop Dell T3400
|
|
|
|
AD1986A
|
|
=======
|
|
6stack 6-jack, separate surrounds (default)
|
|
3stack 3-stack, shared surrounds
|
|
laptop 2-channel only (FSC V2060, Samsung M50)
|
|
laptop-eapd 2-channel with EAPD (ASUS A6J)
|
|
laptop-automute 2-channel with EAPD and HP-automute (Lenovo N100)
|
|
ultra 2-channel with EAPD (Samsung Ultra tablet PC)
|
|
samsung 2-channel with EAPD (Samsung R65)
|
|
samsung-p50 2-channel with HP-automute (Samsung P50)
|
|
|
|
AD1988/AD1988B/AD1989A/AD1989B
|
|
==============================
|
|
6stack 6-jack
|
|
6stack-dig ditto with SPDIF
|
|
3stack 3-jack
|
|
3stack-dig ditto with SPDIF
|
|
laptop 3-jack with hp-jack automute
|
|
laptop-dig ditto with SPDIF
|
|
auto auto-config reading BIOS (default)
|
|
|
|
Conexant 5045
|
|
=============
|
|
laptop-hpsense Laptop with HP sense (old model laptop)
|
|
laptop-micsense Laptop with Mic sense (old model fujitsu)
|
|
laptop-hpmicsense Laptop with HP and Mic senses
|
|
benq Benq R55E
|
|
laptop-hp530 HP 530 laptop
|
|
test for testing/debugging purpose, almost all controls
|
|
can be adjusted. Appearing only when compiled with
|
|
$CONFIG_SND_DEBUG=y
|
|
|
|
Conexant 5047
|
|
=============
|
|
laptop Basic Laptop config
|
|
laptop-hp Laptop config for some HP models (subdevice 30A5)
|
|
laptop-eapd Laptop config with EAPD support
|
|
test for testing/debugging purpose, almost all controls
|
|
can be adjusted. Appearing only when compiled with
|
|
$CONFIG_SND_DEBUG=y
|
|
|
|
Conexant 5051
|
|
=============
|
|
laptop Basic Laptop config (default)
|
|
hp HP Spartan laptop
|
|
hp-dv6736 HP dv6736
|
|
hp-f700 HP Compaq Presario F700
|
|
ideapad Lenovo IdeaPad laptop
|
|
toshiba Toshiba Satellite M300
|
|
|
|
Conexant 5066
|
|
=============
|
|
laptop Basic Laptop config (default)
|
|
hp-laptop HP laptops, e g G60
|
|
asus Asus K52JU, Lenovo G560
|
|
dell-laptop Dell laptops
|
|
dell-vostro Dell Vostro
|
|
olpc-xo-1_5 OLPC XO 1.5
|
|
ideapad Lenovo IdeaPad U150
|
|
thinkpad Lenovo Thinkpad
|
|
|
|
STAC9200
|
|
========
|
|
ref Reference board
|
|
oqo OQO Model 2
|
|
dell-d21 Dell (unknown)
|
|
dell-d22 Dell (unknown)
|
|
dell-d23 Dell (unknown)
|
|
dell-m21 Dell Inspiron 630m, Dell Inspiron 640m
|
|
dell-m22 Dell Latitude D620, Dell Latitude D820
|
|
dell-m23 Dell XPS M1710, Dell Precision M90
|
|
dell-m24 Dell Latitude 120L
|
|
dell-m25 Dell Inspiron E1505n
|
|
dell-m26 Dell Inspiron 1501
|
|
dell-m27 Dell Inspiron E1705/9400
|
|
gateway-m4 Gateway laptops with EAPD control
|
|
gateway-m4-2 Gateway laptops with EAPD control
|
|
panasonic Panasonic CF-74
|
|
auto BIOS setup (default)
|
|
|
|
STAC9205/9254
|
|
=============
|
|
ref Reference board
|
|
dell-m42 Dell (unknown)
|
|
dell-m43 Dell Precision
|
|
dell-m44 Dell Inspiron
|
|
eapd Keep EAPD on (e.g. Gateway T1616)
|
|
auto BIOS setup (default)
|
|
|
|
STAC9220/9221
|
|
=============
|
|
ref Reference board
|
|
3stack D945 3stack
|
|
5stack D945 5stack + SPDIF
|
|
intel-mac-v1 Intel Mac Type 1
|
|
intel-mac-v2 Intel Mac Type 2
|
|
intel-mac-v3 Intel Mac Type 3
|
|
intel-mac-v4 Intel Mac Type 4
|
|
intel-mac-v5 Intel Mac Type 5
|
|
intel-mac-auto Intel Mac (detect type according to subsystem id)
|
|
macmini Intel Mac Mini (equivalent with type 3)
|
|
macbook Intel Mac Book (eq. type 5)
|
|
macbook-pro-v1 Intel Mac Book Pro 1st generation (eq. type 3)
|
|
macbook-pro Intel Mac Book Pro 2nd generation (eq. type 3)
|
|
imac-intel Intel iMac (eq. type 2)
|
|
imac-intel-20 Intel iMac (newer version) (eq. type 3)
|
|
ecs202 ECS/PC chips
|
|
dell-d81 Dell (unknown)
|
|
dell-d82 Dell (unknown)
|
|
dell-m81 Dell (unknown)
|
|
dell-m82 Dell XPS M1210
|
|
auto BIOS setup (default)
|
|
|
|
STAC9202/9250/9251
|
|
==================
|
|
ref Reference board, base config
|
|
m1 Some Gateway MX series laptops (NX560XL)
|
|
m1-2 Some Gateway MX series laptops (MX6453)
|
|
m2 Some Gateway MX series laptops (M255)
|
|
m2-2 Some Gateway MX series laptops
|
|
m3 Some Gateway MX series laptops
|
|
m5 Some Gateway MX series laptops (MP6954)
|
|
m6 Some Gateway NX series laptops
|
|
auto BIOS setup (default)
|
|
|
|
STAC9227/9228/9229/927x
|
|
=======================
|
|
ref Reference board
|
|
ref-no-jd Reference board without HP/Mic jack detection
|
|
3stack D965 3stack
|
|
5stack D965 5stack + SPDIF
|
|
5stack-no-fp D965 5stack without front panel
|
|
dell-3stack Dell Dimension E520
|
|
dell-bios Fixes with Dell BIOS setup
|
|
volknob Fixes with volume-knob widget 0x24
|
|
auto BIOS setup (default)
|
|
|
|
STAC92HD71B*
|
|
============
|
|
ref Reference board
|
|
dell-m4-1 Dell desktops
|
|
dell-m4-2 Dell desktops
|
|
dell-m4-3 Dell desktops
|
|
hp-m4 HP mini 1000
|
|
hp-dv5 HP dv series
|
|
hp-hdx HP HDX series
|
|
hp-dv4-1222nr HP dv4-1222nr (with LED support)
|
|
auto BIOS setup (default)
|
|
|
|
STAC92HD73*
|
|
===========
|
|
ref Reference board
|
|
no-jd BIOS setup but without jack-detection
|
|
intel Intel DG45* mobos
|
|
dell-m6-amic Dell desktops/laptops with analog mics
|
|
dell-m6-dmic Dell desktops/laptops with digital mics
|
|
dell-m6 Dell desktops/laptops with both type of mics
|
|
dell-eq Dell desktops/laptops
|
|
alienware Alienware M17x
|
|
auto BIOS setup (default)
|
|
|
|
STAC92HD83*
|
|
===========
|
|
ref Reference board
|
|
mic-ref Reference board with power management for ports
|
|
dell-s14 Dell laptop
|
|
dell-vostro-3500 Dell Vostro 3500 laptop
|
|
hp-dv7-4000 HP dv-7 4000
|
|
auto BIOS setup (default)
|
|
|
|
STAC9872
|
|
========
|
|
vaio VAIO laptop without SPDIF
|
|
auto BIOS setup (default)
|
|
|
|
Cirrus Logic CS4206/4207
|
|
========================
|
|
mbp55 MacBook Pro 5,5
|
|
imac27 IMac 27 Inch
|
|
auto BIOS setup (default)
|
|
|
|
VIA VT17xx/VT18xx/VT20xx
|
|
========================
|
|
auto BIOS setup (default)
|