Touch-screen Stylus-pointer working but need callibration for X11 ??
Hanno Krusken
lr101fc at yahoo.co.uk
Sun May 22 22:12:41 PDT 2005
OK, the Laptop is a iTronix IX260 II rugged Celeron like the HP NR3000
machine with a build in touch-screen on "psm0" PS/2 compatible base.
The pointer is recognised over the standard mouse pointer and works
both under terminal and X11 (xorg.conf) condition, with out any driver
configurations.
I can drag the pointer and even can do double-click's !!
The Stylus pointer works just like a AUX mouse/pad pointer on PS/2.
BUT it wants to be calibrated for FreeBSD !
It is supported by "Semtech Corporation" and it works very well under XP
Calibration Applet:
Calibration points offset from edge: 10%
Max tolerable error in pixels: 40
Sample rate: 100 reports/seconds
Input buffer length: 100 parckeges
Fast initialization
now, under XP the pointer "JUMPS" to the position, were I touch the
screen ! but under FreeBSD-5.4-RELEASE-p1 I have to scratch/drag over
the screen to positioning the pointer were it wants to go!, Just like
using the Touch/pad on any other Laptop.
The double click can be any were on the screen doesn't matter were, as
long the pointer locates over the right menu-GUI option, it is OK and it
opens the pull-down menus, like for example in
"FirFox/File/Quit" or any thing else.
How can I get the pointer to "jump" to the location I touch the screen
one's, with out dragging it over the screen ??
# dmesg.boot auto probe
#
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Mobile Intel(R) Celeron(R) CPU 1.80GHz (1794.19-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
> Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory = 1073676288 (1023 MB)
> avail memory = 1041764352 (993 MB)
> Pentium 4 TCC support enabled, current performance 528%
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
# /boot/device.hints
#
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060" # the ACPI port is 0x064 !
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.psm.0.port="0xF13" # ACPI port ! / standard is 0xF03
# under winXP:
#
[Pointer Device]
Hardware Type: PS/2 Compatible AUX port
Number of Buttons: 2
PNP Device ID: ACPI\PNP0F13\4&276C7C5&0
Power management Supported: NO
Double Click Threshold: 6
IRQ: IRQ 12
## out off "Semtech driver description"
[AuxInst.NT.AddReg]
HKCU,Control Panel\Mouse,"DoubleClickHeight",0x00000000,"64"
HKCU,Control Panel\Mouse,"DoubleClickWidth",0x00000000,"64"
HKCU,Control Panel\Mouse,"CalibrationErrorThreshold","40"
HKCU,Control Panel\Mouse,"TouchScreenMode","0x20064"
HKCU,Control Panel\Mouse,"SysTrayIconEnabled","0x1"
## out off "msmouse.inf"
; Device Names
*pnp0f00.DeviceDesc = "Microsoft Bus Adapter Mouse"
*pnp0f01.DeviceDesc = "Microsoft Serial Mouse"
*pnp0f02.DeviceDesc = "Microsoft InPort Adapter Mouse"
*pnp0f03.DeviceDesc = "Microsoft PS/2 Mouse" ## <---------
*pnp0f09.DeviceDesc = "Microsoft Serial BallPoint"
*pnp0f0a.DeviceDesc = "Microsoft Serial IntelliMouse"
*pnp0f0b.DeviceDesc = "Microsoft PS/2 Mouse"
*pnp0f0c.DeviceDesc = "Standard Serial Mouse"
*pnp0f0d.DeviceDesc = "InPort Adapter Mouse"
*pnp0f0e.DeviceDesc = "Standard PS/2 Port Mouse"
*AUI0200.DeviceDesc = "Standard PS/2 Port Mouse"
*pnp0f0f.DeviceDesc = "Microsoft Serial BallPoint"
*pnp0f11.DeviceDesc = "Standard Bus Adapter Mouse"
*pnp0f13.DeviceDesc = "PS/2 Compatible Mouse" ## <---------
*pnp0f1e.DeviceDesc = "Microsoft Serial EasyBall"
*SERENUM\MSH0001.DeviceDesc = "Microsoft Serial IntelliMouse"
*SERENUM\MSH0004.DeviceDesc = "Microsoft Serial IntelliMouse Trackball"
SERIAL_MOUSE.DeviceDesc = "Standard Serial Mouse"
# settings in /etc/X11/xorg.conf
#
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# Option "XkbModel" "microsoft"
Option "XkbLayout" "gb"
Option "AutoRepeat" "500 30"
Option "Emulate3Buttons"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Emulate3Buttons"
EndSection
#
#
Thanks for any help
Hanno
More information about the freebsd-mobile
mailing list