Key Event Problems

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

Key Event Problems

Jump to solution
5,830 Views
obigose
Contributor I

H/W:

Freescale i.MX6

  • Base Board: MCIMXABASEV1
  • CPU Cards: MCIMX6QAICPU1 (Cortex -A9, 1.2Ghz Quad core)
  • Display: MCIMX-LVDS1 (10.1 1024 x 768 XGA display with capacitive multi-touch)

BSP:

Linaro Ubuntu 11.10

Questions:

1.     We are trying to implement applications which makes use of longpress events. However, our tests show that down-key event and up-key events are generated simultaneously when key is released. The system must send us down-key event upon touch and up-event upon release in order for us to implement long-press. Is there a way to do this?

2.     We are trying to generate system tone (beep) upon key-press. The reason for wanting to use the system-level tone is for performance reasons. We don’t want to have to play a media file every time upon touch. Is there a way to use system tones?

Labels (2)
0 Kudos
1 Solution
3,629 Views
ada_lu
NXP Apps Support
NXP Apps Support

All of your logs show this deb package is not install properly.

dpkg: error processing xserver-xorg-input-evtouch (--install):

Please remove old deb package and make sure to install xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb successfully first, then the touch will be effective on ubuntu desktop.

View solution in original post

0 Kudos
9 Replies
3,628 Views
DuanFugang
NXP Employee
NXP Employee

About Q#1:

Imx6 reference  design boards use eGalax touch screen on LVDS panel for touch test,  we cannot find such issue.

Pls make sure which touch screen does they use? And pls they use “evtest” tool to validate it.

Event “EV_ABS” must report after touch screen interrupt generation.

About Q#2:

For touch sound, it must be handled in Application layer, not system level.

Thanks,

Andy

0 Kudos
3,628 Views
obigose
Contributor I

IMG_0635.JPG

About Q#1

This image is the back of our touch screen device information.

We think that we use HannStar, not eGalax.


This URL is our main issue reproduction step video.

Touch-screen events are not fired on Ubuntu's X system - YouTube

In the video,

above terminal is "evtest" tool.

below terminal is "xev" tool.


The video shows that "evtest" tool well gets touch-press event when we touch down, unlikely "xev" tool does not.

"xev" test terninal is updated when we touch up with touch-press event.

By these tests - "evtest" and "xev", we suppose that touch-press event is well fired by device driver, but not transferred to Ubuntu's X system.

Question:

Do you know how to fix it??

0 Kudos
3,628 Views
DuanFugang
NXP Employee
NXP Employee

Pls try below steps for ubuntu, thx.

=========Config touch screen on Ubuntu=========

1.Download a evtouch debian package from ,it is a Touchscreen-Driver for X:

http://wiki.freescale.net/download/attachments/29493146/xserver-xorg-input-evtouch_0.8.8-3build1_arm...

2.Run "dpkg -i xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb" to install debian package.

3.Do some configAdd below two sections in /etc/X11/xorg.conf

Section "InputDevice"

Identifier "touchscreen"

Driver "evtouch"

Option "Device" "/dev/input/event2"

Option "DeviceName" "touchscreen"

Option "MinX" "0"

Option "MinY" "0"

Option "MaxX" "4352"

Option "MaxY" "3200"

Option "ReportingMode" "Raw"

Option "Emulate3Buttons" "false"

Option "Emulate3Timeout" "50"

Option "SendCoreEvents" "On"

EndSection

Note: You should check /var/log/Xorg.0.log and search "P1003" to get right /dev/input path. Then modify "Option Device" (shown as red color) as right path.

4.Change the "ServerLayout" Section to below:

Section "ServerLayout"

Identifier "Default Layout"

Screen "Default Screen"

InputDevice "touchscreen"

EndSection

5.Run "sudo service gdm restart" to restart X server.

=========Test touch screen on Ubuntu=========

6.Now you can operation on ubuntu desktop with finger

Or test event in console:

# stop gdm

# export http_proxy=xxxxx

# apt-get install evtest

# evtest /dev/input/eventX (which depends on the touch screen event handler)

0 Kudos
3,628 Views
obigose
Contributor I

Thanks for your answer, but it still does not work.

1.Download a evtouch debian package from ,it is a Touchscreen-Driver for X:

http://wiki.freescale.net/download/attachments/29493146/xserver-xorg-input-evtouch_0.8.8-3build1_arm...

=> The URL is not available, so I used this URL - 0.8.8-3build1 : xserver-xorg-input-evtouch : armel : Lucid (10.04) : Ubuntu

2.Run "dpkg -i xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb" to install debian package.

=> When I install xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb, I met some dependecy errors.

Error Message dumpped

"

linaro@linaro-ubuntu-desktop:~/mike-work$ sudo dpkg -i xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb

tar: ./md5sums: time stamp 2010-03-31 19:06:17 is 1270025592.931880478 s in the future

tar: ./control: time stamp 2010-03-31 19:06:26 is 1270025601.929896812 s in the future

tar: .: time stamp 2010-03-31 19:06:26 is 1270025601.929583145 s in the future

Selecting previously deselected package xserver-xorg-input-evtouch.

(Reading database ... 114974 files and directories currently installed.)

Unpacking xserver-xorg-input-evtouch (from xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb) ...

dpkg: dependency problems prevent configuration of xserver-xorg-input-evtouch:

xserver-xorg-core (2:1.10.4-1ubuntu4.2) breaks xserver-xorg-input-7 and is installed.

  xserver-xorg-input-evtouch (0.8.8-3build1) provides xserver-xorg-input-7.

dpkg: error processing xserver-xorg-input-evtouch (--install):

dependency problems - leaving unconfigured

Errors were encountered while processing:

xserver-xorg-input-evtouch

linaro@linaro-ubuntu-desktop:~/mike-work$

"

Without Step2's installation, I tried to change /etc/X11/xorg.conf like Step3, Step4, Step5(We use lightdm).

This is not still working.

Our xorg.conf file is


Section "InputDevice"

  Identifier "touchscreen"

  Driver "evtouch"

  Option "Device" "/dev/input/event1"

  Option "DeviceName" "touchscreen"

  Option "MinX" "0"

  Option "MinY" "0"

  Option "MaxX" "4352"

  Option "MaxY" "3200"

  Option "ReportingMode" "Raw"

  Option "Emulate3Buttons" "false"

  Option "Emulate3Timeout" "50"

  Option "SendCoreEvents" "On"

EndSection

Section "InputDevice"

  Identifier "Generic Keyboard"

  Driver "kbd"

  Option "XkbRules" "xorg"

  Option "XkbModel" "pc105"

  Option "XkbLayout" "us"

EndSection

Section "InputDevice"

  Identifier "Configured Mouse"

  Driver "mouse"

  Option "CorePointer"

EndSection

Section "Device"

  Identifier "i.MX Accelerated Framebuffer Device"

  Driver "vivante"

  Option "fbdev" "/dev/fb0"

  Option "vivante_fbdev" "/dev/fb0"

  Option "HWcursor" "false"

EndSection

Section "Monitor"

  Identifier "Configured Monitor"

EndSection

Section "Screen"

  Identifier "Default Screen"

  Monitor "Configured Monitor"

  Device "i.MX Accelerated Framebuffer Device"

EndSection

Section "ServerLayout"

  Identifier "Default Layout"

  Screen "Default Screen"

  InputDevice "touchscreen"

EndSection

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Our Xorg.0.log file is


[   968.328]

X.Org X Server 1.10.4

Release Date: 2011-08-19

[   968.329] X Protocol Version 11, Revision 0

[   968.329] Build Operating System: Linux 2.6.35-24-omap armv7l Ubuntu

[   968.329] Current Operating System: Linux linaro-ubuntu-desktop 3.0.35-2312-g64eb436 #1 SMP PREEMPT Wed Jan 30 05:44:21 CST 2013 armv7l

[   968.329] Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666

[   968.330] Build Date: 19 October 2011  06:22:31AM

[   968.330] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)

[   968.330] Current version of pixman: 0.22.2

[   968.330] Before reporting problems, check http://wiki.x.org

  to make sure that you have the latest version.

[   968.330] Markers: (--) probed, (**) from config file, (==) default setting,

  (++) from command line, (!!) notice, (II) informational,

  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   968.332] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  1 09:16:05 1970

[   968.333] (==) Using config file: "/etc/X11/xorg.conf"

[   968.333] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[   968.336] (==) ServerLayout "Default Layout"

[   968.336] (**) |-->Screen "Default Screen" (0)

[   968.336] (**) |   |-->Monitor "Configured Monitor"

[   968.338] (**) |   |-->Device "i.MX Accelerated Framebuffer Device"

[   968.338] (**) |-->Input Device "touchscreen"

[   968.339] (==) Automatically adding devices

[   968.339] (==) Automatically enabling devices

[   968.339] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.

[   968.339] Entry deleted from font path.

[   968.339] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.

[   968.339] Entry deleted from font path.

[   968.339] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.

[   968.340] Entry deleted from font path.

[   968.340] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.

[   968.340] Entry deleted from font path.

[   968.340] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.

[   968.340] Entry deleted from font path.

[   968.340] (==) FontPath set to:

  /usr/share/fonts/X11/misc,

  /usr/share/fonts/X11/Type1,

  /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,

  built-ins

[   968.340] (==) ModulePath set to "/usr/lib/arm-linux-gnueabi/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"

[   968.340] (II) The server relies on udev to provide the list of input devices.

  If no devices become available, reconfigure udev or disable AutoAddDevices.

[   968.341] (II) Loader magic: 0x13f45c

[   968.341] (II) Module ABI versions:

[   968.341] X.Org ANSI C Emulation: 0.4

[   968.341] X.Org Video Driver: 10.0

[   968.341] X.Org XInput driver : 12.3

[   968.341] X.Org Server Extension : 5.0

[   968.342] (II) Open APM successful

[   968.342] (II) LoadModule: "extmod"

[   968.345] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so

[   968.346] (II) Module extmod: vendor="X.Org Foundation"

[   968.346] compiled for 1.10.4, module version = 1.0.0

[   968.346] Module class: X.Org Server Extension

[   968.346] ABI class: X.Org Server Extension, version 5.0

[   968.347] (II) Loading extension MIT-SCREEN-SAVER

[   968.347] (II) Loading extension XFree86-VidModeExtension

[   968.347] (II) Loading extension XFree86-DGA

[   968.347] (II) Loading extension DPMS

[   968.347] (II) Loading extension XVideo

[   968.347] (II) Loading extension XVideo-MotionCompensation

[   968.347] (II) Loading extension X-Resource

[   968.347] (II) LoadModule: "dbe"

[   968.349] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so

[   968.350] (II) Module dbe: vendor="X.Org Foundation"

[   968.350] compiled for 1.10.4, module version = 1.0.0

[   968.350] Module class: X.Org Server Extension

[   968.350] ABI class: X.Org Server Extension, version 5.0

[   968.351] (II) Loading extension DOUBLE-BUFFER

[   968.351] (II) LoadModule: "glx"

[   968.353] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so

[   968.354] (II) Module glx: vendor="X.Org Foundation"

[   968.354] compiled for 1.10.4, module version = 1.0.0

[   968.354] ABI class: X.Org Server Extension, version 5.0

[   968.354] (==) AIGLX enabled

[   968.354] (II) Loading extension GLX

[   968.355] (II) LoadModule: "record"

[   968.356] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so

[   968.357] (II) Module record: vendor="X.Org Foundation"

[   968.357] compiled for 1.10.4, module version = 1.13.0

[   968.357] Module class: X.Org Server Extension

[   968.358] ABI class: X.Org Server Extension, version 5.0

[   968.358] (II) Loading extension RECORD

[   968.358] (II) LoadModule: "dri"

[   968.360] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so

[   968.361] (II) Module dri: vendor="X.Org Foundation"

[   968.361] compiled for 1.10.4, module version = 1.0.0

[   968.362] ABI class: X.Org Server Extension, version 5.0

[   968.362] (II) Loading extension XFree86-DRI

[   968.362] (II) LoadModule: "dri2"

[   968.364] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so

[   968.364] (II) Module dri2: vendor="X.Org Foundation"

[   968.365] compiled for 1.10.4, module version = 1.2.0

[   968.365] ABI class: X.Org Server Extension, version 5.0

[   968.365] (II) Loading extension DRI2

[   968.365] (II) LoadModule: "vivante"

[   968.366] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so

[   968.377] (II) Module vivante: vendor="X.Org Foundation"

[   968.377] compiled for 1.10.4, module version = 1.0.0

[   968.378] ABI class: X.Org Video Driver, version 10.0

[   968.378] (II) LoadModule: "evtouch"

[   968.381] (WW) Warning, couldn't open module evtouch

[   968.381] (II) UnloadModule: "evtouch"

[   968.381] (II) Unloading evtouch

[   968.381] (EE) Failed to load module "evtouch" (module does not exist, 0)

[   968.381] (II) VIVANTE: fb driver for vivante: VivanteGC500, VivanteGC2100,

  VivanteGCCORE

[   968.382] (++) using VT number 7

[   968.382] (WW) Falling back to old probe method for vivante

[   968.383] (II) Loading sub module "fbdevhw"

[   968.383] (II) LoadModule: "fbdevhw"

[   968.385] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so

[   968.385] (II) Module fbdevhw: vendor="X.Org Foundation"

[   968.386] compiled for 1.10.4, module version = 0.0.2

[   968.386] ABI class: X.Org Video Driver, version 10.0

[   968.386] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so

[   968.386] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so

[   968.386] (II) VIVANTE(0): using default device

[   968.387] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

[   968.387] (II) VIVANTE(0): Creating default Display subsection in Screen section

  "Default Screen" for depth/fbbpp 16/16

[   968.387] (==) VIVANTE(0): Depth 16, (==) framebuffer bpp 16

[   968.387] (==) VIVANTE(0): RGB weight 565

[   968.387] (==) VIVANTE(0): Default visual is TrueColor

[   968.388] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)

[   968.388] (II) VIVANTE(0): hardware: DISP4 BG (video memory: 1536kB)

[   968.388] (II) VIVANTE(0): checking modes against framebuffer device...

[   968.388] (II) VIVANTE(0): checking modes against monitor...

[   968.388] (--) VIVANTE(0): Virtual size is 1024x768 (pitch 1024)

[   968.388] (**) VIVANTE(0):  Built-in mode "current": 65.0 MHz, 48.4 kHz, 60.0 Hz

[   968.389] (II) VIVANTE(0): Modeline "current"x0.0   65.00  1024 1064 1124 1344  768 775 785 806 -hsync -vsync -csync (48.4 kHz)

[   968.389] (==) VIVANTE(0): DPI set to (96, 96)

[   968.389] (II) Loading sub module "fb"

[   968.389] (II) LoadModule: "fb"

[   968.390] (II) Loading /usr/lib/xorg/modules/libfb.so

[   968.391] (II) Module fb: vendor="X.Org Foundation"

[   968.391] compiled for 1.10.4, module version = 1.0.0

[   968.391] ABI class: X.Org ANSI C Emulation, version 0.4

[   968.392] (II) Loading sub module "exa"

[   968.392] (II) LoadModule: "exa"

[   968.393] (II) Loading /usr/lib/xorg/modules/libexa.so

[   968.394] (II) Module exa: vendor="X.Org Foundation"

[   968.394] compiled for 1.10.4, module version = 2.5.0

[   968.394] ABI class: X.Org Video Driver, version 10.0

[   968.408] (II) VIVANTE(0): FB Start = 0x33071000  FB Base = 0x33071000  FB Offset = (nil)

[   968.409] (II) VIVANTE(0): test Initializing EXA

[   968.409] (II) EXA(0): Driver allocated offscreen pixmaps

[   968.410] (II) EXA(0): Driver registered support for the following operations:

[   968.410] (II)         Solid

[   968.410] (II)         Copy

[   968.410] (II)         Composite (RENDER acceleration)

[   968.410] (II)         UploadToScreen

[   968.421] (==) VIVANTE(0): Backing store disabled

[   968.422] (==) VIVANTE(0): DPMS enabled

[   968.422] drmOpenDevice: node name is /dev/dri/card0

[   968.431] drmOpenDevice: node name is /dev/dri/card0

[   968.450] [drm] failed to load kernel module "vivante"

[   968.450] (EE) [drm] drmOpen failed.

[   968.451] (EE) VIVANTE(0): [dri] DRIScreenInit failed.  Disabling DRI.

[   968.451] (==) RandR enabled

[   968.451] (II) Initializing built-in extension Generic Event Extension

[   968.451] (II) Initializing built-in extension SHAPE

[   968.452] (II) Initializing built-in extension MIT-SHM

[   968.452] (II) Initializing built-in extension XInputExtension

[   968.452] (II) Initializing built-in extension XTEST

[   968.452] (II) Initializing built-in extension BIG-REQUESTS

[   968.452] (II) Initializing built-in extension SYNC

[   968.452] (II) Initializing built-in extension XKEYBOARD

[   968.452] (II) Initializing built-in extension XC-MISC

[   968.452] (II) Initializing built-in extension SECURITY

[   968.452] (II) Initializing built-in extension XINERAMA

[   968.453] (II) Initializing built-in extension XFIXES

[   968.453] (II) Initializing built-in extension RENDER

[   968.453] (II) Initializing built-in extension RANDR

[   968.453] (II) Initializing built-in extension COMPOSITE

[   968.453] (II) Initializing built-in extension DAMAGE

[   968.453] (II) Initializing built-in extension GESTURE

[   968.536] (II) AIGLX: Screen 0 is not DRI2 capable

[   968.537] (II) AIGLX: Screen 0 is not DRI capable

[   968.537] (II) AIGLX: Trying DRI driver /usr/lib/arm-linux-gnueabi/dri/swrast_dri.so

[   968.577] (II) AIGLX: Loaded and initialized swrast

[   968.577] (II) GLX: Initialized DRISWRAST GL provider for screen 0

[   968.631] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm

[   968.635] (II) LoadModule: "evtouch"

[   968.637] (WW) Warning, couldn't open module evtouch

[   968.637] (II) UnloadModule: "evtouch"

[   968.637] (II) Unloading evtouch

[   968.637] (EE) Failed to load module "evtouch" (module does not exist, 0)

[   968.637] (EE) No input driver matching `evtouch'

[   968.719] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event5)

[   968.720] (**)   USB Keyboard: Applying InputClass "evdev keyboard catchall"

[   968.720] (II) LoadModule: "evdev"

[   968.720] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   968.724] (II) Module evdev: vendor="X.Org Foundation"

[   968.724] compiled for 1.10.2, module version = 2.6.0

[   968.724] Module class: X.Org XInput Driver

[   968.724] ABI class: X.Org XInput driver, version 12.3

[   968.724] (II) Using input driver 'evdev' for '  USB Keyboard'

[   968.725] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   968.725] (**)   USB Keyboard: always reports core events

[   968.725] (**)   USB Keyboard: Device: "/dev/input/event5"

[   968.725] (--)   USB Keyboard: Found keys

[   968.725] (II)   USB Keyboard: Configuring as keyboard

[   968.725] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.1/2-1.1:1.0/input/input5/event5"

[   968.725] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD)

[   968.725] (**) Option "xkb_rules" "evdev"

[   968.725] (**) Option "xkb_model" "pc105"

[   968.725] (**) Option "xkb_layout" "us"

[   968.728] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event6)

[   968.728] (**)   USB Keyboard: Applying InputClass "evdev keyboard catchall"

[   968.728] (II) Using input driver 'evdev' for '  USB Keyboard'

[   968.728] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   968.729] (**)   USB Keyboard: always reports core events

[   968.729] (**)   USB Keyboard: Device: "/dev/input/event6"

[   968.729] (--)   USB Keyboard: Found keys

[   968.729] (II)   USB Keyboard: Configuring as keyboard

[   968.729] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.1/2-1.1:1.1/input/input6/event6"

[   968.729] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD)

[   968.729] (**) Option "xkb_rules" "evdev"

[   968.729] (**) Option "xkb_model" "pc105"

[   968.729] (**) Option "xkb_layout" "us"

[   968.732] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event7)

[   968.732] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"

[   968.732] (II) Using input driver 'evdev' for 'USB Optical Mouse'

[   968.732] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   968.732] (**) USB Optical Mouse: always reports core events

[   968.732] (**) USB Optical Mouse: Device: "/dev/input/event7"

[   968.733] (--) USB Optical Mouse: Found 3 mouse buttons

[   968.733] (--) USB Optical Mouse: Found scroll wheel(s)

[   968.733] (--) USB Optical Mouse: Found relative axes

[   968.733] (--) USB Optical Mouse: Found x and y relative axes

[   968.733] (II) USB Optical Mouse: Configuring as mouse

[   968.733] (II) USB Optical Mouse: Adding scrollwheel support

[   968.733] (**) USB Optical Mouse: YAxisMapping: buttons 4 and 5

[   968.733] (**) USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

[   968.733] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.0/input/input7/event7"

[   968.733] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE)

[   968.733] (II) USB Optical Mouse: initialized for relative axes.

[   968.734] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1

[   968.734] (**) USB Optical Mouse: (accel) acceleration profile 0

[   968.734] (**) USB Optical Mouse: (accel) acceleration factor: 2.000

[   968.734] (**) USB Optical Mouse: (accel) acceleration threshold: 4

[   968.735] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse1)

[   968.735] (II) No input driver/identifier specified (ignoring)

[   968.737] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)

[   968.737] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"

[   968.737] (II) Using input driver 'evdev' for 'gpio-keys'

[   968.737] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   968.737] (**) gpio-keys: always reports core events

[   968.737] (**) gpio-keys: Device: "/dev/input/event0"

[   968.737] (--) gpio-keys: Found keys

[   968.737] (II) gpio-keys: Configuring as keyboard

[   968.737] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input0/event0"

[   968.737] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD)

[   968.738] (**) Option "xkb_rules" "evdev"

[   968.738] (**) Option "xkb_model" "pc105"

[   968.738] (**) Option "xkb_layout" "us"

[   968.741] (II) config/udev: Adding input device eGalax Touch Screen (/dev/input/event1)

[   968.741] (**) eGalax Touch Screen: Applying InputClass "evdev touchscreen catchall"

[   968.741] (II) Using input driver 'evdev' for 'eGalax Touch Screen'

[   968.741] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   968.741] (**) eGalax Touch Screen: always reports core events

[   968.741] (**) eGalax Touch Screen: Device: "/dev/input/event1"

[   968.741] (--) eGalax Touch Screen: Found absolute axes

[   968.743] (--) eGalax Touch Screen: Found x and y absolute axes

[   968.743] (--) eGalax Touch Screen: Found absolute touchscreen

[   968.743] (II) eGalax Touch Screen: Configuring as touchscreen

[   968.743] (**) eGalax Touch Screen: YAxisMapping: buttons 4 and 5

[   968.744] (**) eGalax Touch Screen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

[   968.744] (**) Option "config_info" "udev:/sys/devices/platform/imx-i2c.1/i2c-1/1-0004/input/input1/event1"

[   968.744] (II) XINPUT: Adding extended input device "eGalax Touch Screen" (type: TOUCHSCREEN)

[   968.744] (WW) Touch X valuator does not match pointer X valuator, pointer emulation may be incorrect

[   968.744] (WW) Touch Y valuator does not match pointer Y valuator, pointer emulation may be incorrect

[   968.744] (II) eGalax Touch Screen: initialized for absolute axes.

[   968.745] (**) eGalax Touch Screen: (accel) keeping acceleration scheme 1

[   968.745] (**) eGalax Touch Screen: (accel) acceleration profile 0

[   968.745] (**) eGalax Touch Screen: (accel) acceleration factor: 2.000

[   968.745] (**) eGalax Touch Screen: (accel) acceleration threshold: 4

[   968.746] (II) config/udev: Adding input device eGalax Touch Screen (/dev/input/mouse0)

[   968.746] (II) No input driver/identifier specified (ignoring)

[   968.785] (II) config/udev: Adding input device isl29023 light sensor (/dev/input/event2)

[   968.785] (II) No input driver/identifier specified (ignoring)

[   968.785] (II) config/udev: Adding input device mag3110 (/dev/input/event3)

[   968.786] (II) No input driver/identifier specified (ignoring)

[   968.786] (II) config/udev: Adding input device mma845x (/dev/input/event4)

[   968.786] (II) No input driver/identifier specified (ignoring)

[   971.703] (II) XKB: reuse xkmfile /var/lib/xkb/server-A77BBE312A49C9FE89948D38B2A8CB84C3CBB410.xkm

[   981.775] (II) XKB: reuse xkmfile /var/lib/xkb/server-A77BBE312A49C9FE89948D38B2A8CB84C3CBB410.xkm

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Please give me some more information.

0 Kudos
3,629 Views
ada_lu
NXP Apps Support
NXP Apps Support

Attach fsl xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb

Please have another try.

0 Kudos
3,629 Views
obigose
Contributor I

Hi, AdaLu

Thanks for your information.


However, error message is the same. I can not install new driver file that you attached.

Error message is below.

"

linaro@linaro-ubuntu-desktop:~/mike-work$ sudo dpkg -i xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb

tar: ./control: time stamp 2011-03-03 12:02:46 is 1299120994.699666952 s in the future

tar: ./md5sums: time stamp 2011-03-03 12:02:46 is 1299120994.699075619 s in the future

tar: .: time stamp 2011-03-03 12:02:46 is 1299120994.698849952 s in the future

(Reading database ... 114999 files and directories currently installed.)

Preparing to replace xserver-xorg-input-evtouch 0.8.8-3build1 (using xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb) ...

Unpacking replacement xserver-xorg-input-evtouch ...

dpkg: dependency problems prevent configuration of xserver-xorg-input-evtouch:

xserver-xorg-core (2:1.10.4-1ubuntu4.2) breaks xserver-xorg-input-7 and is installed.

  xserver-xorg-input-evtouch (0.8.8-3build1) provides xserver-xorg-input-7.

dpkg: error processing xserver-xorg-input-evtouch (--install):

dependency problems - leaving unconfigured

Errors were encountered while processing:

xserver-xorg-input-evtouch

linaro@linaro-ubuntu-desktop:~/mike-work$

"

Do you have another idea??

0 Kudos
3,630 Views
ada_lu
NXP Apps Support
NXP Apps Support

All of your logs show this deb package is not install properly.

dpkg: error processing xserver-xorg-input-evtouch (--install):

Please remove old deb package and make sure to install xserver-xorg-input-evtouch_0.8.8-3build1_armel.deb successfully first, then the touch will be effective on ubuntu desktop.

0 Kudos
3,628 Views
ada_lu
NXP Apps Support
NXP Apps Support

Please do this configuration based on freescale standard ubuntu release, not your customized rootfs to isolated this issue.

0 Kudos
3,628 Views
obigose
Contributor I

About Q#2

Generally, Linux and window PC have system beep sound.

when Linux and Window PC is starting, use system beep sound.

Below code is the code which is using system beep sound.

/* test_beep */

void ApplicationIm::beep() {

    int freq = 440;

    int len = 5000;

    int fd = open("/dev/console", O_WRONLY);

    ioctl(fd, KDMKTONE, (len<<16)+(1193180/freq));

    close(fd);

}

Is there any solution getting system beep? not using media player....

0 Kudos