chromiumos/platform/xorg-conf.git
8 months agoXorg.conf setting to configure Elo touchscreen as mouse pointer 52/66452/2 master
Yufeng Shen [Tue, 20 Aug 2013 23:31:37 +0000 (19:31 -0400)]
Xorg.conf setting to configure Elo touchscreen as mouse pointer

ELO Touchscreen(ET1937L) is a single-touch screen. This xorg conf
will configure it as a slave pointer, so it will have the basic
point-and-click capability in chromeos.

BUG=chromium:234288
TEST=Test the device with Stumpy, and the point-and-click works.
     (with relevant chromium side change).

Change-Id: I501b43cb07a0decbb545f27255577315d6353cb9
Reviewed-on: https://gerrit.chromium.org/gerrit/66452
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
Commit-Queue: Yufeng Shen <miletus@chromium.org>

8 months agoPeppy: Add initial config 13/64713/2 release-R30-4537.B stabilize-4512.B
Andrew de los Reyes [Mon, 5 Aug 2013 23:55:15 +0000 (16:55 -0700)]
Peppy: Add initial config

BUG=chromium:268653
TEST=Manually tested on device

Change-Id: I20690ae788d098d40134efec069919e1345637f4
Reviewed-on: https://gerrit.chromium.org/gerrit/64713
Reviewed-by: Benson Leung <bleung@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
8 months agoExpand vertical 2f distance on daisy form factor devices 84/60484/2
Andrew de los Reyes [Thu, 20 Jun 2013 23:07:02 +0000 (16:07 -0700)]
Expand vertical 2f distance on daisy form factor devices

We've found that on daisy form factor devices, people put their
fingers vertically quite often for 2-finger scrolling.  We may
consider loosening this restriction on all platforms, but for now
we'll start w/ the ones that really need it.

BUG=chromium:236687
TEST=spring1/scroll_fail6 regression test

Change-Id: Ibe68c0df42919583a17fc086beb6e535a286ab7a
Reviewed-on: https://gerrit.chromium.org/gerrit/60484
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

8 months ago50-touchpad-cmt-falco.conf: Improved finger tracking 97/64297/2
Andrew de los Reyes [Thu, 1 Aug 2013 22:21:09 +0000 (15:21 -0700)]
50-touchpad-cmt-falco.conf: Improved finger tracking

We were suppressing far too many events fearing noise. These new
settings seem to do a good job of letting tracking work while blocking
a lot of the jumpy fat-finger scrolling.

BUG=chrome-os-partner:21386
TEST=regression tests:
falco-2.0/false_scrolling
falco-2.0/false_scrolling_long
falco-2.0/simple_move
falco-2.0/simple_move2
falco-2.0/simple_move3

Change-Id: I86e2da2fa05f9ff07e637366b74bf63793a83262
Reviewed-on: https://gerrit.chromium.org/gerrit/64297
Reviewed-by: Benson Leung <bleung@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
9 months ago50-touchpad-cmt-falco.conf : Pressure calibration for Falco 32/62032/2 factory-4455.B factory-pit-4471.B firmware-pit-4482.B stabilize-4443.B
Benson Leung [Tue, 16 Jul 2013 00:35:10 +0000 (17:35 -0700)]
50-touchpad-cmt-falco.conf : Pressure calibration for Falco

Replace the values here copied from Lumpy with measured values from
Falco's touchpad with firmware 1.0.

Signed-off-by: Benson Leung <bleung@chromium.org>
BUG=chrome-os-partner:20950
TEST=Manually tested on device. Check that tap to click is acceptable,
with a low rate of missed clicks.

Change-Id: Id64bb302a9fc15583b8de2c79f33721fc6e58bb3
Reviewed-on: https://gerrit.chromium.org/gerrit/62032
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
9 months ago20-touchscreen.conf: Only enable TouchNoiseFilter for Atmel Touchscreen 87/60287/2 factory-pit-4390.B firmware-falco_peppy-4389.B firmware-leon-4389.26.B firmware-wolf-4389.24.B
Yufeng Shen [Thu, 27 Jun 2013 23:07:35 +0000 (19:07 -0400)]
20-touchscreen.conf: Only enable TouchNoiseFilter for Atmel Touchscreen

BUG=chromium:255049
TEST=On pixel, run "grep TouchNoiseFilter" /var/log/Xorg.0.log
     Make sure TouchNoiseFilter is enabled only for Atmel Touchscreen
[173873.592] (II) evdev: Power Button: Enable TouchNoiseFilter 0.
[173873.594] (II) evdev: Video Bus: Enable TouchNoiseFilter 0.
[173873.595] (II) evdev: Power Button: Enable TouchNoiseFilter 0.
[173873.596] (II) evdev: Sleep Button: Enable TouchNoiseFilter 0.
[173873.597] (II) evdev: Sleep Button: Enable TouchNoiseFilter 0.
[173873.613] (II) evdev: Atmel maXTouch Touchscreen: Enable TouchNoiseFilter 1.
[173873.616] (II) evdev: Advanced Silicon S.A CoolTouch(TM) System: Enable TouchNoiseFilter 0.
[173873.616] (II) evdev: AT Translated Set 2 keyboard: Enable TouchNoiseFilter 0.

Change-Id: Ie3e58794b7b6c6e90ac77852aab07b7765e7b6a7
Reviewed-on: https://gerrit.chromium.org/gerrit/60287
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Yufeng Shen <miletus@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
9 months ago50-touchpad-cmt-puppy.conf: Add initial conf for puppy 35/59635/3
Andrew Chew [Fri, 21 Jun 2013 23:20:33 +0000 (16:20 -0700)]
50-touchpad-cmt-puppy.conf: Add initial conf for puppy

Derived from 50-touchpad-cmt-link.conf.

BUG=none
TEST=Check that 50-touchpad-cmt-puppy.conf is installed and works on venice
boards (after corresponding change to chromeos-base/xorg-conf ebuild).

Change-Id: I72d200166d6f4e56eb1f8725a9a1aee4b49308b2
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/59635
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
10 months ago50-touchpad-cmt-daisy.conf: enable stationary wiggle filter 73/58173/2 factory-4290.B factory-pit-4280.B stabilize-4287.B
Chung-yih Wang [Tue, 11 Jun 2013 06:13:54 +0000 (14:13 +0800)]
50-touchpad-cmt-daisy.conf: enable stationary wiggle filter

Disable Box filter and enable stationary wiggle filter which filter out
wiggling when a finger is stationary.

BUG=None
TEST=touchtests spring1/wiggling_when_stationary
Change-Id: I46a190f8495be716fec76fc161ad3f024b58747a
Reviewed-on: https://gerrit.chromium.org/gerrit/58173
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>

10 months ago50-touchpad-cmt-falco.conf : Add initial conf for falco 96/58496/2
Benson Leung [Wed, 12 Jun 2013 22:44:55 +0000 (15:44 -0700)]
50-touchpad-cmt-falco.conf : Add initial conf for falco

For now, duplicate Lumpy's settings, except for linearity comp.

Signed-off-by: Benson Leung <bleung@chromium.org>
BUG=chrome-os-partner:20092
TEST=Check that 50-touchpad-cmt-falco.conf is installed.

Change-Id: I4fe348f8dcdc179865439d4411cc18c00ba030a0
Reviewed-on: https://gerrit.chromium.org/gerrit/58496
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
10 months ago50-touchpad-cmt-alex.conf: disable IIR filter 65/57865/4 factory-spring-4262.B stabilize-4255.B
Chung-yih Wang [Thu, 6 Jun 2013 03:59:41 +0000 (11:59 +0800)]
50-touchpad-cmt-alex.conf: disable IIR filter

Disable IIR to help fast-scrolling better

BUG=None
TEST=touchtests alex/null_when_scroll_intended

Change-Id: Id59a6e238a5ced11db418723b59f002cb9851bfc
Reviewed-on: https://gerrit.chromium.org/gerrit/57865
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
10 months ago50-touchpad-cmt-alex.conf: enable stationary wiggle filter 64/57864/3
Chung-yih Wang [Thu, 6 Jun 2013 03:57:06 +0000 (11:57 +0800)]
50-touchpad-cmt-alex.conf: enable stationary wiggle filter

BUG=None
TEST=touchtests alex/wiggle_when_stationary

Change-Id: Ia7b62081840558f5503c0b8567e94e5a5801445f
Reviewed-on: https://gerrit.chromium.org/gerrit/57864
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
10 months agoSupport for Logitech Mice T620/T400 65/55565/5
Dennis Kempin [Fri, 17 May 2013 20:10:10 +0000 (13:10 -0700)]
Support for Logitech Mice T620/T400

Added xorg-config for T400/T620.
The T620 requires a relatively strong box filter to prevent resting
fingers from causing scrolls. Wiggling a finger causes relatively strong
movement on this device.
The T400 device has a dedicated touch area instead of the scroll wheel.
Here we do not have to use strong filtering.

BUG=chromium:240850
TEST=manual test with devices.

Change-Id: I6ad7fa7d60f7b5ef6e6d597d107227b6c4b64904
Reviewed-on: https://gerrit.chromium.org/gerrit/55565
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
10 months ago50-touchpad-cmt-stout.conf: adjust pressure change thresholds 95/57595/2
Chung-yih Wang [Wed, 5 Jun 2013 10:00:06 +0000 (18:00 +0800)]
50-touchpad-cmt-stout.conf: adjust pressure change thresholds

BUG=chromium:236879
TEST=touchtests stout/null_when_scroll_intended2 and
   touchtests stout/cursor_jump_when_arrival

Change-Id: I09159ed3834d256032ed566c0ee1db2e905a0cad
Reviewed-on: https://gerrit.chromium.org/gerrit/57595
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
10 months ago50-touchpad-cmt-stout.conf: enable liftoff jump filter 07/57307/4
Chung-yih Wang [Mon, 3 Jun 2013 08:58:24 +0000 (16:58 +0800)]
50-touchpad-cmt-stout.conf: enable liftoff jump filter

The patch enables the liftoff jump filter to remove the cursor jump
when a finger is lifting off the trackpad.

BUG=chromium:236879
TEST=touchtests stout/wiggle_when_stationary2
  the score should be up from 0.91 to 1.0

Change-Id: I27d0243d46edf516950d4cffab814ae2cb270c91
Reviewed-on: https://gerrit.chromium.org/gerrit/57307
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
10 months ago50-touchpad-cmt-stout.conf: enable stationary wiggle filter 63/50163/7
Chung-yih Wang [Mon, 6 May 2013 08:06:52 +0000 (16:06 +0800)]
50-touchpad-cmt-stout.conf: enable stationary wiggle filter

  The patch enables the stationary classifying interpreter to detect if a
finger is stationary and sets the box width and height to address wiggle issue
when a finger moves slowly.

  feedback:834054715

BUG=chromium:236879
TEST=touchtests stout/wiggle_when_stationary
CQ-DEPEND=I65322b543c506339e25985e07661a14886847bfa

Change-Id: I3adb9e0c4654fc2e6838acceb9a7315a05e9651c
Reviewed-on: https://gerrit.chromium.org/gerrit/50163
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
10 months agomousecontrol: Fix RAT3 (and likely similar) mice. 77/57177/4
Andrew de los Reyes [Thu, 30 May 2013 23:28:18 +0000 (16:28 -0700)]
mousecontrol: Fix RAT3 (and likely similar) mice.

The RAT3 has an interersting property: It always has one of buttons
10, 11, or 12 pressed. Pressing the "mode" button on the mouse (the
one with an LED to the left of the standard left button) rotates
between them. By default, the pressed button is 10.

This has the side effect of Chrome thinking a mouse button is down on
a window, which causes some odd behavior.

To fix, we disable these three buttons. To the best of our knowledge,
this will not have any negative impact on any devices.

(Also, remove an outdated comment)

BUG=chromium:223552
TEST=Manually tested on device. Before this patch, pressing the mode
button or attaching the device while the cursor was hovering over a
background window would bring said window to the front. After this
change, no such action occurs. Also, previous to this change, 'xev'
would show button/press release messages when hitting the mode button,
but those message don't occur after this change.

Change-Id: I8d55f8b8eee82814567fcdc2365a8f8af2392512
Reviewed-on: https://gerrit.chromium.org/gerrit/57177
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

10 months agostout: Set Box Width of 0.5 to reduce stationary wiggle. 26/57126/2
Andrew de los Reyes [Thu, 30 May 2013 18:12:55 +0000 (11:12 -0700)]
stout: Set Box Width of 0.5 to reduce stationary wiggle.

This is a temporary fix. CY is working on a better longer term fix,
but we need something in the mean time for ToT/R28.

BUG=chromium:245084
TEST=Manually tested on device.

Change-Id: Ie8c407dbd43d6eff86cd14f35d907ff9323227a8
Reviewed-on: https://gerrit.chromium.org/gerrit/57126
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

11 months ago50-touchpad-cmt-daisy.conf: Spring touchMajor calibration 38/50738/2 factory-4128.B factory-spring-4131.B
Andrew de los Reyes [Fri, 10 May 2013 00:12:07 +0000 (17:12 -0700)]
50-touchpad-cmt-daisy.conf: Spring touchMajor calibration

The old value was just copied from Link. This was measured.

BUG=chromium:239677
TEST=No regression test changes; manually tested on spring.

Change-Id: Id58273772e5f3216525a9beb49e6642903953eae
Reviewed-on: https://gerrit.chromium.org/gerrit/50738
Reviewed-by: Benson Leung <bleung@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
11 months agoMoving the linearity data files to xorg-conf 53/49353/2
Charlie Mooney [Fri, 26 Apr 2013 19:28:52 +0000 (12:28 -0700)]
Moving the linearity data files to xorg-conf

Lumpy had it's linearity data stored in a private directory, but there
was really not much reason for that.  This puts a copy of the files in
the xorg-conf directory so they can just be installed from there.  This
way all the linearity files can be stored in one place and it's much
easier to manage.

BUG=chromium:233581
TEST=none, this just adds the files into the directory

Change-Id: I1f695aa2ef2f5205ce23228ed409dc907b03a842
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49353
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
11 months ago50-touchpad-cmt-stout.conf: reduce max wiggle distance 66/50166/3
Chung-yih Wang [Mon, 6 May 2013 09:34:15 +0000 (17:34 +0800)]
50-touchpad-cmt-stout.conf: reduce max wiggle distance

  Large wiggle max distance limits some fast scroll gestures.

BUG=chromium:236880
TEST=touchtests stout/null_when_scroll_intended3

Change-Id: Ie6197c0f01214a13e730cdadf8d7ce1d19ab4b06
Reviewed-on: https://gerrit.chromium.org/gerrit/50166
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
11 months agoMagic Mouse: Reduce Box Height 95/49995/2
Andrew de los Reyes [Fri, 3 May 2013 00:50:03 +0000 (17:50 -0700)]
Magic Mouse: Reduce Box Height

Other code can handle wiggle better, so we can reduce this.

BUG=chromium:237692
TEST=magicmouse/no_scrolls test

Change-Id: I95b1084ef8824c0a47b4f1e7dea3d43fb85692e7
Reviewed-on: https://gerrit.chromium.org/gerrit/49995
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

11 months ago50-touchpad-cmt-stout.conf: reduce tap minimum pressure 95/49895/4
Chung-yih Wang [Thu, 2 May 2013 15:36:31 +0000 (23:36 +0800)]
50-touchpad-cmt-stout.conf: reduce tap minimum pressure

From the experiments, the pressure values are smaller on the edges than
the ones in the center with the same probe. Therefore, we relax the
tap minimum pressure threshold to enable tap-to-click on the bottom.

BUG=none
TEST=touchtests stout/null_when_scroll_intended2

Change-Id: Id94b76ad3608db1b4362085214e7021c34ba8c58
Reviewed-on: https://gerrit.chromium.org/gerrit/49895
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
11 months ago50-touchpad-cmt-stout.conf: reduce pressure change duration 19/49719/4
Chung-yih Wang [Wed, 1 May 2013 15:24:56 +0000 (23:24 +0800)]
50-touchpad-cmt-stout.conf: reduce pressure change duration

The touchpad is on ps/2 bus which is slow for reporting fingers and
we also have lookahead filter which could insert interpolation between
reports. Thus, we should reduce the default value for stout to enable
some two-finger scroll gestures.

BUG=chromium:236880
TEST=touchtests stout/null_when_scroll_intended2

Change-Id: I6400286da64941d14a5e86130dedc8f1bab0521e
Reviewed-on: https://gerrit.chromium.org/gerrit/49719
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
11 months ago50-touchpad-cmt-stout.conf: disable iir filter 59/49159/5
Chung-yih Wang [Thu, 25 Apr 2013 07:56:16 +0000 (15:56 +0800)]
50-touchpad-cmt-stout.conf: disable iir filter

As the touchpad is small on stout, applying IIR filter makes
some 2f scrollings/swipes either nothing or right clicks.

BUG=chromium:233797, chromium:215124
TEST=touchtests stout/*

Change-Id: I89dc9a925d07d48efdcd6f4c3bfa5c3845cd0580
Reviewed-on: https://gerrit.chromium.org/gerrit/49159
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
11 months agoSet sensible thresholds of finger-swiping speed 94/49694/3
Che-Liang Chiou [Wed, 1 May 2013 00:34:33 +0000 (17:34 -0700)]
Set sensible thresholds of finger-swiping speed

This speed is derived from the feedback log
  https://feedback.corp.google.com/#/Report/812524363?context=ri

BUG=chromium:235968
TEST=Pass regression test generated from the logs of
       https://feedback.corp.google.com/#/Report/812524363?context=ri
     And no regressions of regression tests from the logs of
       https://feedback.corp.google.com/#/Report/786686567?context=ri
       https://feedback.corp.google.com/#/Report/786691579?context=ri

Change-Id: Id0ff4074ec37bbc8527ea23c0d76e3c8031391cc
Reviewed-on: https://gerrit.chromium.org/gerrit/49694
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>

11 months agoAdd square-shaped "Box Height" properties 34/49534/2
Che-Liang Chiou [Mon, 29 Apr 2013 21:59:26 +0000 (14:59 -0700)]
Add square-shaped "Box Height" properties

As BoxFilterInterpreter takes rectangular shaped boxes, add "Box Height"
that equals to "Box Width" so that the old behavior of square-shaped
boxes does not change.

BUG=chromium:235971
TEST=connect Magic Mouse and manually test on Snow

Change-Id: I33a9362d564cb30c82446a6c43eb3085a5ebc699
Reviewed-on: https://gerrit.chromium.org/gerrit/49534
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Che-Liang Chiou <clchiou@chromium.org>

11 months agoSet sensible values of pressure change 19/49119/2 stabilize-4068.0.B
Che-Liang Chiou [Thu, 25 Apr 2013 00:14:17 +0000 (17:14 -0700)]
Set sensible values of pressure change

These pressure change values are derived from feedback reports.

BUG=none
TEST=touchtests pass

Change-Id: Ia023a5933a25475e58e0547d1bf558ffe6b5d543
Reviewed-on: https://gerrit.chromium.org/gerrit/49119
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Che-Liang Chiou <clchiou@chromium.org>

11 months agoFix Magic Mouse CMT config 49/47949/3
Che-Liang Chiou [Fri, 12 Apr 2013 01:27:55 +0000 (18:27 -0700)]
Fix Magic Mouse CMT config

BUG=none
TEST=connect Magic Mouse and examine log to make sure that pressure data
     computed from touch_major and touch_minor

Change-Id: I1abea4d1f1eb9e82831df5ea928bf1ce49c213bc
Reviewed-on: https://gerrit.chromium.org/gerrit/47949
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Che-Liang Chiou <clchiou@chromium.org>

11 months agoAdding default values for Snow non-linearity conf 16/48816/2
Charlie Mooney [Mon, 22 Apr 2013 21:15:31 +0000 (14:15 -0700)]
Adding default values for Snow non-linearity conf

This adds in the default configuration for Snow with it's new linearity
filter.  Initially it will be turned off by default until it's been
confirmed to be working well, as I'm going to have to play with some
other configs to make it play nicely with the other filters.  However,
since you can't change string parameters at runtime, this value needs to
be set here in the meantime.

BUG=chromium:233581
TEST=Manual testing

Change-Id: Ib0b33b9d47127f6a13edcc9a43c2882e7636489a
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48816
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
11 months ago50-touchpad-cmt-stout.conf: fix y resolution 45/49045/2
Chung-yih Wang [Wed, 24 Apr 2013 09:13:15 +0000 (17:13 +0800)]
50-touchpad-cmt-stout.conf: fix y resolution

Since the touchpad height is 36 mm and its
ABS_Y range is 413~5534, the actual resolution
should be 142 instead of 160.

BUG=chromium:233797
TEST=touchtests stout/move_when_swipe_intended

Change-Id: Id78d94aae00202c98f272b9df1dde8778379247f
Reviewed-on: https://gerrit.chromium.org/gerrit/49045
Reviewed-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
12 months ago50-touchpad-cmt-daisy.conf: Spring support 41/48441/3 stabilize-4035.0.B
Andrew de los Reyes [Wed, 17 Apr 2013 21:19:44 +0000 (14:19 -0700)]
50-touchpad-cmt-daisy.conf: Spring support

This adds an initial configuration for Spring. I still need to fix up
TouchMajor calibration, but that will be a bigger CL since I need to
change something in the gestures library with that.

I'd like to get this configuration in ASAP so we can start collecting
feedback.

BUG=chromium:233007
TEST=Manually tested on device

Change-Id: Ibf0e50309b08f7aabb57c228eccd294ce7eed211
Reviewed-on: https://gerrit.chromium.org/gerrit/48441
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
12 months agoEnabling the non-linearity filter for Lumpy 97/46697/2 stabilize-4008.0.B
Charlie Mooney [Wed, 27 Mar 2013 22:16:22 +0000 (15:16 -0700)]
Enabling the non-linearity filter for Lumpy

This sets the xorg config values to enable the non-linearity filter on
Lumpy.  It also needs to touch some values in the sensor_jump filter
since they interact with eachother and caused some problems.  These
settings seem to work well.

BUG=chromium:214518
TEST=Manual testing on a Lumpy as well as the touchpad regression tests
CQ-DEPEND=I1af3d3f821f9b60671eb2ffdf887123a60ddd9b5

Change-Id: Id64baabd2523d60f6a379e3d53c9660696b93d2c
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46697
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
12 months agoSupport for Logitech T651 touchpad 36/46636/2
Andrew de los Reyes [Wed, 27 Mar 2013 15:42:59 +0000 (08:42 -0700)]
Support for Logitech T651 touchpad

This pad is very similar to the T650, but pressure readings are
slightly different.

BUG=chromium:223138
TEST=Tested the devive manually

Change-Id: Ie8992f9f89f76e82e81cf8ce0d8439f4885881fd
Reviewed-on: https://gerrit.chromium.org/gerrit/46636
Reviewed-by: Yufeng Shen <miletus@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
13 months agoMagic Mouse with CMT support 14/46314/3 release-R27-3912.B stabilize-3912.79.B toolchainA
Andrew de los Reyes [Fri, 22 Mar 2013 17:40:06 +0000 (10:40 -0700)]
Magic Mouse with CMT support

BUG=chromium:218453
TEST=tested manually on link with Magic Mouse

Change-Id: Id84636970c9307d2864e675a1a85fe828a398446
Reviewed-on: https://gerrit.chromium.org/gerrit/46314
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Commit-Queue: Che-Liang Chiou <clchiou@chromium.org>

13 months agoAdd tuning for Logitech Wireless Touchpad and T650 touchpad. 11/45811/2
Andrew de los Reyes [Thu, 28 Feb 2013 15:57:01 +0000 (07:57 -0800)]
Add tuning for Logitech Wireless Touchpad and T650 touchpad.

BUG=chromium-os:39354
TEST=Tested on device. Will add base regression test cases

Change-Id: I278c07a7d0b9f8d505e211935192e916294d2c42
Reviewed-on: https://gerrit.chromium.org/gerrit/45811
Reviewed-by: Yufeng Shen <miletus@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
13 months agoAdd 'Integrated Touchpad' property. 99/45799/3 stabilize-3881.0.B
Andrew de los Reyes [Mon, 18 Mar 2013 22:54:12 +0000 (15:54 -0700)]
Add 'Integrated Touchpad' property.

Devcies that are integrated to a laptop should set this to 1. It
currently only affects how pointer motion works on a rotated
integrated display.

BUG=chromium:196434
TEST=Tested manually on Link

Change-Id: If1295aa302d8826a0a1844143c56e317cd2c116c
Reviewed-on: https://gerrit.chromium.org/gerrit/45799
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
13 months agoAdd in new 2x fling buffer depth for Mario 45/45745/2
Charlie Mooney [Mon, 18 Mar 2013 15:40:37 +0000 (08:40 -0700)]
Add in new 2x fling buffer depth for Mario

The way that the mario trackpad works requires that it actually scan 2x
the number of events as the other trackpads.  Previously this value was
set to 6 since everything else was using 3, but now that we are
changing the default value to a depth of 10 everywhere else, this should
really get turned up to 20, so it can keep up.

TEST=Salsa user-study to show that people actually like the bigger
buffer and regression tests to show the change doesn't break stuff
BUG=chromium:21670
CQ-DEPEND=Ib985b987d65325140b088a844ef5f8c0ad2b88f7

Change-Id: I87a4eb4e42945be68edfa511c4098230eabe004f
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45745
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
13 months agoCMT: Fix stantum resolution 30/43430/3 factory-spring-3842.B firmware-spring-3824.4.B firmware-spring-3824.55.B firmware-spring-3824.84.B firmware-spring-3824.B firmware-spring-3833.B
Andrew de los Reyes [Fri, 15 Feb 2013 22:18:34 +0000 (14:18 -0800)]
CMT: Fix stantum resolution

BUG=None
TEST=Tested on device

Change-Id: Ibe2d736df0431f87908a16add76243103805e955
Reviewed-on: https://gerrit.chromium.org/gerrit/43430
Reviewed-by: Yufeng Shen <miletus@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
13 months agoCMT: Make sure all stanzas for particular pads match on the product. 57/43857/3
Andrew de los Reyes [Sat, 23 Feb 2013 01:59:00 +0000 (17:59 -0800)]
CMT: Make sure all stanzas for particular pads match on the product.

BUG=chromium-os:39182
TEST=tested no props changed on these machines

Change-Id: I68629a41cca8e65c5c7ca9892be99abd50bf1504
Reviewed-on: https://gerrit.chromium.org/gerrit/43857
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
13 months agoCypress: Update props for new filters 54/43854/2
Andrew de los Reyes [Sat, 23 Feb 2013 01:17:25 +0000 (17:17 -0800)]
Cypress: Update props for new filters

The split corrector is now optional, so enable it for all cypress
filters. Also, extra fixes for finger lift for parrot, daisy,
butterfly.

BUG=chromium-os:36699
TEST=butterfly2.4/move_jumped_at_end regression test

Change-Id: I41b05119144dd0ef19a16cc7fb6df14c23179596
Reviewed-on: https://gerrit.chromium.org/gerrit/43854
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
14 months agox11-base/xorg-server: Enable NoTrapSignals 40/43440/3
Daniel Kurtz [Mon, 18 Feb 2013 05:09:45 +0000 (13:09 +0800)]
x11-base/xorg-server: Enable NoTrapSignals

By default, Xorg traps most signals with its generic signal handler
(OsSigHandler) which:
 * prints the signal number and name to /var/log/xorg/Xorg.0.log
 * computes and prints a backtrace to /var/log/xorg/Xorg.0.log
 * performs an 'orderly' shutdown
 * kills itself by raising SIGABRT

Having the stringified backtrace in the Xorg log is useful during
debugging.  However, this creates a set of problems:

 1) the resulting core dumps are misleading since the crash cause is
SIGABRT and no longer contain the original faulting signal.
 2) the instruction where the original signal occured is (at best) buried
in the backtrace.
 3) backtraces don't seem to always work well before a signal handler:
   a) on arm, or
   b) when the original signal occurred during another signal handler.

(1) & (2) make crash triage on the crash_reporter server much more
difficult because the automated tools are mislead by the SIGABRT.

(3) means that the backtraces on the server often start with the default
signal handler, and contain nothing about the original signal. For example:

Thread 0 *CRASHED* ( SIGABRT @ 0x00000000 )

0x76b52216  [libc-2.15.so]  + 0x00017216]
0x76b600c1  [libc-2.15.so]  - ../nptl/sysdeps/unix/sysv/linux/raise.c:67] raise
0x76b60e3b  [libc-2.15.so]  - abort.c:91] abort
0x76fac965  [Xorg]  - ../../xorg-server-1.12.4/os/utils.c:1210] OsAbort
0x76f162e1  [Xorg]  - ../../../../xorg-server-1.12.4/hw/xfree86/common/xf86Init.c:1020] ddxGiveUp
0x76faf4d9  [Xorg]  - ../../xorg-server-1.12.4/os/log.c:476] AbortServer
0x76faf5b9  [Xorg]  - ../../xorg-server-1.12.4/os/log.c:611] FatalError
0x76fab14b  [Xorg]  - ../../xorg-server-1.12.4/os/osinit.c:146] OsSigHandler
0x76b60d1e  [libc-2.15.so]  + 0x00025d1e]

BUG=chromium:175878
TEST=0) ssh to device
TEST=1) ps -ef | grep '/usr/bin/X'
TEST=2) kill -11 <Xorg-pid>
TEST=3) tail /var/log/xorg/Xorg.0.log.old
  => Should not contain a backtrace, nor any indication that a signal occured
TEST=4) ls /var/spool/crash
  => Should have a new Xorg.<datecode>.core
TEST=5) gdb --core=/var/spool/crash/Xorg.<datecode>.core
  => On loading, should say that Xorg was killed by SIG11 (SIGSEGV)
  "Program terminated with signal 11, Segmentation fault."
TEST=6) bt
  => Should show a backtrace not that does not include OsSignalHandler

Change-Id: Ibafddd5514f78f8d64ac588fc1a7c2a17922548b
Reviewed-on: https://gerrit.chromium.org/gerrit/43440
Commit-Queue: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
14 months agoinitial revision with conf files from overlay 97/43397/1
Andrew de los Reyes [Fri, 15 Feb 2013 18:25:42 +0000 (10:25 -0800)]
initial revision with conf files from overlay

BUG=chromium-os:38975
TEST=emerge-link xorg-conf installs same files