Re: Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-16 Thread Tias
Dan Nicholson wrote:
 On Fri, Jan 15, 2010 at 12:33 PM, Marco Cavallini
 koansoftw...@gmail.com wrote:
 Dan Nicholson ha scritto, Il 15/01/2010 19:17:
 The config.log says that you don't have the XCALIBRATE extension built
 into the server.

 XCALIBRATE_TRUE='#'

 That means the automake conditional to build the xcalibrate sources
 will be false. So, you'll have to run configure again and see what it
 says about finding the xcalibrate dependencies.

 Looks like configure.ac wants KDRIVE in order to enable xcalibrate,
 isn't it?

 if test x$XCALIBRATE = xyes  test $KDRIVE = yes; then
   AC_DEFINE(XCALIBRATE, 1, [Build XCalibrate extension])
   REQUIRED_MODULES=$REQUIRED_MODULES $XCALIBRATEPROTO
 else
   XCALIBRATE=no
 fi
 AM_CONDITIONAL(XCALIBRATE, [test x$XCALIBRATE = xyes])

 What do you suggest to do?
 
 Yeah, the xcalibrate extension is only implemented for kdrive. I think
 your options are to use kdrive or find another way to calibrate your
 touchscreen. I know there are other solutions out there, but I'm not
 really familiar with the touchscreen world.

If I may suggest:
- when using the evdev X.Org driver or any other (like evtouch, mutouch, 
...) use xinput_calibrator
http://www.freedesktop.org/wiki/Software/xinput_calibrator

- in the embedded world, appearently many people use the tslib driver 
and its tools (you seem to need to use framebuffer video for it)
http://tslib.berlios.de/


g,T
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-15 Thread Marco Cavallini
Hi,
I am using an ARM based architecture and I am trying to enable
touchscreen calibration without success.
I built Xorg version Xorg-1.7.3 configured with --enable-xcalibrate
but I didn't get this extension in my Xorg, so when I try to call xtscal
I get this error:
 # xtscal
 XCALIBRATE extension missing: Success

I debugged a bit the following packages (xtscal_0.6.3,
libxcalibrate_git, libxext_1.1.1) and I realized that the problem is
into Xorg so I wonder how could I enable XCALIBRATE.

Any help would be greatly appreciated.
If any functionality is missing I'd like to get a hint about how to
proceed to implement, debug and test it.

Thank you



# xdpyinfo
name of display::0.0
version number:11.0
vendor string:The X.Org Foundation
vendor release number:10703000
X.Org version: 1.7.3
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:32, LSBFirst, 32
image byte order:LSBFirst
number of supported pixmap formats:7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:minimum 8, maximum 255
focus:  PointerRoot
number of extensions:21
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
RANDR
RENDER
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number:0
number of screens:1

screen #0:
  print screen:no
  dimensions:240x320 pixels (64x85 millimeters)
  resolution:95x96 dots per inch
  depths (7):15, 1, 4, 8, 16, 24, 32
  root window id:0x43
  depth of root window:15 planes
  number of colormaps:minimum 1, maximum 1
  default colormap:0x20
  default number of colormap cells:32
  preallocated pixels:black 0, white 32767
  options:backing-store NO, save-unders NO
  largest cursor:240x320
  current input event mask:0x0
  number of visuals:2
  default visual id:  0x21
  visual:
visual id:0x21
class:TrueColor
depth:15 planes
available colormap entries:32 per subfield
red, green, blue masks:0x1f, 0x3e0, 0x7c00
significant bits in color specification:8 bits
  visual:
visual id:0x41
class:TrueColor
depth:32 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits


Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
 embedded and real-time software engineering
   Atmel third party certified consultant
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
  http://www.KoanSoftware.com
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-15 Thread Dan Nicholson
On Fri, Jan 15, 2010 at 9:25 AM, Marco Cavallini koansoftw...@gmail.com wrote:
 Hi,
 I am using an ARM based architecture and I am trying to enable
 touchscreen calibration without success.
 I built Xorg version Xorg-1.7.3 configured with --enable-xcalibrate
 but I didn't get this extension in my Xorg, so when I try to call xtscal
 I get this error:
  # xtscal
  XCALIBRATE extension missing: Success

 I debugged a bit the following packages (xtscal_0.6.3,
 libxcalibrate_git, libxext_1.1.1) and I realized that the problem is
 into Xorg so I wonder how could I enable XCALIBRATE.

 Any help would be greatly appreciated.
 If any functionality is missing I'd like to get a hint about how to
 proceed to implement, debug and test it.

Can you post Xorg.log? Did configure give you any messages about
xcalibrate when you used --enable-xcalibrate?

--
Dan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-15 Thread Marco Cavallini
Dan Nicholson ha scritto, Il 15/01/2010 18:38:
 On Fri, Jan 15, 2010 at 9:25 AM, Marco Cavallini koansoftw...@gmail.com 
 wrote:
 Hi,
 I am using an ARM based architecture and I am trying to enable
 touchscreen calibration without success.
 I built Xorg version Xorg-1.7.3 configured with --enable-xcalibrate
 but I didn't get this extension in my Xorg, so when I try to call xtscal
 I get this error:
  # xtscal
  XCALIBRATE extension missing: Success

 I debugged a bit the following packages (xtscal_0.6.3,
 libxcalibrate_git, libxext_1.1.1) and I realized that the problem is
 into Xorg so I wonder how could I enable XCALIBRATE.

 Any help would be greatly appreciated.
 If any functionality is missing I'd like to get a hint about how to
 proceed to implement, debug and test it.
 
 Can you post Xorg.log? Did configure give you any messages about
 xcalibrate when you used --enable-xcalibrate?
 
 --

Dan,
thank you for answering.
Now I'm at home and I haven't access to the target machine, but I can
pastebin you the config.log : http://pastebin.com/m4ecd3f48

If you really need Xorg.log I could send it to you tomorrow morning.
Thank you


Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
 embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
  http://www.KoanSoftware.com
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-15 Thread Dan Nicholson
On Fri, Jan 15, 2010 at 11:13 AM, Marco Cavallini
koansoftw...@gmail.com wrote:
 Dan Nicholson ha scritto, Il 15/01/2010 18:38:
 On Fri, Jan 15, 2010 at 9:25 AM, Marco Cavallini koansoftw...@gmail.com 
 wrote:
 Hi,
 I am using an ARM based architecture and I am trying to enable
 touchscreen calibration without success.
 I built Xorg version Xorg-1.7.3 configured with --enable-xcalibrate
 but I didn't get this extension in my Xorg, so when I try to call xtscal
 I get this error:
  # xtscal
  XCALIBRATE extension missing: Success

 I debugged a bit the following packages (xtscal_0.6.3,
 libxcalibrate_git, libxext_1.1.1) and I realized that the problem is
 into Xorg so I wonder how could I enable XCALIBRATE.

 Any help would be greatly appreciated.
 If any functionality is missing I'd like to get a hint about how to
 proceed to implement, debug and test it.

 Can you post Xorg.log? Did configure give you any messages about
 xcalibrate when you used --enable-xcalibrate?

 --

 Dan,
 thank you for answering.
 Now I'm at home and I haven't access to the target machine, but I can
 pastebin you the config.log : http://pastebin.com/m4ecd3f48

The config.log says that you don't have the XCALIBRATE extension built
into the server.

XCALIBRATE_TRUE='#'

That means the automake conditional to build the xcalibrate sources
will be false. So, you'll have to run configure again and see what it
says about finding the xcalibrate dependencies.

--
Dan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-15 Thread Marco Cavallini
Dan Nicholson ha scritto, Il 15/01/2010 19:17:
 
 The config.log says that you don't have the XCALIBRATE extension built
 into the server.
 
 XCALIBRATE_TRUE='#'
 
 That means the automake conditional to build the xcalibrate sources
 will be false. So, you'll have to run configure again and see what it
 says about finding the xcalibrate dependencies.


Looks like configure.ac wants KDRIVE in order to enable xcalibrate,
isn't it?

if test x$XCALIBRATE = xyes  test $KDRIVE = yes; then
   AC_DEFINE(XCALIBRATE, 1, [Build XCalibrate extension])
   REQUIRED_MODULES=$REQUIRED_MODULES $XCALIBRATEPROTO
else
   XCALIBRATE=no
fi
AM_CONDITIONAL(XCALIBRATE, [test x$XCALIBRATE = xyes])

What do you suggest to do?

TIA
-
/marco
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Xorg-1.7.3 XCALIBRATE touchscreen

2010-01-15 Thread Dan Nicholson
On Fri, Jan 15, 2010 at 12:33 PM, Marco Cavallini
koansoftw...@gmail.com wrote:
 Dan Nicholson ha scritto, Il 15/01/2010 19:17:

 The config.log says that you don't have the XCALIBRATE extension built
 into the server.

 XCALIBRATE_TRUE='#'

 That means the automake conditional to build the xcalibrate sources
 will be false. So, you'll have to run configure again and see what it
 says about finding the xcalibrate dependencies.


 Looks like configure.ac wants KDRIVE in order to enable xcalibrate,
 isn't it?

 if test x$XCALIBRATE = xyes  test $KDRIVE = yes; then
   AC_DEFINE(XCALIBRATE, 1, [Build XCalibrate extension])
   REQUIRED_MODULES=$REQUIRED_MODULES $XCALIBRATEPROTO
 else
   XCALIBRATE=no
 fi
 AM_CONDITIONAL(XCALIBRATE, [test x$XCALIBRATE = xyes])

 What do you suggest to do?

Yeah, the xcalibrate extension is only implemented for kdrive. I think
your options are to use kdrive or find another way to calibrate your
touchscreen. I know there are other solutions out there, but I'm not
really familiar with the touchscreen world.

--
Dan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg