changing screen resolution of touchscreen
hi...
I have installed qt with tslib support.
I'm able to run command ts_test,ts_calibratre etc.. But my problem is :
1. When ts_calibrate is executed it show 640x480 resolution ,while the original resolution of the touchscreen is 480x270. How to change thwe resolution.
2.ts_test is giving garbage values. is it because ts_calibratre is not working properly?
Also touch is not implemented in qt application. If ts_test,ts_calibrate works properly will touch will start working on qt application
Re: changing screen resolution of touchscreen
What do you mean with "Qt with tslib" support?
The commands you are referring to are not "Qt commands".
You should ask that on a forum that is dealing with the touch screen you have and tslib forums.
Re: changing screen resolution of touchscreen
hi high flyer
here is post where qt with tslib support is given.
http://www.qtcentre.org/forum/f-qtop...lib-15956.html
hence i posted my problem to find the solution.
Re: changing screen resolution of touchscreen
Hi,
When the framebuffer is opened the screen resolution is returned to the application via an ioctl on /dev/fb*. This is not a Qt related problem.
Either the ts library has hard-coded the lcd resolution, which I doubt, or your LCD driver is setting the resolution @ 640x480. Sounds like the later is the problem. You have to modify your lcd driver to set the correct resolution of your LCD device.
Re: changing screen resolution of touchscreen
I modified the lcd setting in linux kernel, and it worked.
Thansk for the help
Re: changing screen resolution of touchscreen
Hey aj2903,
how did you change it? Do you therefore have to recompile the kernel, or can you change it without recompiling? Thanks for hint so far =)!
Cheers,
Honta
Re: changing screen resolution of touchscreen
hi honta,
we have to reinstall thre linux kernel & in kernel setting choose the approrpiate as nedded.
Re: changing screen resolution of touchscreen
Quote:
Originally Posted by
aj2903
hi honta,
we have to reinstall thre linux kernel & in kernel setting choose the approrpiate as nedded.
If you don't want to reinstall linux kernel you can do:
Code:
# fbset -xres 800 -yres 480