[oe] Problem with calibration of AT91SAM9M10EKES
Ulf Samuelsson
ulf.samuelsson at atmel.com
Wed Jan 26 17:36:12 UTC 2011
2011-01-26 14:01, Marcin Juszkiewicz skrev:
> Dnia środa, 26 stycznia 2011 o 10:40:25 Ulf Samuelsson napisał(a):
>> I have some calibration problem with my private branch
>> (ulf/linux-2.6.30-2011-01-??) when building the at91sam9m10ekes board.
>>
>> I am running /usr/bin/run-calibrate.sh,
>> but regardless of how I click, during calibration,
>> a tap afterwards always results in detection 3 mm above the tap.
>>
>> There is a "pointercal" file generated.
>> It appears to me that this is ignored...
>> I can tap 1 cm above or below during calibration,
>> and still the detected tap is 3 mm above the actual tap.
>
>> Anything else to think about?
>> I enclose /etc/X11/xorg.conf and /etc/ts.conf.
> You are using full X11 with evdev driver so tslib is not used at all. You have
> to use xinput-calibrator.
>
> Regards,
Hmm, I thought I was using xserver-kdrive!
(Have PREFERRED_PROVIDER_xserver = "xserver-kdrive" in the machine conf
file)
Looking closer at the image (x11-at91sam9-image), it contains
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-tslib \
xf86-video-fbdev "
so the xserver-kdrive is overridden.
This was copied from "xorg-image.bb" which I guess then have the same
problem
using full x-server and tslib.
"qt4-x11-base-image.bb" has this combination as well.
"xserver-common_1.33.bb" is built and contains:
+++++++++++++++++++++++++
RDEPENDS_${PN}_append_angstrom = " tslib-calibrate "
RDEPENDS_${PN}_append_shr = " xinput-calibrator "
-----------------------------------------------------
and I am building "angstrom" I do not get "xinput-calibrator"
I added xinput-calibrate to the x11-at91sam9-image, but after the build,
Removed "xf86-input-tslib", but the dependence on "tslib-calibrate"
remains in "xserver-common_1.33.bb"
Maybe this needs to change as well.
I get the same startup calibration program ("run-calibrate.sh" calling
ts_calibrate).
with the same poor result.
There are no scripts calling "xinput-calibrator".
Shouldn't that happen at startup?
Can call it manually, and then suddenly I am much better off.
Still it not perfect though.
Any clue to get xinput-calibrate to run at first boot?
Best Regards
Ulf Samuelsson
More information about the Openembedded-devel
mailing list