From owner-freebsd-mobile@FreeBSD.ORG Mon May 23 05:12:41 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0969716A41C for ; Mon, 23 May 2005 05:12:41 +0000 (GMT) (envelope-from lr101fc@yahoo.co.uk) Received: from smtp003.mail.ukl.yahoo.com (smtp003.mail.ukl.yahoo.com [217.12.11.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 8ACC743D48 for ; Mon, 23 May 2005 05:12:40 +0000 (GMT) (envelope-from lr101fc@yahoo.co.uk) Received: from unknown (HELO ?192.168.1.102?) (lr101fc@81.134.71.247 with plain) by smtp003.mail.ukl.yahoo.com with SMTP; 23 May 2005 05:12:38 -0000 Message-ID: <42909F36.2070409@yahoo.co.uk> Date: Sun, 22 May 2005 16:03:18 +0100 From: Hanno Krusken Organization: LR101FC.net User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Touch-screen Stylus-pointer working but need callibration for X11 ?? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lr101fc@yahoo.co.uk List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 05:12:41 -0000 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 > real memory = 1073676288 (1023 MB) > avail memory = 1041764352 (993 MB) > Pentium 4 TCC support enabled, current performance 528% > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: 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