Bug 145974 - Sax2 Configuration for Wacom Penabled TabletPC and improved Sax2 template
Summary: Sax2 Configuration for Wacom Penabled TabletPC and improved Sax2 template
Status: RESOLVED FIXED
: 145989 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: i686 SuSE Linux 10.0
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 20:55 UTC by Cameron Kellough
Modified: 2006-01-27 14:25 UTC (History)
0 users

See Also:
Found By: Third Party Developer/Partner
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Kellough 2006-01-26 20:55:23 UTC
During work on an Itronix Duotouch tablet PC with a Wacom Penabled TabletPC touchscreen, we updated the /usr/share/sax/api/data/cdb/Touchscreens so that Yast2 will recognize and configure the touchscreen.  I also made changes to the template in the file below to better document how this configuration file works.

# /.../
# Copyright (c) 2000 SuSE GmbH Nuernberg, Germany.  All rights reserved.
# Author: Marcus Schaefer <sax@suse.de>, 2001
#
# Template for touchscreen data
# ------------------------------
# <VENDOR NAME>:<DEVICE NAME>  {
#  Driver               = driver...
#  Protocol             = protocol...
#  Device               = device name...
#  SampleRate           = sample rate...
#  Emulate3Buttons      = <on> or <off>
#  Emulate3Timeout      = timeout val...
#  ChordMiddle          = <on> or <off>
#  MinX                 = area border...
#  MaxX                 = area border...
#  MinY                 = area border...
#  MaxY                 = area border...
#  Rotation             = 0 | 90 | 270
#  ScreenNumber         = integer...
#  ReportingMode        = mode...
#  ButtonThreshold      = integer...
#  ButtonNumber         = integer...
#  SendCoreEvents       = <on> or <off>
#  ClearRTS             = <on> or <off>
#  ClearDTR             = <on> or <off>
#  ZAxisMapping         = [ N M ] or X or Y
#  TouchType            = string
#  Mode                 = string
#  Load                 = string
#  Option               = string,string
#  RawOption            = quotedoptionstring quotedvaluestring,...
# }

#----------------------#
# Mutouch Touchpad     #
#----------------------#
MUTOUCH:TOUCHSCREEN  {
 Driver               = mutouch
 Device               = /dev/ttyS1
 MinX                 = 0
 MaxX                 = 16350
 MinY                 = 0
 MaxY                 = 16350
 ScreenNumber         = 0
 ReportingMode        = Scaled
 TouchType            = Finger
 SendCoreEvents       = on
}

#----------------------#
# Microtouch Touchpad  #
#----------------------#
MICROTOUCH:TOUCHSCREEN {
 Driver               = microtouch
 ButtonNumber         = 1
 Device               = /dev/ttyS0
 MaxX                 = 16383
 MinY                 = 16383
 MaxY                 = 0
 MinX                 = 0
 Mode                 = Absolute
 TouchType            = Cursor
 Protocol             = Auto
 SendCoreEvents       = on
 BaudRate             = 9600
 RawOption            = "DataBits" "8","StopBits" "1","Parity" "None"
}

#---------------#
# Elo Touchpad  #
#---------------#
ELO:2300-TOUCHSCREEN  {
 Driver               = elographics
 Device               = /dev/ttyS0
 MinX                 = 231
 MaxX                 = 3868
 MinY                 = 3858
 MaxY                 = 272
 ScreenNumber         = 0
 ReportingMode        = Scaled
 ButtonThreshold      = 17
 ButtonNumber         = 1
 SendCoreEvents       = on
}


#--------------------------#
# Wacom Penabled TabletPC  #
#--------------------------#
  Wacom:PenabledTabletPC  {
  Driver               = wacom
  Device               = /dev/ttyS0
  SendCoreEvents       = on
  TouchType            = cursor
  Mode                 = Absolute
  RawOption            = "ForceDevice" "ISDV4"
}
Comment 1 Christian Boltz 2006-01-26 22:33:26 UTC
*** Bug 145989 has been marked as a duplicate of this bug. ***
Comment 2 Cameron Kellough 2006-01-27 13:33:25 UTC
Touchtype for PenabledTabletPC should by stylus not cursor.  This was a mistake in my original submission from the configuration I tested.
Comment 3 Marcus Schaefer 2006-01-27 14:25:13 UTC
Thanks for the data. I added the following patch

Index: api/data/cdb/Touchscreens
===================================================================
--- api/data/cdb/Touchscreens   (revision 993)
+++ api/data/cdb/Touchscreens   (working copy)
@@ -29,7 +29,7 @@
 #  Mode                 = string
 #  Load                 = string
 #  Option               = string,string
-#  RawOption            = string,string,...
+#  RawOption            = quotedoptionstring quotedvaluestring,...
 # }
 
 #----------------------#
@@ -83,3 +83,15 @@
  ButtonNumber         = 1
  SendCoreEvents       = on
 }
+
+#--------------------------#
+# Wacom Penabled TabletPC  #
+#--------------------------#
+Wacom:PenabledTabletPC  {
+ Driver               = wacom
+ Device               = /dev/ttyS0
+ SendCoreEvents       = on
+ TouchType            = stylus
+ Mode                 = Absolute
+ RawOption            = "ForceDevice" "ISDV4"
+}