All of lore.kernel.org
 help / color / mirror / Atom feed
* xinput-calibrator
@ 2010-02-04 11:31 Martin Jansa
  2010-03-09 22:25 ` pointercal ignored? Ulf Samuelsson
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2010-02-04 11:31 UTC (permalink / raw)
  To: Marco Cavallini; +Cc: openembedded-devel

Hi,

I've seen your patches for xinput-calibrator. I'm not sure if you're
the author (github is down now ;/), but maybe you could add this
anyways.

For shr I've added small shell script to run calibration only if 
/etc/pointercal.xinput doesn't exist and after calibration store values
there for next reboot.
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=48dd2427c14edb8349e9f16150ad0f9c037c2ab8

This is then used in Xsession.d script.
Problem is when user wait too long when starting xorg for first time and LCD 
screen is blanked, then first touchscreen tap to unblank it counts as
first point for calibration (way off the right mark).

I've workarrounded it with forcing LCD to stay on while calibrator is
running but still not best solution (ie user can touch ts by accident
even with display on.

Could you add option (ie enabled by command line param, or even by
default) to repeat calibration when user doesn't confirm that he did it
right and touchscreen is working for him?

Something like (while still in xinput-calibrator gui):

Do you want to use/store calibration values?
If yes, press touchscreen for 10s.
If no, press once and calibration will start again.
(maybe some 3rd option to exit calibration without storing)

(buttons would be easier to use, but difficult to press the right one if 
user messed calibration really badly).

Thanks!

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



^ permalink raw reply	[flat|nested] 6+ messages in thread

* pointercal ignored?
  2010-02-04 11:31 xinput-calibrator Martin Jansa
@ 2010-03-09 22:25 ` Ulf Samuelsson
  2010-03-10 14:16   ` Marcin Juszkiewicz
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2010-03-09 22:25 UTC (permalink / raw)
  To: openembedded-devel

I have built a custom variant of x11-gpe-image for the SAM9M10.


I am running the dev branch (1-2 weeks old)
The pointcal file generated by ts_calibrate in
seems to be reasonable, indicating that
the touchscreen is pressed (50,50) away
from all four corners.

When gpe is started, the Y direction seems to be compressed.
When I start the calculator and press at the top of the screen,
the calculator buttons 5 mm below gets pressed.
When I press at the bottom of the screen, the buttons 5 mm above
gets pressed.

Changing /etc/pointercal manually seems to have no effect

It's like pointercal gets ignored.

When others run the same kernel with minor config changes
using the stable branch ans xserver-kdrive, this phenomena
does not happen.

Any clues?

Best Regards,
Ulf Samuelsson








^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pointercal ignored?
  2010-03-09 22:25 ` pointercal ignored? Ulf Samuelsson
@ 2010-03-10 14:16   ` Marcin Juszkiewicz
  2010-03-10 20:46     ` Ulf Samuelsson
  0 siblings, 1 reply; 6+ messages in thread
From: Marcin Juszkiewicz @ 2010-03-10 14:16 UTC (permalink / raw)
  To: openembedded-devel

Dnia wtorek, 9 marca 2010 o 23:25:22 Ulf Samuelsson napisał(a):
> I have built a custom variant of x11-gpe-image for the SAM9M10.

Which machine in OE covers that board? I have to admit that I did not tried to 
hack mine.
 
> When gpe is started, the Y direction seems to be compressed.
> When I start the calculator and press at the top of the screen,
> the calculator buttons 5 mm below gets pressed.
> When I press at the bottom of the screen, the buttons 5 mm above
> gets pressed.
> 
> Changing /etc/pointercal manually seems to have no effect
> 
> It's like pointercal gets ignored.
> 
> When others run the same kernel with minor config changes
> using the stable branch ans xserver-kdrive, this phenomena
> does not happen.

Check do you have kdrive or xorg with evdev or tslib driver.

Regards, 
-- 
JID:      hrw@jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pointercal ignored?
  2010-03-10 14:16   ` Marcin Juszkiewicz
@ 2010-03-10 20:46     ` Ulf Samuelsson
  2010-03-11 22:18       ` Ulf Samuelsson
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2010-03-10 20:46 UTC (permalink / raw)
  To: openembedded-devel

Marcin Juszkiewicz skrev:
> Dnia wtorek, 9 marca 2010 o 23:25:22 Ulf Samuelsson napisał(a):
>> I have built a custom variant of x11-gpe-image for the SAM9M10.
> 
> Which machine in OE covers that board? I have to admit that I did not tried to 
> hack mine.

I am building the SAM9G45EK, but I am using a 2.6.30 kernel
patched with maxim.org.za + www.linux4sam.org .exp3 patches
instead of the 2.6.32 currently in openembedded.

Also updated bootstrap and u-boot, but that won't affect this.

>  
>> When gpe is started, the Y direction seems to be compressed.
>> When I start the calculator and press at the top of the screen,
>> the calculator buttons 5 mm below gets pressed.
>> When I press at the bottom of the screen, the buttons 5 mm above
>> gets pressed.
>>
>> Changing /etc/pointercal manually seems to have no effect
>>
>> It's like pointercal gets ignored.
>>
>> When others run the same kernel with minor config changes
>> using the stable branch ans xserver-kdrive, this phenomena
>> does not happen.
> 
> Check do you have kdrive or xorg with evdev or tslib driver.
> 

I will check, when I am back home.
Will also send the patches I added.

> Regards, 
BR
/Ulf





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pointercal ignored?
  2010-03-10 20:46     ` Ulf Samuelsson
@ 2010-03-11 22:18       ` Ulf Samuelsson
  2010-03-11 23:16         ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2010-03-11 22:18 UTC (permalink / raw)
  To: openembedded-devel

Ulf Samuelsson skrev:
> Marcin Juszkiewicz skrev:
>> Dnia wtorek, 9 marca 2010 o 23:25:22 Ulf Samuelsson napisał(a):
>>> I have built a custom variant of x11-gpe-image for the SAM9M10.
>>
>> Which machine in OE covers that board? I have to admit that I did not
>> tried to hack mine.
> 
> I am building the SAM9G45EK, but I am using a 2.6.30 kernel
> patched with maxim.org.za + www.linux4sam.org .exp3 patches
> instead of the 2.6.32 currently in openembedded.
> 
> Also updated bootstrap and u-boot, but that won't affect this.
> 
>>  
>>> When gpe is started, the Y direction seems to be compressed.
>>> When I start the calculator and press at the top of the screen,
>>> the calculator buttons 5 mm below gets pressed.
>>> When I press at the bottom of the screen, the buttons 5 mm above
>>> gets pressed.
>>>
>>> Changing /etc/pointercal manually seems to have no effect
>>>
>>> It's like pointercal gets ignored.
>>>
>>> When others run the same kernel with minor config changes
>>> using the stable branch ans xserver-kdrive, this phenomena
>>> does not happen.
>>
>> Check do you have kdrive or xorg with evdev or tslib driver.
>>
> 
> I will check, when I am back home.


xserver-xorg-2_1.7.4-r0
tslib-1.0-r23.3
xtscal-0.6.3-r7
xf86-input-evdev-1_2.3.2-r10
calibrateproto-2_0.0+r0+gitr1da6fd1e2c7a49648245c98481fabea8b9690a8c-r0
libxcalibrate-2_0.0+r0+gitr209d83af61ed38a002c8096377deac292b3e396c-r0

There is no PREFERRED_PROVIDER_xserver defined.


> Will also send the patches I added.
> 
>> Regards, 
> BR
> /Ulf
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


-- 
Best Regards
Ulf Samuelsson




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pointercal ignored?
  2010-03-11 22:18       ` Ulf Samuelsson
@ 2010-03-11 23:16         ` Koen Kooi
  0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2010-03-11 23:16 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-03-10 23:18, Ulf Samuelsson wrote:

> xserver-xorg-2_1.7.4-r0
> tslib-1.0-r23.3
> xtscal-0.6.3-r7
> xf86-input-evdev-1_2.3.2-r10
> calibrateproto-2_0.0+r0+gitr1da6fd1e2c7a49648245c98481fabea8b9690a8c-r0
> libxcalibrate-2_0.0+r0+gitr209d83af61ed38a002c8096377deac292b3e396c-r0

If you want pointercal to be use, you need to install xf86-input-tslib
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLmXnKMkyGM64RGpERAq6xAKCSdJ8Hxiff5xHq90Ncmbas0yT8tACgnKdi
YlnQa4aBHrZEbDrH36JEFiM=
=of8g
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-11 23:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 11:31 xinput-calibrator Martin Jansa
2010-03-09 22:25 ` pointercal ignored? Ulf Samuelsson
2010-03-10 14:16   ` Marcin Juszkiewicz
2010-03-10 20:46     ` Ulf Samuelsson
2010-03-11 22:18       ` Ulf Samuelsson
2010-03-11 23:16         ` Koen Kooi

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.