pointercal only can create by ts_calibrate ?

If you wann't to calibrate the screen on 1st boot, you may should add
ts_calibrate program into your system,
and modify the init.rc to support 1st booting salibrate ?

ps: how can i patch my work to android code base(the git base)?


On Tue, Nov 11, 2008 at 1:45 AM, Sean McNeil <[EMAIL PROTECTED]> wrote:

>
> I have submitted patches to Google which adds support of a
> /system/etc/pointercal (aka. tslib) file for translating coordinates. I
> didn't add ts_calibrate into the phone, however. That would be nice to
> have so you can calibrate the screen on 1st install.
>
> Anson wrote:
> > Hi all:
> >
> > We use a resistance touch screen .
> >
> > the touch screen 's raw input driver will return some ABS_EVENT, and
> > BTN_TOUCH input events,
> > but the value of ABS always too big, and for some reason, the touch
> > screen must re-calibrate.
> >
> > Our solution is like this:
> > we ues touchscreen library such as tslib, to convert this big ABS
> > value to a suitable value for the application use,
> > and some times , we need calibrate the touch screen, for this , we
> > also can use tslib's calibrate application.
> >
> > You can run a daemon under your system, it read from raw input
> > interface provides by driver, and inject to android input interface ,
> > such as /dev/input/event0.
> >
> > ps: may be some modify of android code is needed, for prevent android
> > eventHub compete with you daemon.
> >
> >
> >
> > On Mon, Nov 3, 2008 at 3:41 PM, hackbod <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >
> >     Fwiw, we don't treat the touch screen as a mouse of any kind, it is
> >     read as a absolute pointer device.
> >
> >     On Oct 31, 12:09 am, "anson.zhang" <[EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>> wrote:
> >     > Hello All:
> >     >
> >     > Our team start porting android in our hardware few days ago ,
> >     > for now , our kernel with android patch is seems ok,
> >     > we now porting device driver such as framebuffer, and touchscreen.
> >     >
> >     > I know android is treated touchscreen device as a normal ps/2
> mouse,
> >     > but i just cann't find how android do calibration job, since
> >     touchscreen
> >     > must do some calibration.
> >     >
> >     > Counld any one can help me,
> >     > thanks a lot in advance!
> >     >
> >     > --
> >     > Best regards,
> >     >
> >     > Anson Zhang
> >
> >
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to