Re: Goooooood news, touch screen works !

From: JeDi <jeroen.dierckx_at_gmail.com>
Date: Fri, 6 Jan 2006 15:15:51 +0100

Udev wasn't started yet, that was the problem. I added the calibration
stuff inside /etc/init.d/opie, right before opie loads. Now it works
(with /dev/input/event1 as device), but the input handling is the same
as before. It seems the coordinates are divided by 2 somehow in
opie... So I can click on about 1/4 of the screen with some practice
:-)

It seems as if /etc/pointercal isn't saved with the calibration...

I hope Fisherss or someone with a serial cable can help me...

Greetz,
JeDi

On 1/6/06, JeDi <jeroen.dierckx_at_gmail.com> wrote:
> There are a few issues here. First there is an error that /dev can't
> be mounted because it isn't in fstab. I think that's a devfs issue.
> I'll look into that tomorrow (enable "auto mount at boot time" in the
> kernel). So the problem is that there isn't a /dev/input directory
> with the correct files in it.I tried creating a character device
> /dev/input/ts0 c 13 128 (found that somehwere with google), and
> setting the TS_DEVICE or what's it called to point to that, but I'm
> still stuck at the calibration screen...
>
> Well, 3:30 am here, so time to go to bed. I hope Fisherss wakes up
> soon and the answers are waiting for me when I wake up :-)
>
> Greetz,
> JeDi
>
>
> On 1/5/06, JeDi <jeroen.dierckx_at_gmail.com> wrote:
> > Well, I created a configfile /etc/ts.conf, and put module_raw input in
> > it. Now I get the calibration screen, but nothing happens when I press
> > the screen. Are you sure the device is /dev/input/event1? Cause in the
> > most examples its /dev/input/ts0. I'll try that now.
> >
> >
> > On 1/5/06, JeDi <jeroen.dierckx_at_gmail.com> wrote:
> > > On 1/4/06, Fisherss <fisherssml_at_gmail.com> wrote:
> > > > Recopy the root file system? you don't have to do that, the file system
> > > > will not be crashed when you reset it.
> > >
> > > Well, I clicked some programs and can't close them due to the
> > > touchscreen not working properly, so they're the problem (it's only a
> > > problem when it happens to qpe.conf, I'm getting the "first-time"
> > > screen then, and can't go further, the system can't read the file). No
> > > big problem though...
> > >
> > >
> > > > you can put this to your linuxrc :
> > > >
> > > > export TSLIB_FBDEVICE=/dev/fb0
> > > > export TSLIB_CONSOLEDEVICE=/dev/tty
> > > > export TSLIB_TSDEVICE=/dev/input/event1
> > > > export TSLIB_CALIBFILE=/etc/pointercal
> > > >
> > > > and then put ts_calibrate to your linuxrc so it can be executed
> > > > automatically, and after calibrating, it will rewrite /etc/pointercal
> > > > with new calibrated data.
> > >
> > > I tried that, and first it failed cause you put /test in the path in
> > > stead of /tests. Now it fails like this:
> > >
> > > Can't find the tslib config file.
> > > ts_config: no such file or directory
> > >
> > > It finds the /dev/input/event1 though...
> > >
> > > Maybe you forgot some files in the rootfs? I'm close though :-)
> > >
> > > Thanks!
> > >
> > > Greetz,
> > > JeDi
> > >
> >
>
Received on Fri Jan 06 2006 - 09:23:31 EST

This archive was generated by hypermail 2.2.0 : Fri Jan 06 2006 - 09:23:37 EST