-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable touch screen calibration / rotation #17
Comments
The It doesn't run on laptop either: requires root to run and completely hangs, doesn't react to Ctrl-C and requires laptop reboot. Fixing this requires access to hardware (which I don't posses, unfortunately). @linuxianer99, can you look into this? |
@kedder : Yes, i can do so. But nit before the weekend ... |
Is there any new information to this issue ? |
@kedder : the caltool used before is very fragile. |
@linuxianer99, I've never dealt with touchscreens before, so it is hard to say. I'm not even sure what mechanisms/apis are involved in reading the touchscreen input. I can see tslib is included in |
I compiled tslib yesterday evening. The only thing is, don't know if i can tell XCSoar to use the /dev/uinput instead of /dev/input/eventx ... We will see ;-) |
Just completed installation of new touchscreen unit and come across this issue since screen is installed at portrait, 270 orientation. Cursor stays at upper edge despite of touch area. Extremely disappointing. Touch feature became totally useless. I could be more then happy to contribute to software testing. |
@kedder : Think i have a solution for the touch: Using tslib with tslib_uinput: Things to do:
Do you think this is a useable approach ? |
@linuxianer99, This won't require any change to XCSoar to support touch events via tslib, right? if it works, it looks great! |
@kedder : Yes, no changes to XCSoar. |
I compiled the new image last night, but touch screen dosen't work. I can't calibrate touch screen. If I start the calibration tool I get the message touch screen is calibrated. If I start XCSoar I have no reaction about the touch screen. |
Same with mine. Actually touch moves cursor along upper edge only |
I have a OV with Pixel Qi 7.0 and tried openvario-testing |
Can you please do the following:
|
@Blaubart Do you have the possibility to change files config files in the linux system ? |
I can change files, no problem |
Try to change the following: in and Needs a reboot to take effect ! |
Now I can calibrate the touch screen, but it dosen't react to my finger when XCSoar is running |
Did you do a reboot after the calibration ? |
Yes I did. I don't know why, but now the arrow moves if I move my finger at touch screen. But at X-axis arrow moves just half way. At Y-axis arrow reaches the end of display but my finger moves just have way. The lines at screen stay visible and map dosen't move, zoom or something else. |
Thanks to Stephan Langer, who generously donated me the hardware for development, I have a 7" device with the touchscreen (and sensors too) and can play with it now! I've checked out the image with the tslib support and found couple of issues:
I'll play with it a little bit more, maybe I'll be able to come up with something working. |
I think I made tslib work, including screen rotation, but it is a bit hacky (using Without |
Ok, I think I figured it out. @Blaubart, can you try this new image: 20164-openvario-7-CH070? The touchscreen should work in all 4 directions after calibration. First, pick your screen orientation, then reboot, then calibrate the touch screen, then start xcsoar. The image built from my touchscreen branch. |
Thats sounds good!! Thanks! I use a Pixel Qi 7, so can you send me the image for this display, please? |
@Blaubart here you go: 20165-openvario-7-PQ070. |
Hi Kedder, it almost works ;-) Regards and thanks a lot! |
Supports calibration in all 4 directions. Screen rotation is implemented using LIBINPUT_CALIBRATION_MATRIX property instead of tslib because tslib rotation is buggy see Openvario#17 (comment)
Supports calibration in all 4 directions. Screen rotation is implemented using LIBINPUT_CALIBRATION_MATRIX property instead of tslib because tslib rotation is buggy see Openvario#17 (comment)
@Blaubart yeah, apparently I didn't test it well enough. Please try the new image: 20167-openvario-7-PQ070, it should have the problem fixed. |
Thanks a lot!!!! It works perfectly! |
How can I see, that it is merged to warrior? |
I'll make a pull request, as soon as it merges, this issue will close, you'll get a notification (probably). |
Supports calibration in all 4 directions. Screen rotation is implemented using LIBINPUT_CALIBRATION_MATRIX property instead of tslib because tslib rotation is buggy see Openvario#17 (comment)
I compiled stable and testing version at the same day with the same sources. Touchscreen calibration with testing-image works, with stable not. It dosen't make sense, right?? |
@Blaubart, no, it does not. Does the officially released stable version have the same issue? |
I will test next days. |
It is the same with officially released stable version for PixelQi 7.0 |
Checked content of image a few minutes ago. Just to be sure: |
I tried self compiled testing image (works), self compiled stable image (dosen't work) and officially released stable image (dosen't work) |
I'll check as soon as I get to my testing device, hopefully this evening. |
Ok, I can confirm the problem. It seems like XCSoar-6.8 is interpreting the touch input somehow differently from 7. It should be fixable, but I can't do it till the next week. |
great! Thanks for your help!! |
According to @mihu-ov, touch screen calibration and rotation doesn't work in 20067.
The text was updated successfully, but these errors were encountered: