aboutsummaryrefslogtreecommitdiffstats
path: root/GTA04
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-08-25 08:44:51 +1000
committerH. Nikolaus Schaller <hns@goldelico.com>2013-07-22 16:48:55 +0200
commit68e13f70296b33f6c01da23174928c7831249702 (patch)
treec1e3b89e94c69cc8d6588bb369e66b2749335c95 /GTA04
parentb5cbb6b873d899c67769deca6ceecb34a29f272d (diff)
downloadkernel_goldelico_gta04-68e13f70296b33f6c01da23174928c7831249702.zip
kernel_goldelico_gta04-68e13f70296b33f6c01da23174928c7831249702.tar.gz
kernel_goldelico_gta04-68e13f70296b33f6c01da23174928c7831249702.tar.bz2
GTA04 audio headset jack detect.
Enhance jack detection to differentiate with and without a microphone, and to report a button-press when the microphone is shorted. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'GTA04')
-rw-r--r--GTA04/udev-rules/input.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/GTA04/udev-rules/input.rules b/GTA04/udev-rules/input.rules
index a96feb8..2cc8df9 100644
--- a/GTA04/udev-rules/input.rules
+++ b/GTA04/udev-rules/input.rules
@@ -4,4 +4,4 @@ SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0,3,*a0,1,
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0,1,*k74,*", SYMLINK+="input/power"
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0,1,*kA9,*", SYMLINK+="input/aux"
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0,1,*kF0,*", SYMLINK+="input/incoming"
-SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0,5,*w[24678D]*", SYMLINK+="input/jack"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,5,*w[24678D]*", SYMLINK+="input/jack"