All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Problem with calibration of AT91SAM9M10EKES
Date: Wed, 26 Jan 2011 18:36:12 +0100	[thread overview]
Message-ID: <4D405B8C.805@atmel.com> (raw)
In-Reply-To: <201101261401.02414.marcin@juszkiewicz.com.pl>

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




  reply	other threads:[~2011-01-26 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26  9:40 Problem with calibration of AT91SAM9M10EKES Ulf Samuelsson
2011-01-26 13:01 ` Marcin Juszkiewicz
2011-01-26 17:36   ` Ulf Samuelsson [this message]
2011-01-26 20:06     ` Martin Jansa
2011-01-26 21:24       ` Ulf Samuelsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D405B8C.805@atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.