Hey Jim,
Kernel is 2.6.35.3-433-g0fae922
My app is written with Qt and it depends on Tslib to work with the touch
screen. I don't use X11.
--- In Jim Ham <> wrote:
>
> Which kernel are you running? I believe that up-to-date xorg doesn't use
> tslib any more. The calibration values now go in xorg.conf. The down
> side of this is that I don't know of any calibration utility. I just
> played with the calibration values until it worked right.
>
> I put my xorg.conf below. Some of the entries in the touchscreen section
> may not be necessary - I didn't spend the time to figure out which are
> actually used. GrabDevice was important.
>
>
> The good news is that the touchscreen works perfectly once the config
> file is right. BlankTime, StandbyTime, SuspendTime and Offset disable
> screen blanking.
>
> You may have to compile some modules. I am running a custom kernel made
> from the 2.6.29-ts4700-00 sources available from Technologic. I'm also
> using the TS-4700, although I don't believe that makes any difference.
>
> here's the result of "X -version"
>
> X.Org X Server 1.7.5
> Release Date: 2010-02-16
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 2.6.32-5-amd64 x86_64
> Current Operating System: Linux DynaViewIIIb 2.6.29-ts4700-00 #3 PREEMPT
> Tue Jun 21 09:14:48 PDT 2011 armv5tejl
> Kernel command line: root=/dev/ram0 init=/linuxrc mem=256M splash
> console=ttyS0,119200n8 video=
> Build Date: 23 June 2011 01:58:05AM
>
> Current version of pixman: 0.17.6
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> #
>
>
> and here's the contents of "/etc/X11/xorg.conf"
>
> section "ServerLayout"
> Identifier "Default Layout"
> Screen "Default Screen"
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse
> # InputDevice "TouchScreen" "CorePointer"
> InputDevice "TouchScreen" "SendCoreEvents"
> Option "BlankTime" "0"
> Option "StandbyTime" "0"
> Option "SuspendTime" "0"
> Option "OffTime" "0"
> EndSection
>
> Section "Files"
> ModulePath "/usr/lib/xorg/modules"
> ModulePath "/usr/lib/xorg/modules/linux"
> EndSection
>
> Section "Module"
> Load "dbe"
> Load "extmod"
> Load "fbdevhw"
> EndSection
>
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "base"
> Option "XkbModel" "pc104"
> Option "XkbLayout" "us"
> EndSection
>
>
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> #Option "CorePointer"
> Option "Device" "/dev/input/mice"
> Option "Protocol" "ImPS/2"
> Option "SendCoreEvents" "true"
> Option "Emulate3Buttons" "false"
> EndSection
>
>
> Section "InputDevice"
> Identifier "TouchScreen"
> Driver "evdev"
> Option "Device" "/dev/input/event0"
> Option "GrabDevice" "true"
> Option "DeviceName" "TouchScreen"
> Option "SendCoreEvents" "true"
> Option "CorePointer"
> Option "Calibration" "160 3950 160 3950"
> Option "ReportingMode" "Raw"
> Option "Emulate3Buttons" "false"
> Option "Emulate3Timeout" "50"
> Option "EmulateWheel" "false"
> Option "IgnoreRelativeAxes" "true"
> Option "SendCoreEvents" "true"
> Option "SendDragEvents" "off"
> Option "touched_action" "down"
> Option "touched_button" "1"
> Option "maybetapped_action" "down"
> Option "maybetapped_button" "1"
> Option "longtouched_action" "down"
> Option "longtouched_button" "1"
> Option "oneandahalftap_action" "down"
> Option "oneandahalftap_button" "1"
> Option "MoveLimit" "170"
> # Option "DebugLevel" "5"
> EndSection
>
> Section "Device"
> Identifier "FB"
> Driver "fbdev"
> EndSection
>
>
> Section "Monitor"
> Identifier "LCD Panel"
> Option "DPMS"
> Modeline "800x480" 33.26 800 800 849 850 480 480 529 530
> +hsync +vsync
> EndSection
>
> Section "Screen"
> Identifier "Default Screen"
> Device "FB"
> Monitor "LCD Panel"
> DefaultDepth 24
> SubSection "Display"
> Depth 24
> Modes "800x480"
> EndSubSection
> EndSection
>
> Section "DRI"
> Mode 0666
> EndSection
>
>
>
>
> emrebirol wrote:
> > Hi,
> >
> > I try to install tslib to TS-8390. I have downloaded and compiled libts-bin
> > without any problem on the system but whenever I run ts_calibrate I get the
> > following output:
> >
> > xres = 800, yres = 480
> > Took 3 samples...
> > Top left : X = 0 Y = 715938024
> > Took 3 samples...
> > Top right : X = 0 Y = 715938024
> > Took 3 samples...
> > Bot right : X = 0 Y = 715938024
> > Took 3 samples...
> > Bot left : X = 0 Y = 715938024
> > Took 3 samples...
> > Center : X = 0 Y = 715938024
> > ts_calibrate: determinant is too small -- 0.000000
> > Calibration failed.
> >
> > Obviously it cannot read X nad Y properly. Any idea what could be the root
> > cause?
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> > -----
> > No virus found in this message.
> > Checked by AVG - www.avg.com
> > Version: 10.0.1391 / Virus Database: 1520/3822 - Release Date: 08/08/11
> >
> >
>
> --
> Porcine Associates LLC
> 244 O'Connor St.
> Menlo Park, CA 94025
> USA
> +1(650)326-2669 fax +1(650)326-1071
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|