Dear all,
I am using i.MX53 QSB with Seiko-WVGA LCD, running Ubuntu.
It responses to the touch (it repositions the mouse pointer to the location where I touch).
However, when I tap a location, it doesn't detect it as a mouse-click.
Did I miss something here?
Btw, I haven't calibrate the LCD, could it be the case of this?
I don't know how to initiate the calibration. I tried to add "calibration" at the end of bootargs, but it doesn't help.
Thanks a lot.
Hary
已解决! 转到解答。
I don’t have MX53START board on the hand now. You can check the logs and there should some logs for PMIC. Meanwhile, you can see PMIC part number on the board to get relative information.
Regarding the debian package, you can try attachment.
Some background information is for your reference:
1. There are 2 kinds of MX53 START boards. For M53 START board with Dialog PMIC, there was one HW rework needed before "Ensure TSIREF_GPIO7 is connected to LDO8.". To verify whether hardware or driver is OK, you can try the simple command "cat /dev/input/event1". Please note to change "event1" as right event device in your board. Then when you press touch screen, you should see there is response in console.
2. If the driver is OK, please get right evtouch debian package, since the evtouch package in lucid’s repository
have a bug cause X.org server crash. The package can be found on the demo
image bundle of the release with this name. xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb
Install debian package:
dpgk –i xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb
if you don't install right evtouch package, you will see X crash and cause the show become blank.
Hi Xiaoli,
1. How do I know whether my i.MX53 QSB has Dialog PMIC or not?
I tried to run "cat /dev/input/event1", and I saw a bunch of binary characters everytime I touch the Seiko LCD Touchscreen.
2. I couldn't find the right "xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb". Where can I find demo image bundle?
I just found what caused the weird behavior (log out whenever I touch the screen).
It's the Xinerama layout.
After I switched to Default Layout, it doesn't logout anymore.
I run evtest, I saw Z-axis event, but the behavior is erratic and I am still unable to generate click event by tapping. Even without touching the screen, sometimes events are generated too.
Is it because of calibration? Any idea how to calibrate it?
Oh... I just remember, is it because I need to go further and modify xorg.conf?
Thanks a lot.
Glad to hear that x server crash issue was resolved.
Regarding new issue, I am not sure whether it’s related to driver behavior or xconf setting because the early test with touch screen is adopting egalaxy touch screen with LVDS. I don’t have MX53 QSB board with SEIKO LCD now. So some suggestions:
- You can try to modify the calibration date of xconf to try.
- Add some logs into touch screen drivers for the tests. If you are using Freescale PMIC, add the logs into drivers/input/touchscreen/mxc_ts.c. If you are using Dialog PMIC, add the logs into drivers/input/touchscreen/da9052_tsi.c.
Hi Lily,
- Is there any calibration program I can execute to find correct calibration values? xinput calibrator?
How to change the calibration values in xorg.conf?
- Where's the location of the log of the touch screen? Which test are you refering to? evtest?
Thanks.
You can update the following section for calibration data:
Option "MinX" "0"
Option "MinY" "0"
Option "MaxX" "4352"
Option "MaxY" "3200"
Be frankly speaking, I didn’t recall the calibration program for lucid. We also spent the efforts to calibrate it before because the touch screen in early Ubuntu delivery is not used widely.
You can check the algorithm in evtouch and see how it compute x, y. For driver logs, you can log out X, Y points when pressing. For example:
input_set_abs_params(dev, ABS_X, 0, DA9052_DISPLAY_X_MAX, 0, 0);
input_set_abs_params(dev, ABS_Y, 0, DA9052_DISPLAY_Y_MAX, 0, 0);
input_set_abs_params(dev, ABS_PRESSURE, 0, DA9052_TOUCH_PRESSURE_MAX,
I added those calibration data section in xorg.conf, but it doesn't have any effect.
Since there is no calibration program for lucid, do you suggest I upgrade to a later one? Is there a newer Ubuntu for i.MX53 QSB?
Thanks for the log-related info, I will give it a try.
I searched in Linaro website, I couldn't find any new image release. it says "page not found" on the page where it's suppose to list those images.
So, does it mean that it's official, the i.MX53 QSB with Seiko WVGA LCD doesn't support "tap" event?
I couldn't find the source files (that you mentioned) anywhere in the system.
I checked, my board is using Dialog PMIC, so, I tried to find da9052_tsi.c, but no luck.
I also tried to find mxc_ts.c, couldn't find it either.
And I couldn't find drivers/input/touchscreen/ directory either.
Did I miss something?
You can see http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/input/touchscreen/mxc_ts.c?...
Recommend that you download the latest MX53 software from Freescale web sites.
Best Regards
Lily Zhang
Freescale MPU Support
Hi Lily,
What I meant was that it seems like that I don't have the package installed (that supposedly come with the file, da9052_tsi.c).
What package that da9052_tsi.c is supposed to come with?
And which MX53 software from Freescale website were you referring to?
Thanks.
Hi Daiane,
I tried to run "evtest", command not found.
I tried to search for the file, it doesn't exist in my system.
Is it part of xserver-xorg-input-evtouch?
The problem is, after I install xserver-xorg-input-evtouch, my screen went blank.
Thanks.