im trying to add touch calibration.
NOW Touch is not working at all. please help\

Have ported tslib, framework and did changes in EventHub.cpp

Exported following variables in init.rc



export TSLIB_TSDEVICE /dev/input/event1
export TSLIB_CALIBFILE /etc/pointercal
export POINTERCAL_FILE /etc/pointercal
export TSLIB_CONFFILE /etc/ts.conf
export TSLIB_CONSOLEDEVICE none
export TSLIB_FBDEVICE /dev/graphics/fb0
export TSLIB_PLUGINDIR /system/lib


_____

please see my LOG.
I think, touchscreen is registered as keyboard too.


INFO/SystemServer(1837): Sensor Service
01-01 00:00:44.165:
INFO/SystemServer(1837): Window Manager
01-01 00:00:44.190:

INFO/tslib(1837): New device: path=/dev/input/event2 name=bma150-
sensor id=0x10000 (of 0x1) index=1 fd=61 classes=0x0
01-01 00:00:44.190: ERROR/tslib(1837): geting ENV VAR TSLIB_CONFFILE =/
etc/ts.conf. Device Name= /dev/input/event1
01-01 00:00:44.200:
INFO/tslib(1837): 2:devname = qwerty, keylayout =qwerty,
keylayoutFilename = /system/usr/keylayout/qwerty.kl
01-01 00:00:44.205:
INFO/tslib(1837): New keyboard: publicID=0 device->id=0x10001
devname='S3C TouchScreen' propName='hw.keyboards.0.devname'
keylayout='/system/usr/keylayout/qwerty.kl'
01-01 00:00:44.205:
INFO/tslib(1837): New device: path=/dev/input/event1 name=S3C
TouchScreen id=0x10001 (of 0x2) index=2 fd=62 classes=0x67
01-01 00:00:44.205: ERROR/tslib(1837): could not get driver version
for /dev/input/mouse0, Not a typewriter
01-01 00:00:44.205:
INFO/tslib(1837): 2:devname = qwerty, keylayout =qwerty,
keylayoutFilename = /system/usr/keylayout/qwerty.kl
01-01 00:00:44.210:
INFO/tslib(1837): New keyboard: publicID=65538 device->id=0x10002
devname='s3c-keypad' propName='hw.keyboards.65538.devname' keylayout='/
system/usr/keylayout/qwerty.kl'
01-01 00:00:44.210:
INFO/tslib(1837): New device: path=/dev/input/event0 name=s3c-keypad
id=0x10002 (of 0x3) index=3 fd=64 classes=0x1
01-01 00:00:44.210: ERROR/tslib(1837): could not get driver version
for /dev/input/mice, Not a typewriter

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to