Re: [Linuxwacom-devel] [PATCH libwacom] data: add DTU-720, DTU-1631 and DTU-2231 to tablet database

2012-03-28 Thread Jason Gerecke
remove this FIXME if you'd like; I've verified the info is correct for the 2231. + +[Device] +Name=Wacom DTU-2231 +DeviceMatch=usb:056a:00ce +Width=19 +Height=11 + +[Features] +Stylus=true +Buttons=0 +BuiltIn=true + -- 1.7.7.6 Reviewed-by: Jason Gerecke killert...@gmail.com Jason

[Linuxwacom-devel] [PATCH input-wacom 1/2] backport: add support for Cintiq 24HD

2012-03-28 Thread Jason Gerecke
Based on upstream commit 803296b678a43005e3bc0aaa1951d211bd76a054 Signed-off-by: Jason Gerecke killert...@gmail.com --- 2.6.30/wacom_wac.c | 77 +++- 2.6.30/wacom_wac.h |1 + 2.6.36/wacom_wac.c | 77

[Linuxwacom-devel] [PATCH linuxwacom] Specify correct buffer size in wacom_query_tablet_data

2012-03-28 Thread Jason Gerecke
Changes the spciefied buffer size from 3 bytes to 2 bytes to match the amount we allocated. Hasn't caused problems yet, but probably could. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/2.6.16/wacom_sys.c |2 +- src/2.6.30/wacom_sys.c |2 +- 2 files changed, 2 insertions

[Linuxwacom-devel] [PATCH] Don't share names of action atoms across properties

2012-03-14 Thread Jason Gerecke
occuring. Signed-off-by: Jason Gerecke killert...@gmail.com --- tools/xsetwacom.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index 2c546b1..7cf0d05 100644 --- a/tools/xsetwacom.c +++ b/tools/xsetwacom.c @@ -1264,7 +1264,7 @@ static

Re: [Linuxwacom-devel] [PATCH] Don't share names of action atoms across properties

2012-03-14 Thread Jason Gerecke
Wacom Intuos3 6x8 pad Button 1 key +h -h $ xsetwacom --get Wacom Intuos3 6x8 pad StripLeftUp key +h -h StripLeftUp outputs g after this (which is correct), but xsetwacom --get output is still wrong. Regards, T Hall On Wed, 14 Mar 2012 12:36:06 -0700 Jason Gerecke killert...@gmail.com wrote

[Linuxwacom-devel] [PATCH] Add support for the Intuos5

2012-03-12 Thread Jason Gerecke
Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmUSB.c|7 +++ src/wcmValidateDevice.c |5 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/wcmUSB.c b/src/wcmUSB.c index a2d30da..472f470 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c

[Linuxwacom-devel] [PATCH v2 4/4] input: wacom: Intuos5 multitouch sensor support

2012-03-12 Thread Jason Gerecke
Intuos5 tablets with PTH-* model numbers include a multitouch sensor which use the same touch reports as the 3rd-generation Bamboo. No useful information is in the HID descriptor for the touch interface so hardcoded values are used during setup. Signed-off-by: Jason Gerecke killert...@gmail.com

Re: [Linuxwacom-devel] [PATCH 1/2] HID: wacom: Reset stylus buttons - Intuos4 WL

2012-03-09 Thread Jason Gerecke
-by: Jason Gerecke killert...@gmail.com Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha. -- Virtualization Cloud Management Using Capacity Planning Cloud computing

Re: [Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-09 Thread Jason Gerecke
On Fri, Mar 9, 2012 at 5:20 AM, Przemo Firszt prz...@firszt.eu wrote: This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 and are related to absolute location of the finger on the wheel. Signed-off-by: Przemo Firszt prz...@firszt.eu ---  drivers/hid/hid-wacom.c |   19

Re: [Linuxwacom-devel] [PATCH] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-09 Thread Jason Gerecke
: Reviewed-by: Jason Gerecke killert...@gmail.com Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha. +                       input_report_key(input, BTN_TOUCH, 1); +                       input_report_abs(input, ABS_WHEEL, (new_whlstate 0x7f

[Linuxwacom-devel] [PATCH 1/4] input: wacom: Intuos5 basic support

2012-03-09 Thread Jason Gerecke
This patch adds support for the basic pen functions of Intuos5 tablets. --- drivers/input/tablet/wacom_wac.c | 36 +--- drivers/input/tablet/wacom_wac.h |3 +++ 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/drivers/input/tablet/wacom_wac.c

[Linuxwacom-devel] [PATCH 2/4] input: wacom: Intuos5 Touch Ring/ExpressKey support

2012-03-09 Thread Jason Gerecke
Intuos5 uses a new report type for Touch Ring and ExpressKey data. Note that data from the capacitive sensors present on the ExpressKeys will be ignored until a proper way is found to expose it. --- drivers/input/tablet/wacom_wac.c | 33 +++--

[Linuxwacom-devel] [PATCH 3/4] input: wacom: Intous5 Touch Ring LED support

2012-03-09 Thread Jason Gerecke
The Touch Ring LEDs on Intuos5 tablets use a different report format which supports only 4 levels of brightness. We remap the 7-bit value obtained from sysfs to an appropriate value for the tablet. Control of the crop mark LEDs (new to the I5) is left for a later patch. ---

[Linuxwacom-devel] [PATCH 4/4] input: wacom: Intuos5 multitouch sensor support

2012-03-09 Thread Jason Gerecke
Intuos5 tablets with PTH-* model numbers include a multitouch sensor which use the same touch reports as the 3rd-generation Bamboo. No useful information is in the HID descriptor for the touch interface so hardcoded values are used during setup. --- drivers/input/tablet/wacom_sys.c | 24

Re: [Linuxwacom-devel] Tilt value meaning

2012-03-08 Thread Jason Gerecke
On Thu, Mar 8, 2012 at 4:14 AM, Nikolai Kondrashov spbn...@gmail.com wrote: On 03/08/2012 02:18 AM, Jason Gerecke wrote: Our kernel driver reports values from [0, 127] with 0 corresponding to top/left and 127 to bottom/right. The midpoint is assumed to be vertical, with one unit of change

Re: [Linuxwacom-devel] [PATCH] wcmXCommand: Fix invalid array size for serial values.

2012-03-05 Thread Jason Gerecke
On Thu, Mar 1, 2012 at 1:24 PM, Peter Hutterer peter.hutte...@who-t.net wrote: From: Colin Walters walt...@verbum.org Introduced in c21b6876b435bb34112956716fea14477ef9e8d7 Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- oops.  src/wcmXCommand.c |    2 +-  1 files changed, 1

Re: [Linuxwacom-devel] [PATCH] Export current tool ID in the property too

2012-02-29 Thread Jason Gerecke
a 0.13.99.2 with this patch folded in. Aside from the issue mentioned above: Reviewed-by: Jason Gerecke killert...@gmail.com Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha

Re: [Linuxwacom-devel] [PATCH 3/3] xsetwacom: fix compiler warning

2012-02-29 Thread Jason Gerecke
               fprintf(stderr, Unable to find an output '%s'.\n, argv[0]);  } -- 1.7.7.6 Whoops. Looks like I forgot to remove that in the final version of the patch. Thank goodness for compiler warnings :) For the whole set: Reviewed-by: Jason Gerecke killert...@gmail.com Jason --- Day

Re: [Linuxwacom-devel] [SOLVED] Pad buttons on Intuos4 WL (bluetooth and USB connection)

2012-02-27 Thread Jason Gerecke
On Mon, Feb 27, 2012 at 5:29 AM, Przemo Firszt prz...@firszt.eu wrote: Dnia 2012-02-27, pon o godzinie 10:54 +, Przemo Firszt pisze: I'm experiencing some problems with pad buttons. They are not overlapping with pen buttons (that's OK), but if I try to redefine them using: xsetwacom

[Linuxwacom-devel] [PATCH 2/4] Replace multiple default variables with arrays

2012-02-27 Thread Jason Gerecke
Storing the defaults for strips and wheels in individual variables makes updating and scanning through them very tedious. This patch replaces the variables with arrays and introduces new #define statements to keep the level of semantic meaning we had. Signed-off-by: Jason Gerecke killert

[Linuxwacom-devel] [PATCH 1/4] Directly index into the various *keys arrays

2012-02-27 Thread Jason Gerecke
, systems which set both raw *and* action button mappings will appear to have the button number associated with actions change. Since the only way to set raw button mappings is via xorg.conf, there is little expected fallout from this change. Signed-off-by: Jason Gerecke killert...@gmail.com --- src

[Linuxwacom-devel] [PATCH 3/4] Remove support for 8-bit (raw button) strip/ring properties

2012-02-27 Thread Jason Gerecke
, but the actual fallout is expected to be minimal. Applications which don't understand Actions are already broken (since they can't work with buttons) and those that do understand Actions but don't use them can be easily modified. Signed-off-by: Jason Gerecke killert...@gmail.com --- src

[Linuxwacom-devel] [PATCH 4/4] Cleanup call chain for action properties

2012-02-27 Thread Jason Gerecke
This patch rewrites the call chains used for setting the three action properties by introducing a single function to handle the 'Actions' properties, and a single function for 'Action' properties. Functions which were merely helper functions have been inlined if appropriate. Signed-off-by: Jason

[Linuxwacom-devel] [PATCH] Extend length of wheel_actions array to 6

2012-02-17 Thread Jason Gerecke
This array was apparently overlooked when adding support for the second touch ring present on the 24HD. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/xf86WacomDefs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h

[Linuxwacom-devel] [PATCH] Remove redundant redeclaration of 'wcmInitialScreens'

2012-02-09 Thread Jason Gerecke
From GCC: In file included from ../src/xf86Wacom.c:46:0: ../src/xf86Wacom.h:147:13: warning: redundant redeclaration of 'wcmInitialScreens' [-Wredundant-decls] ../src/xf86Wacom.h:146:13: note: previous declaration of 'wcmInitialScreens' was here Signed-off-by: Jason Gerecke killert

[Linuxwacom-devel] [PATCH] Check for appropriate number of properties when setting buttons

2012-02-09 Thread Jason Gerecke
for the proper size. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmXCommand.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c index d0963f1..0fd5664 100644 --- a/src/wcmXCommand.c +++ b/src/wcmXCommand.c @@ -849,7 +849,8

Re: [Linuxwacom-devel] [PATCH 4/4] data: Add additional metadata that isn't yet representable

2012-02-02 Thread Jason Gerecke
On Thu, Feb 2, 2012 at 7:56 AM, Bastien Nocera had...@hadess.net wrote: Jason Gerecke killertofu@... writes: Thankfully, not too terribly long. I've got representatives of most of the tablets handy, though some with different button layouts (e.g. Intuos4 Small) were guesses. I've updated 2

Re: [Linuxwacom-devel] libwacom

2012-02-02 Thread Jason Gerecke
On Thu, Feb 2, 2012 at 12:09 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Thu, Feb 2, 2012 at 12:31 PM, Bastien Nocera had...@hadess.net wrote: On Thu, 2012-02-02 at 11:55 -0600, Favux ... wrote: Hi Bastien, Thanks for reviewing the wiki page. On Thu, Feb 2, 2012 at 10:31 AM, Bastien

Re: [Linuxwacom-devel] [PATCH 1/4] Update stylus definitions

2012-01-31 Thread Jason Gerecke
On Tue, Jan 31, 2012 at 7:14 AM, Bastien Nocera had...@hadess.net wrote: Jason Gerecke killertofu@... writes: Information compiled from public information cross-referenced with internal Wacom documents. Awesome! Do you have stylus definitions for the Graphire and other consumer products

Re: [Linuxwacom-devel] [PATCH 4/4] data: Add additional metadata that isn't yet representable

2012-01-31 Thread Jason Gerecke
On Tue, Jan 31, 2012 at 7:16 AM, Bastien Nocera had...@hadess.net wrote: Jason Gerecke killertofu@... writes: Adds in additional metadata that doesn't currently have a way of being formally expressed. All hail ASCII art. Very interesting data, I can't imagine how long it took you to do

[Linuxwacom-devel] [PATCH 3/4] Introduce Puck type and IDs

2012-01-30 Thread Jason Gerecke
Since I have them handy, it only makes sense to add them as well. Signed-off-by: Jason Gerecke killert...@gmail.com --- data/intuos-12x12.tablet |2 +- data/intuos-12x18.tablet |2 +- data/intuos-4x5.tablet |2 +- data/intuos-6x8.tablet |2 +- data/intuos-9x12

[Linuxwacom-devel] [PATCH 4/4] data: Add additional metadata that isn't yet representable

2012-01-30 Thread Jason Gerecke
Adds in additional metadata that doesn't currently have a way of being formally expressed. All hail ASCII art. Signed-off-by: Jason Gerecke killert...@gmail.com --- data/cintiq-12wx.tablet| 32 data/cintiq-20wsx.tablet | 36

[Linuxwacom-devel] [PATCH v3] Enable LED status change through xsetwacom

2012-01-25 Thread Jason Gerecke
Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v2: Deduplicate storing in sysfs Deduplicate fd closing Deduplicate LED setting by looping through all groups Change wording of xsetwacom property description Consolidate led{0,1}_status variables

Re: [Linuxwacom-devel] [PATCH v3] Enable LED status change through xsetwacom

2012-01-25 Thread Jason Gerecke
:54 PM, Jason Gerecke killert...@gmail.com wrote: Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v2:    Deduplicate storing in sysfs    Deduplicate fd closing    Deduplicate LED setting by looping through all groups    Change wording of xsetwacom property description

Re: [Linuxwacom-devel] [PATCH v2] Enable LED status change through xsetwacom

2012-01-23 Thread Jason Gerecke
On Sun, Jan 22, 2012 at 8:43 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Jan 20, 2012 at 10:56:23AM -0800, Jason Gerecke wrote: Ping's out for a little while, so I'll be taking over the patch. I've got other stuff on my plate though, so it may take some time to fold

Re: [Linuxwacom-devel] [PATCH v2] Enable LED status change through xsetwacom

2012-01-23 Thread Jason Gerecke
On Sun, Jan 22, 2012 at 8:49 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Jan 20, 2012 at 10:55:59AM -0800, Jason Gerecke wrote: On Thu, Jan 19, 2012 at 8:12 PM, Peter Hutterer peter.hutte...@who-t.net wrote: CC-ing Eduard, since he's been working on this as well On Wed, Jan

Re: [Linuxwacom-devel] [PATCH v2] Enable LED status change through xsetwacom

2012-01-23 Thread Jason Gerecke
On Mon, Jan 23, 2012 at 3:36 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Jan 23, 2012 at 10:30:34AM -0800, Jason Gerecke wrote: On Sun, Jan 22, 2012 at 8:49 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Jan 20, 2012 at 10:55:59AM -0800, Jason Gerecke wrote

Re: [Linuxwacom-devel] [PATCH v2] Enable LED status change through xsetwacom

2012-01-20 Thread Jason Gerecke
Ping's out for a little while, so I'll be taking over the patch. I've got other stuff on my plate though, so it may take some time to fold in the changes. On Thu, Jan 19, 2012 at 8:13 PM, Peter Hutterer peter.hutte...@who-t.net wrote: Thank you, I CC'd Eduard here to, he may have some comments

Re: [Linuxwacom-devel] [PATCH] lib: Don't export private symbols

2012-01-11 Thread Jason Gerecke
I've been meaning to get around to fixing up and submitting the Solaris patches that were submitted a while back (they work fine, but are in need of some editing)... Higher priority projects keep appearing on my plate before I can do much with it, but I'd still like to keep the GNU-isms to a

Re: [Linuxwacom-devel] [PATCH v5 1/5] De-duplicate code for wheel/strip scrolling

2011-12-29 Thread Jason Gerecke
On Wed, Dec 21, 2011 at 9:27 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Dec 21, 2011 at 03:28:54PM -0800, Jason Gerecke wrote: Replaces sendWheelStripEvents and getWheelButton with several small functions to reduce unnecessary code duplication. As a side-effect, it is now

[Linuxwacom-devel] Getting Ready for 0.13

2011-12-29 Thread Jason Gerecke
Its been six weeks since 0.12 was released, so I'd like to start looking at getting 0.13 out of the door. There are a few patches in need of review, and a couple bug reports that need further action. I'll be making the RC1 release on Saturday, so now's the time to submit/review/nominate anything

[Linuxwacom-devel] [PATCH v5 2/5] Add basic support for Cintiq 24HD

2011-12-21 Thread Jason Gerecke
Adds the Cintiq 24HD (056a:00f4) to the device lists. The 24HD has two features not found on prior tablets: three capacitive buttons, and a second touch ring. Subsuquent patches will address adding support for them. Signed-off-by: Jason Gerecke killert...@gmail.com Reviewed-by: Chris Bagwell ch

[Linuxwacom-devel] [PATCH v5 4/5] Have the second touch ring emulate wheel events by default

2011-12-21 Thread Jason Gerecke
Touch strips as well as the first touch ring are set up to emulate mouse wheel events by default. This patch duplicates this behavior for the second touch ring, so that it behaves in an identical manner. Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v3: * Move after de

[Linuxwacom-devel] [PATCH v5 1/5] De-duplicate code for wheel/strip scrolling

2011-12-21 Thread Jason Gerecke
to returning a single button/action. Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v3: * Move to head of patchset * Add tests for getScrollDelta and getWheelButton * Fix bugs in getScrollDelta doc (wrap is max, not max+1) * Fix bugs in getScrollDelta implementation * log2(0

[Linuxwacom-devel] [PATCH v5 5/5] Expose the second touch ring's raw value in a new 7th valuator

2011-12-21 Thread Jason Gerecke
This patch expands the number of valuators reported by devices to seven. The new seventh valuator reports the raw value provided from the kernel for the second touch ring. Signed-off-by: Jason Gerecke killert...@gmail.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Chris

[Linuxwacom-devel] [PATCH v5 3/5] Add 'abswheel2' to device state for dual-ring devices

2011-12-21 Thread Jason Gerecke
This patch adds an 'abswheel2' field to the _WacomDeviceState structure, along with corresponding 'oldWheel2' field to the _WacomDeviceRec structure. These fields store the state of the second touch ring on dual-ring devices such as the Cintiq 24HD. Signed-off-by: Jason Gerecke killert

Re: [Linuxwacom-devel] [PATCH 2/3] test: add more #defines to fix build issues.

2011-12-19 Thread Jason Gerecke
-by: Jason Gerecke killert...@gmail.com Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha. -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding

Re: [Linuxwacom-devel] [PATCH v3 5/5] De-duplicate code for wheel/strip scrolling

2011-12-19 Thread Jason Gerecke
On Sun, Dec 18, 2011 at 10:06 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Tue, Dec 13, 2011 at 01:59:02PM -0800, Jason Gerecke wrote: Replaces sendWheelStripEvents and getWheelButton with several small functions to reduce unnecessary code duplication. As a side-effect, it is now

[Linuxwacom-devel] [PATCH v3 1/5] Add basic support for Cintiq 24HD

2011-12-13 Thread Jason Gerecke
Adds the Cintiq 24HD (056a:00f4) to the device lists. The 24HD has two features not found on prior tablets: three capacitive buttons, and a second touch ring. Subsuquent patches will address adding support for them. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmUSB.c

[Linuxwacom-devel] [PATCH v3 4/5] Expose the second touch ring's raw value in a new 7th valuator

2011-12-13 Thread Jason Gerecke
This patch expands the number of valuators reported by devices to seven. The new seventh valuator reports the raw value provided from the kernel for the second touch ring. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmCommon.c | 11 +++ src/xf86Wacom.c | 28

[Linuxwacom-devel] [PATCH v3 5/5] De-duplicate code for wheel/strip scrolling

2011-12-13 Thread Jason Gerecke
to returning a single button/action. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmCommon.c | 206 --- 1 files changed, 121 insertions(+), 85 deletions(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index 0e719cf..170d1d0 100644

[Linuxwacom-devel] [PATCH v3 3/5] Have the second touch ring emulate wheel events by default

2011-12-13 Thread Jason Gerecke
Touch strips as well as the first touch ring are set up to emulate mouse wheel events by default. This patch duplicates this behavior for the second touch ring, so that it behaves in an identical manner. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmCommon.c | 29

[Linuxwacom-devel] [PATCH v4 2/5] Add 'abswheel2' to device state for dual-ring devices

2011-12-13 Thread Jason Gerecke
This patch adds an 'abswheel2' field to the _WacomDeviceState structure, along with corresponding 'oldWheel2' field to the _WacomDeviceRec structure. These fields store the state of the second touch ring on dual-ring devices such as the Cintiq 24HD. Signed-off-by: Jason Gerecke killert

Re: [Linuxwacom-devel] [PATCH 2/3] Input: wacom - remove unneeded ABS_MISC events

2011-12-07 Thread Jason Gerecke
This patch breaks puck buttons on the Graphire 3. Motion gets through fine, but clicking (left, middle, or right) is impossible. Interestingly, scrolling still works. Graphire 4 is unaffected. Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu

Re: [Linuxwacom-devel] [PATCH 3/3] Input: wacom - refactor grapire irq handler

2011-12-07 Thread Jason Gerecke
This patch breaks the Graphire 4. The X driver appears to get confused about what buttons are being pressed. This happens with all tools, from what I can tell. Only the right mouse button appears to work correctly, and can be used to get the driver back in sync with reality until you make another

Re: [Linuxwacom-devel] [PATCH 3/3] Input: wacom - refactor grapire irq handler

2011-12-07 Thread Jason Gerecke
On Wed, Dec 7, 2011 at 12:42 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Wed, Dec 7, 2011 at 2:16 PM, Jason Gerecke killert...@gmail.com wrote: This patch breaks the Graphire 4. The X driver appears to get confused about what buttons are being pressed. This happens with all tools, from

Re: [Linuxwacom-devel] [PATCH 2/3] Input: wacom - remove unneeded ABS_MISC events

2011-12-07 Thread Jason Gerecke
, Dec 7, 2011 at 2:14 PM, Jason Gerecke killert...@gmail.com wrote: This patch breaks puck buttons on the Graphire 3. Motion gets through fine, but clicking (left, middle, or right) is impossible. Interestingly, scrolling still works. Graphire 4 is unaffected. I see.  Thank you for testing

Re: [Linuxwacom-devel] wacom panel integrated in hp tablet 2710p crashes x

2011-11-29 Thread Jason Gerecke
xf86SetSerialSpeed, for which I do not have debug symbols yet. Also needs more investigation. Michael On 17.11.2011 18:47, Jason Gerecke wrote: On Wed, Nov 16, 2011 at 1:40 PM, Michael Spreng linuxwa...@m.spreng.ch wrote: Hello I already wrote on the discuss mailing list, to get my tablet

Re: [Linuxwacom-devel] Gesture HW-based fixes on github

2011-11-28 Thread Jason Gerecke
On Sat, Nov 26, 2011 at 4:45 PM, Chris Bagwell ch...@cnpbagwell.com wrote: The following changes since commit 31dbd9fc9fdd3691d9ef43c707ecc780e0c62d24:  xf86-input-wacom 0.12.0 (2011-11-15 11:21:46 -0800) are available in the git repository at:  git://github.com/cbagwell/xf86-input-wacom.git

Re: [Linuxwacom-devel] [PATCH 2/3] default gesture distance values based on hw maximums

2011-11-23 Thread Jason Gerecke
, for all three patches: Reviewed-by: Jason Gerecke killert...@gmail.com Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha. On Tue, Nov 22, 2011 at 7:39 PM, ch...@cnpbagwell.com wrote: From: Chris Bagwell ch...@cnpbagwell.com 2 finger

Re: [Linuxwacom-devel] wacom panel integrated in hp tablet 2710p crashes x

2011-11-17 Thread Jason Gerecke
On Wed, Nov 16, 2011 at 1:40 PM, Michael Spreng linuxwa...@m.spreng.ch wrote: Hello I already wrote on the discuss mailing list, to get my tablet working again. Now I got a bit further, The device sows up as /dev/ttyS0, but it crashes the X server: Backtrace: 0: X (xorg_backtrace+0x28)

Re: [Linuxwacom-devel] [PATCH 4/4] Default to touch tool for multi-touch devices

2011-11-14 Thread Jason Gerecke
On Sun, Jun 26, 2011 at 5:44 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sun, Jun 26, 2011 at 07:40:35PM -0500, Chris Bagwell wrote: On Sun, Jun 26, 2011 at 7:31 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sat, Jun 25, 2011 at 01:05:52PM -0500, ch...@cnpbagwell.com wrote:

Re: [Linuxwacom-devel] [PATCH 4/4] Default to touch tool for multi-touch devices

2011-11-14 Thread Jason Gerecke
On Mon, Nov 14, 2011 at 2:40 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Mon, Nov 14, 2011 at 3:48 PM, Jason Gerecke killert...@gmail.com wrote: On Sun, Jun 26, 2011 at 5:44 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sun, Jun 26, 2011 at 07:40:35PM -0500, Chris Bagwell wrote

Re: [Linuxwacom-devel] [PATCH 4/4] Default to touch tool for multi-touch devices

2011-11-14 Thread Jason Gerecke
On Mon, Nov 14, 2011 at 4:28 PM, Jason Gerecke killert...@gmail.com wrote: On Mon, Nov 14, 2011 at 3:08 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Mon, Nov 14, 2011 at 4:40 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Mon, Nov 14, 2011 at 3:48 PM, Jason Gerecke killert...@gmail.com

Re: [Linuxwacom-devel] Higher Point Calibration

2011-11-12 Thread Jason Gerecke
On Sat, Nov 12, 2011 at 2:37 AM, Cedric Sodhi man...@gmx.net wrote: Hello everybody, are there any intentions or just the possibility to calibrate Wacoms with n-point (n+1-th order) maps? I assume there is a good reason why so far we only have 1st-order/2-point mappings? I think this is a

[Linuxwacom-devel] [PATCH] Migrate Tablet(Has|Set)Feature to use the wacom-util macros

2011-11-09 Thread Jason Gerecke
In addition to consolidating code, this happens to fix a bug in the implementation of TabletHasFeature which would return true provided *any* bit of a multi-bit mask was set. Ever since 7c667678 when WCM_TPC was changed to a multi-bit mask, tablets with WCM_LCD set have been (mis-)treated as

[Linuxwacom-devel] [PATCH 1/2] Revert Only convert I4 tilt bits to rotation for the I4 mouse

2011-11-09 Thread Jason Gerecke
This reverts commit 9be9719d78af035c45ea4b191c21fab0ee54f198. Under the right conditions, the 'tool' pointer can be NULL, leading to the X server crashing. An easy way to trigger the crash is to spam pad events (such as button presses) while holding the stylus on the edge of proximity. Rather

[Linuxwacom-devel] [PATCH 2/2] Only convert I4 tilt bits to rotation for the I4 mouse (v2)

2011-11-09 Thread Jason Gerecke
This re-implements commit 9be9719d78af035c45ea4b191c21fab0ee54f198. Ping pointed out the device_type field that I had somehow missed when making the earlier commit. This provides essentially the same information as the IsCursor() macro that the original patch went through so much trouble to use.

Re: [Linuxwacom-devel] [PATCH 2/2] Only convert I4 tilt bits to rotation for the I4 mouse (v2)

2011-11-09 Thread Jason Gerecke
On Wed, Nov 9, 2011 at 2:12 PM, Jason Gerecke killert...@gmail.com wrote: This re-implements commit 9be9719d78af035c45ea4b191c21fab0ee54f198. Ping pointed out the device_type field that I had somehow missed when making the earlier commit. This provides essentially the same information

[Linuxwacom-devel] xf86-input-wacom 0.11.99.1

2011-10-30 Thread Jason Gerecke
Its been 5 months since 0.11.1, which means we're long overdue for our next release. Shortly I'll be uploading a tarball of 0.11.99.1 which will be our first of two or three RCs. The next few weeks should be focused on testing, fixing bugs, and addressing regressions that have snuck in since the

Re: [Linuxwacom-devel] [PATCH 4/5] Have the second touch ring emulate wheel events by default

2011-10-26 Thread Jason Gerecke
On Sun, Oct 23, 2011 at 9:13 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Oct 21, 2011 at 06:37:25PM -0700, Jason Gerecke wrote: Touch strips as well as the first touch ring are set up to emulate mouse wheel events by default. This patch duplicates this behavior for the second

[Linuxwacom-devel] [PATCH v2 5/5] Expose the second touch ring's raw value in a new 7th valuator

2011-10-26 Thread Jason Gerecke
This patch expands the number of valuators reported by pad devices to seven. The new seventh valuator reports the raw value provided from the kernel for the second touch ring. Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v1: * Number of axes back to 6 by default * 7th axis

[Linuxwacom-devel] [PATCH 1/5] Add basic support for Cintiq 24HD

2011-10-21 Thread Jason Gerecke
Adds the Cintiq 24HD (056a:00f4) to the device lists. The 24HD has two features not found on prior tablets: three capacitive buttons, and a second touch ring. Subsuquent patches will address adding support for them. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmUSB.c

[Linuxwacom-devel] [PATCH 2/5] Treat KEY_PROG1, KEY_PROG2, and KEY_PROG3 as buttons

2011-10-21 Thread Jason Gerecke
-off-by: Jason Gerecke killert...@gmail.com --- src/wcmUSB.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/wcmUSB.c b/src/wcmUSB.c index c92ce41..0a9ce9b 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -156,7 +156,8 @@ static unsigned short padkey_codes

[Linuxwacom-devel] [PATCH 3/5] Add 'abswheel2' to device state for dual-ring devices

2011-10-21 Thread Jason Gerecke
This patch adds an 'abswheel2' field to the _WacomDeviceState structure, along with corresponding 'oldWheel2' field to the _WacomDeviceRec structure. These fields store the state of the second touch ring on dual-ring devices such as the Cintiq 24HD. Signed-off-by: Jason Gerecke killert

[Linuxwacom-devel] [PATCH 4/5] Have the second touch ring emulate wheel events by default

2011-10-21 Thread Jason Gerecke
Touch strips as well as the first touch ring are set up to emulate mouse wheel events by default. This patch duplicates this behavior for the second touch ring, so that it behaves in an identical manner. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmCommon.c | 29

[Linuxwacom-devel] [PATCH 5/5] Expose the second touch ring's raw value in a new 7th valuator

2011-10-21 Thread Jason Gerecke
This patch expands the number of valuators reported by devices to seven. The new seventh valuator reports the raw value provided from the kernel for the second touch ring. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmCommon.c | 11 +++ src/wcmConfig.c |2 +- src

[Linuxwacom-devel] [PATCH 1/3] Only convert I4 tilt bits to rotation for the I4 mouse

2011-10-20 Thread Jason Gerecke
The comment claims that the conversion is to be performed for the I4 mouse only, but doesn't actually check to see if the tool is indeed a mouse. This patch adds in the necessary check, allowing the I4 stylus to properly report tilt data. Signed-off-by: Jason Gerecke killert...@gmail.com --- src

[Linuxwacom-devel] [PATCH 2/3] Correct Cintiq 21UX2 features to advertise touch strips, not rings

2011-10-20 Thread Jason Gerecke
Moves the 0xCC case (21UX2) to be in the proper spot. There are touch strips, not rings on this device. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmValidateDevice.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/wcmValidateDevice.c b/src

[Linuxwacom-devel] [PATCH 3/3] Add 0x10804 to recognized Art Pen device IDs

2011-10-20 Thread Jason Gerecke
nybble *too* high. Until a proper fix is made and tested for the kernel, we need to check for an ID of 0x100804 instead of 0x10804. Signed-off-by: Jason Gerecke killert...@gmail.com --- src/wcmCommon.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/wcmCommon.c b/src

Re: [Linuxwacom-devel] Cintiq 24HD

2011-10-09 Thread Jason Gerecke
Discussion seems to have died down, so I'd like to propose a design. If there are any comments you'd like to make, be sure to get them in. I hope to start start the coding phase on Monday, and the less backpedaling I have to do, the better :) I plan on exposing the three hardware control buttons

Re: [Linuxwacom-devel] Cintiq 24HD

2011-10-09 Thread Jason Gerecke
On Sun, Oct 9, 2011 at 5:36 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Sun, Oct 9, 2011 at 6:08 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Oct 07, 2011 at 06:34:01PM -0700, Jason Gerecke wrote: On Wed, Oct 5, 2011 at 12:52 PM, Chris Bagwell ch...@cnpbagwell.com wrote

Re: [Linuxwacom-devel] Cintiq 24HD

2011-10-07 Thread Jason Gerecke
On Wed, Oct 5, 2011 at 12:52 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Wed, Oct 5, 2011 at 1:17 PM, Jason Gerecke killert...@gmail.com wrote: On Tue, Oct 4, 2011 at 7:22 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Tue, Oct 4, 2011 at 8:00 PM, Jason Gerecke killert...@gmail.com wrote

Re: [Linuxwacom-devel] Cintiq 24HD

2011-10-05 Thread Jason Gerecke
On Tue, Oct 4, 2011 at 7:22 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Tue, Oct 4, 2011 at 8:00 PM, Jason Gerecke killert...@gmail.com wrote: I'm working on adding support for the recently-announced Cintiq 24HD. It's pretty straightforward, but there are two interesting bits that I'd

Re: [Linuxwacom-devel] Cintiq 24HD

2011-10-05 Thread Jason Gerecke
On Wed, Oct 5, 2011 at 1:22 AM, Alexia Death alexiade...@gmail.com wrote: On Wed, Oct 5, 2011 at 4:00 AM, Jason Gerecke killert...@gmail.com wrote: For the X driver, we run into a backwards-compatibility problem (...unless we go the lame route with ABS_WHEEL). While XI2 provides up to 36

Re: [Linuxwacom-devel] Cintiq 24HD

2011-10-05 Thread Jason Gerecke
On Wed, Oct 5, 2011 at 12:09 PM, Jason Gerecke killert...@gmail.com wrote: On Wed, Oct 5, 2011 at 1:22 AM, Alexia Death alexiade...@gmail.com wrote: On Wed, Oct 5, 2011 at 4:00 AM, Jason Gerecke killert...@gmail.com wrote: For the X driver, we run into a backwards-compatibility problem

[Linuxwacom-devel] Cintiq 24HD

2011-10-04 Thread Jason Gerecke
I'm working on adding support for the recently-announced Cintiq 24HD. It's pretty straightforward, but there are two interesting bits that I'd like some guidance on. Firstly, the 24HD has three hardware control buttons along the top edge which are physically implemented as a touch strip. While it

Re: [Linuxwacom-devel] The future of xsetwacom the need for a client library

2011-09-30 Thread Jason Gerecke
On Thu, Sep 29, 2011 at 5:18 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Thu, Sep 29, 2011 at 04:38:54PM -0700, Jason Gerecke wrote: On Wed, Sep 28, 2011 at 10:52 PM, Peter Hutterer peter.hutte...@who-t.net wrote: This is a heads-up, a brain storming and ideas collection all

Re: [Linuxwacom-devel] The future of xsetwacom the need for a client library

2011-09-29 Thread Jason Gerecke
On Wed, Sep 28, 2011 at 10:52 PM, Peter Hutterer peter.hutte...@who-t.net wrote: This is a heads-up, a brain storming and ideas collection all at the same time. xsetwacom is the previously small utility to tweak random driver functions. This is what this tool should remain as. I'm happy to

Re: [Linuxwacom-devel] [PATCH v4 0/8] MapToOutput modifications

2011-09-27 Thread Jason Gerecke
On Mon, Sep 26, 2011 at 5:18 PM, Jason Gerecke killert...@gmail.com wrote: On Mon, Sep 26, 2011 at 5:07 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Sep 26, 2011 at 09:29:13AM -0700, Jason Gerecke wrote: On Tue, Sep 20, 2011 at 3:54 PM, Jason Gerecke killert...@gmail.com wrote

[Linuxwacom-devel] RFC: [PATCH 0/4] Framework changes for KeepShape

2011-09-27 Thread Jason Gerecke
Getting KeepShape to work requires yet more calls to XGetDeviceProperty and XChangeDeviceProperty. There are already places in xsetwacom that have nearly-identical blocks of code just to read a property from the server. Rather than simply doing a copy/paste job, I've decided to farm out the calls

[Linuxwacom-devel] RFC: [PATCH 1/4] Extend parameters in preparation of '_get' and '_set' patches

2011-09-27 Thread Jason Gerecke
advantage of them in the meantime. Signed-off-by: Jason Gerecke killert...@gmail.com --- tools/xsetwacom.c | 64 +--- 1 files changed, 45 insertions(+), 19 deletions(-) diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index 7670d4d..7202b23 100644

[Linuxwacom-devel] RFC: [PATCH 2/4] Add '_get' function to handle retrieval of property data

2011-09-27 Thread Jason Gerecke
. Signed-off-by: Jason Gerecke killert...@gmail.com --- tools/xsetwacom.c | 217 - 1 files changed, 147 insertions(+), 70 deletions(-) diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index 7202b23..392b063 100644 --- a/tools/xsetwacom.c +++ b

[Linuxwacom-devel] RFC: [PATCH 3/4] Add '_set' function to handle setting of property data

2011-09-27 Thread Jason Gerecke
Replaces near-identical calls to XChangeDeviceProperty with a single centralized function to do the same thing. The new '_set' function uses '_get_parameter' to ensure arguments are of the expected type before doing its job. Signed-off-by: Jason Gerecke killert...@gmail.com --- tools/xsetwacom.c

[Linuxwacom-devel] RFC: [PATCH 4/4] Add ability to match input aspect ratio to the current output ratio

2011-09-27 Thread Jason Gerecke
that rely on the Area property for device calibration. It is not expected that this will result in actual problems since calibration utilities do not currently handle multi-head setups properly anyway. Signed-off-by: Jason Gerecke killert...@gmail.com --- man/xsetwacom.man | 21 + tools

Re: [Linuxwacom-devel] [PATCH v4 0/8] MapToOutput modifications

2011-09-26 Thread Jason Gerecke
On Mon, Sep 26, 2011 at 5:07 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Sep 26, 2011 at 09:29:13AM -0700, Jason Gerecke wrote: On Tue, Sep 20, 2011 at 3:54 PM, Jason Gerecke killert...@gmail.com wrote: Fourth round of modifications to xsetwacom's MapToOutput command

[Linuxwacom-devel] [PATCH v4 0/8] MapToOutput modifications

2011-09-20 Thread Jason Gerecke
Fourth round of modifications to xsetwacom's MapToOutput command. This patch set no longer adds an AspectRatio property to the driver, instead relying on xsetwacom to do-the-right-thing with the Area property. This has the potential to break user scripts, but the probability of it actually having

[Linuxwacom-devel] [PATCH v4 1/8] Create wacom-util.h for generally handy defines

2011-09-20 Thread Jason Gerecke
The new wacom-util.h should be the place to store defines which may be handy to use anywhere. At the moment this includes things like ARRAY_SIZE, bit manipulation, and mask manipulation defines. Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v3: * Not present in v3 include

[Linuxwacom-devel] [PATCH v4 2/8] Free RandR resources more-quickly

2011-09-20 Thread Jason Gerecke
We now call XRRFreeScreenResources as soon as practical to allow the now-following logic to return at its leisure. Additionally, we also copy the data from 'crtc_info' locally and free it ASAP. Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes from v3: * Corresponds to patch v3 1/7

[Linuxwacom-devel] [PATCH v4 6/8] Have 'MapToOutput' require the keyword desktop to do such

2011-09-20 Thread Jason Gerecke
Instead of allowing zero arguments to map the tablet to the entire desktop, we require the use of the keyword desktop to accomplish this. This is to make it easier to figure out the user's intent later on when we introduce KeepShape. Signed-off-by: Jason Gerecke killert...@gmail.com --- Changes

<    3   4   5   6   7   8   9   10   >