* tslib Issue
@ 2011-02-01 20:37 openembedded
2011-02-02 17:31 ` Neil MacMunn
2011-02-12 0:16 ` Khem Raj
0 siblings, 2 replies; 5+ messages in thread
From: openembedded @ 2011-02-01 20:37 UTC (permalink / raw)
To: openembedded-users, openembedded-devel
Hi,
I have successfully build and then run several OE images on my target hardware (h1940) - and have noticed an interesting oddity (bug?).
If I run the opie-image for example, everything works just great. However, if I run an X-based image (like, say x11-gpe-image) when the GUI starts up tslib calibration is run ... but then basically thrown away, as the driver for the touchscreen is set to evdev by default (and the touchscreen isn't calibrated / does not work right). If I manually build and install xf86-input-tslib, and then configure the input as tslib (not evdev) - once I restart gpe-dm it works as expected!
Is this supposed to be the case, or perhaps something not configured quite right in the builds?
Thanks!
... Russell
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tslib Issue
2011-02-01 20:37 tslib Issue openembedded
@ 2011-02-02 17:31 ` Neil MacMunn
2011-02-02 21:33 ` Neil MacMunn
2011-02-12 0:16 ` Khem Raj
1 sibling, 1 reply; 5+ messages in thread
From: Neil MacMunn @ 2011-02-02 17:31 UTC (permalink / raw)
To: openembedded-devel
I am seeing the same thing using the omap3-palmtop-image for Gumstix
Overo. On first boot, /etc/X11/Xinit.d/89xTs_Calibrate doesn't find
/etc/pointercal so it runs ts_calibrate. The calibration doesn't take
effect until I reboot though - restarting gpe-dm doesn't solve the problem.
I think that the library /usr/lib/ts/linear.so looks for /etc/pointercal
and defaults to some preset values if the file doesn't exist. I thought
that restarting gpe-dm would reload linear.so (which fuser suggests it
does) but this doesn't solve the problem. It would appear that I am
missing something...
--
Neil
On 11-02-01 12:37 PM, openembedded@rkmorris.us wrote:
> Hi,
>
> I have successfully build and then run several OE images on my target hardware (h1940) - and have noticed an interesting oddity (bug?).
>
> If I run the opie-image for example, everything works just great. However, if I run an X-based image (like, say x11-gpe-image) when the GUI starts up tslib calibration is run ... but then basically thrown away, as the driver for the touchscreen is set to evdev by default (and the touchscreen isn't calibrated / does not work right). If I manually build and install xf86-input-tslib, and then configure the input as tslib (not evdev) - once I restart gpe-dm it works as expected!
>
> Is this supposed to be the case, or perhaps something not configured quite right in the builds?
>
> Thanks!
>
> ... Russell
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tslib Issue
2011-02-02 17:31 ` Neil MacMunn
@ 2011-02-02 21:33 ` Neil MacMunn
0 siblings, 0 replies; 5+ messages in thread
From: Neil MacMunn @ 2011-02-02 21:33 UTC (permalink / raw)
To: openembedded-devel
After a few cycles of:
# rm /etc/pointercal
# shutdown -r now
# stat /etc/pointercal
I found that pointercal is only accessed on the first restart after it
has been modified/created.
The problem seems to be that Xorg is started before ts_calibrate runs
for the first time. I found a fairly simple hack that seems to fix the
problem.
# cp /etc/X11/Xinit.d/89xTs_Calibrate /etc/rc5.d/S89xTs_Calibrate
Though this fails to address the situation where ts_calibrate is run and
pointercal already exists - a manual reboot is still necessary for the
new calibration to take effect. Does anyone know of a better, more
permanent fix?
--
Neil
On 11-02-02 09:31 AM, Neil MacMunn wrote:
> I am seeing the same thing using the omap3-palmtop-image for Gumstix
> Overo. On first boot, /etc/X11/Xinit.d/89xTs_Calibrate doesn't find
> /etc/pointercal so it runs ts_calibrate. The calibration doesn't take
> effect until I reboot though - restarting gpe-dm doesn't solve the problem.
>
> I think that the library /usr/lib/ts/linear.so looks for /etc/pointercal
> and defaults to some preset values if the file doesn't exist. I thought
> that restarting gpe-dm would reload linear.so (which fuser suggests it
> does) but this doesn't solve the problem. It would appear that I am
> missing something...
>
> --
> Neil
>
>
> On 11-02-01 12:37 PM, openembedded@rkmorris.us wrote:
>> Hi,
>>
>> I have successfully build and then run several OE images on my target
>> hardware (h1940) - and have noticed an interesting oddity (bug?).
>>
>> If I run the opie-image for example, everything works just great.
>> However, if I run an X-based image (like, say x11-gpe-image) when the
>> GUI starts up tslib calibration is run ... but then basically thrown
>> away, as the driver for the touchscreen is set to evdev by default
>> (and the touchscreen isn't calibrated / does not work right). If I
>> manually build and install xf86-input-tslib, and then configure the
>> input as tslib (not evdev) - once I restart gpe-dm it works as expected!
>>
>> Is this supposed to be the case, or perhaps something not configured
>> quite right in the builds?
>>
>> Thanks!
>>
>> ... Russell
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tslib Issue
2011-02-01 20:37 tslib Issue openembedded
2011-02-02 17:31 ` Neil MacMunn
@ 2011-02-12 0:16 ` Khem Raj
2011-02-13 2:50 ` [Openembedded-users] " Russell Morris
1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2011-02-12 0:16 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-users
On (01/02/11 14:37), openembedded@rkmorris.us wrote:
> Hi,
>
> I have successfully build and then run several OE images on my target hardware (h1940) - and have noticed an interesting oddity (bug?).
>
> If I run the opie-image for example, everything works just great. However, if I run an X-based image (like, say x11-gpe-image) when the GUI starts up tslib calibration is run ... but then basically thrown away, as the driver for the touchscreen is set to evdev by default (and the touchscreen isn't calibrated / does not work right). If I manually build and install xf86-input-tslib, and then configure the input as tslib (not evdev) - once I restart gpe-dm it works as expected!
are you using X11 with evdev driver then tslib will not be used at all. You
have to use xinput-calibrator.
>
> Is this supposed to be the case, or perhaps something not configured quite right in the builds?
>
> Thanks!
>
> ... Russell
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Openembedded-users] tslib Issue
2011-02-12 0:16 ` Khem Raj
@ 2011-02-13 2:50 ` Russell Morris
0 siblings, 0 replies; 5+ messages in thread
From: Russell Morris @ 2011-02-13 2:50 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-users, openembedded-devel
Hi,
Perhaps a dumb question, but - should the recipe for x11-gpe-image be updated then? I ask because it's what set up tslib (rather than xinput-calibrator), and then evdev.
Thanks!
... Russell
On Fri, Feb 11, 2011 06:16 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
On (01/02/11 14:37), openembedded@rkmorris.us wrote:
> > Hi,
> >
> > I have successfully build and then run several OE images on my target hardware (h1940) - and have noticed an interesting oddity (bug?).
> >
> > If I run the opie-image for example, everything works just great. However, if I run an X-based image (like, say x11-gpe-image) when the GUI starts up tslib calibration is run ... but then basically thrown away, as the driver for the touchscreen is set to evdev by default (and the touchscreen isn't calibrated / does not work right). If I manually build and install xf86-input-tslib, and then configure the input as tslib (not evdev) - once I restart gpe-dm it works as expected!
>
> are you using X11 with evdev driver then tslib will not be used at all. You
> have to use xinput-calibrator.
> >
> > Is this supposed to be the case, or perhaps something not configured quite right in the builds?
> >
> > Thanks!
> >
> > ... Russell
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
From martin.jansa@gmail.com Sun Feb 13 07:08:10 2011
Received: from mail-fx0-f47.google.com ([209.85.161.47])
by linuxtogo.org with esmtp (Exim 4.72)
(envelope-from <martin.jansa@gmail.com>) id 1PoV7y-0000AN-Qc
for openembedded-devel@lists.openembedded.org;
Sun, 13 Feb 2011 07:08:10 +0100
Received: by fxm17 with SMTP id 17so3929381fxm.6
for <openembedded-devel@lists.openembedded.org>;
Sat, 12 Feb 2011 22:07:03 -0800 (PST)
DKIM-Signature: v
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-13 2:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 20:37 tslib Issue openembedded
2011-02-02 17:31 ` Neil MacMunn
2011-02-02 21:33 ` Neil MacMunn
2011-02-12 0:16 ` Khem Raj
2011-02-13 2:50 ` [Openembedded-users] " Russell Morris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.