How to make Seiko-LCD detect "tap" (and interpret it as a click)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to make Seiko-LCD detect "tap" (and interpret it as a click)?

Jump to solution
6,934 Views
haryono
Contributor III

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

Labels (3)
1 Solution
5,645 Views
lily_zhang
NXP Employee
NXP Employee

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.

View solution in original post

0 Kudos
47 Replies
1,909 Views
daiane_angolini
NXP Employee
NXP Employee

evtest is not related with evtouch.

And, this problem is not rellated with your Ubuntu configuration. I was able to reproduce it on a pure linux environment.

the touchscreen ripley driver on 2.6.35 kernel does not implement the "tap" event, because tslib does not require it.

But, for a newer rootfs, tslib is no longer used, it was changed by udev/evtouch.

I got the same problem using yocto rootfs. I don´t have/know a fix

karinavalencia, do you know if there is a fix for this bug?

0 Kudos
1,909 Views
karina_valencia
NXP Apps Support
NXP Apps Support

Hi DaianeAngolini, I suggest to create a CT to  review this with  R&D.

0 Kudos
1,909 Views
haryono
Contributor III

I checked under /usr/lib/X11/xorg.conf.d, and there is evdev.conf, but no evtouch.conf.

Does it mean I don't have the proper driver for the touch screen yet?

0 Kudos
1,909 Views
haryono
Contributor III

Thanks Daiane.

Yes, I confirmed, I installed evtest, and the touchscreen is registered as event1, and it shows that Ubuntu detect location change only, but not tap event.

Anybody know how to fix this?

0 Kudos
1,909 Views
adrian_alonso
NXP Employee
NXP Employee

Hi Hary,

What Ubutu version are you using?

Did you roll your own Ubuntu version with "linaro media tools" or are you using a formal Freescale Ubuntu release?

Which kernel version are you using?

Regards

0 Kudos
1,909 Views
haryono
Contributor III

Hi Adrian,

I was wondering, is it because I need utouch package, and version 10.04 doesn't support it?

http://www.thefanclub.co.za/how-to/how-ubuntu-1204-touchscreen-calibration

Thanks.

0 Kudos
1,909 Views
haryono
Contributor III

DISTRIB_ID=Ubuntu                                                              

DISTRIB_RELEASE=10.04                                                          

DISTRIB_CODENAME=lucid                                                         

DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

0 Kudos
1,909 Views
haryono
Contributor III


Hi Adrian,

I'm using formal Freescale Ubuntu release (the one that shipped with i.MX53 QSB in the micro SD card).

The kernel I am using is:

Linux lucid-desktop 2.6.35.3-744-g27fdf7b #1 PREEMPT Thu Jan 27 15:10:16 CST 201

1 armv7l GNU/Linux

Thanks.

Hary

0 Kudos
1,911 Views
daiane_angolini
NXP Employee
NXP Employee

Sorry for delay haryono, Please, let us know if Jimmychan´s reply worked for you.

0 Kudos
1,911 Views
haryono
Contributor III

Hi Daiane,

Don't worry about the delay.  I got blank screen, and after some elimination steps I found what cause it, but don't know the solution (please refer to my reply to Jimmy above).

Thanks.

0 Kudos
1,911 Views
daiane_angolini
NXP Employee
NXP Employee

Do you know there is a re-work list to be done on some imx53qsb revision in order to get touchscreen working?

0 Kudos
1,909 Views
haryono
Contributor III

Hi Daiane,

Yes, I know there is a re-work list.

But my touchscreen responds to touch (mouse pointer moves to the area where I touch). The only problem is when I tap, it doesn't recognize as mouse click.

Does this behavior indicate that it requires re-work?

0 Kudos
1,909 Views
daiane_angolini
NXP Employee
NXP Employee

Could you test it using evtest?

I´m not sure, but I remember I have already face the same problem some time ago (taping not working on 53QSB).

WHen using evtest I was able to see pen moving, but the tap event was not recognized. It was caused by a mismatch of linux version and udev / event handler.

Please, let me know the results.

0 Kudos
1,909 Views
haryono
Contributor III

Hi Daiane,

My SEIKO LCD board is Rev B, does it need rework? Where I can find what rev need rework?

So, the symptom when it need rework is that it won't respond to tap, but mouse pointer will still move?

Btw, before I test it using evtest, should I install the evtouch driver first?

But then when I install the driver, my LCD screen went blank.

0 Kudos
1,909 Views
karina_valencia
NXP Apps Support
NXP Apps Support

AdrianAlonso can you review this question and  continue with the follow  up?

0 Kudos
1,911 Views
haryono
Contributor III

Thanks Karina, I appreciate it

1,911 Views
daiane_angolini
NXP Employee
NXP Employee

As I remember, LCD board does not need rework.

Look, I don´t have ubuntu experience, I only use pure linux environment. I don´t think you need to install touch screen driver, it must be included in kernel source code for your board.

0 Kudos
1,916 Views
haryono
Contributor III

Btw, I forgot to mention my QSB Rev.

MPN: MCIMX53-START

LOT: EOKA1119AG

DTE: 1119

REV: EO

LPN:KA061390

0 Kudos
1,916 Views
haryono
Contributor III

Hi Daiane,

I see.  Does it mean neither my LCD nor the QSB need rework?

I tried to search for evtest, it doesn't exist.

Thanks.

0 Kudos
1,915 Views
jimmychan
NXP TechSupport
NXP TechSupport

Please read the 6.1 How to support Touch screen in Ubuntu. Although it is for i.MX53SMD, you may take it for reference. Also, you can try to delete the "pointercal" file. So it will run ts_calibrate again.

0 Kudos
1,915 Views
haryono
Contributor III

This is the content of /var/log/Xorg.0.log:

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-607-imx51 armv7l Ubuntu
Current Operating System: Linux lucid-desktop 2.6.35.3-744-g27fdf7b #1 PREEMPT Thu Jan 27 15:10:16 CST 2011 armv7l
Kernel command line: console=ttymxc0,115200 video=mxcdi1fb:GBR24,XGA di1_primary tve video=mxcdi0fb:RGB24,SEIKO-WVGA root=/dev/mmcblk0p1 rw rootwait
Build Date: 23 April 2010  05:19:26PM
xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce@ubuntu.com>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan  2 05:29:06 1970
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Configured Monitor 1"
(**) |   |-->Device "i.MX Accelerated Framebuffer Device 1"
(**) |-->Input Device "touchscreen"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x13bd34
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 8

(II) Open APM successful
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "imx"
(II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
(II) Module imx: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 0.2.0
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "evtouch"
(II) Loading /usr/lib/xorg/modules/input/evtouch_drv.so
(II) Module evtouch: vendor="Kenan Esau"
compiled for 1.7.6, module version = 0.8.8
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) IMX: driver for framebuffer: imx
(WW) Falling back to old probe method for imx
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 0.0.2
ABI class: X.Org Video Driver, version 6.0
(II) IMX(0): using /dev/fb1
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) Running in FRAMEBUFFER Mode
(II) IMX(0): Creating default Display subsection in Screen section
"Screen 1" for depth/fbbpp 16/16
(==) IMX(0): Depth 16, (==) framebuffer bpp 16
(==) IMX(0): RGB weight 565
(==) IMX(0): Default visual is TrueColor
(==) IMX(0): Using gamma correction (1.0, 1.0, 1.0)
(II) IMX(0): hardware: DISP3 BG (video memory: 2250kB)
(**) IMX(0): Option "fbdev" "/dev/fb1"
(II) IMX(0): checking modes against framebuffer device...
(II) IMX(0): checking modes against monitor...
(--) IMX(0): Virtual size is 800x480 (pitch 800)
(**) IMX(0):  Built-in mode "current": 33.5 MHz, 31.5 kHz, 60.3 Hz
(II) IMX(0): Modeline "current"x0.0   33.50  800 964 974 1063  480 490 500 523 -hsync -vsync -csync (31.5 kHz)
(==) IMX(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules/libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 2.5.0
ABI class: X.Org Video Driver, version 6.0
(II) IMX(0): physAddr=0x75000000 fbstart=0x2b008000 fbmem=0x2b008000 fboff=0x00000000
(II) IMX(0): framebuffer: size=800x480 bits=16 screenbytes=768000 stride=1600
(II) IMX(0): rgbOffset=11,5,0 rgbMask=0x0000f800,0x000007e0,0x0000001f
(II) EXA(0): Driver allocated offscreen pixmaps
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(II)         UploadToScreen
(II)         DownloadFromScreen
(II) IMX(0): Driver handles allocation of pixmaps
(II) IMX(0): Offscreen pixmap area of 1500K bytes
(II) IMX(0): IMX EXA acceleration setup successful
(==) IMX(0): Backing store disabled
(==) IMX(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm

Backtrace:
Segmentation fault at address 0xef23fdc4

Caught signal 11 (Segmentation fault). Server aborting

Please consult the The X.Org Foundation support
  at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

ddxSigGiveUp: Closing log

0 Kudos