Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 6.6 touch screen setup: (1 Item)
   
QNX 6.6 touch screen setup  
Hello.
I'm trying to use touch screen at QNX 6.6 / Qt5.
I've searched and followed answers and then I'm seeing calib-touch screen now.
But I can't move the cursor or click.

After launching below programs in rc.local, calib-touch program could be run.
But touch doesn't work and cannot calibrate.

With QNX 6.5 / Qt4 touch screen works fine.

Does anyone have any idea what's wrong?

Thanks.

io-usb -duhci -dohci -dehci
io-hid -dusb -degalax
devi-hid kbd touch

drm-intel &
screen &

Here is hidview result:
# hidview

Device Address       : 0
Vendor               : 0x0eef (eGalax Inc.)
Product              : 0x0001
Version              : r1.10
Usage                : Pointer

Device Address       : 1
Vendor               : 0x045e (Microsoft)
Product              : 0x0752 (Wired Keyboard 400)
Version              : r1.10
Usage                : Keyboard

And this is my env variables:
# env

_=/usr/bin/env
SSH_CONNECTION=192.168.100.118 64713 192.168.100.177 22
PATH=/sbin:/usr/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin
SHELL=/bin/sh
TMPDIR=/tmp
HOSTNAME=localhost
USER=root
PROCESSOR=x86
MAIL=/var/spool/mail/root
LD_LIBRARY_PATH=/prob/boot:/lib:/usr/lib:/lib/dll:/opt/qt5/lib:/opt/qnx6/x86/lib:/opt/qnx6/x86/usr/lib:/opt/qnx6/x86/lib

/dll:/usr/lib/graphics/intel-drm:/opt/qt5/plugins/platforms
QT_DEBUG_PLUGINS=1
HOME=/root
SSH_CLIENT=192.168.100.118 64713 22
QNX_HOST=/
QT_QPA_PLATFORM=qnx:no-fullscreen
QNX_TARGET=/
GRAPHICS_ROOT=/usr/lib/graphics/intel-drm
QQNX_PHYSICAL_SCREEN_SIZE=200,117
TERM=xterm
QML_IMPORT_PATH=/opt/qt5/imports
QML2_IMPORT_PATH=/opt/qt5/qml
QT_PLUGIN_PATH=/opt/qt5/plugins
FONTCONFIG_FILE=/etc/fontconfig/local.conf
QNX_CONFIGURATION=/etc/qnx
SSH_TTY=/dev/ttyp0
SYSNAME=nto
LOGNAME=root


This is my /usr/lib/graphics/intel-drm/graphics.conf:
begin khronos

  begin egl display 1
    egl-dlls = libEGL-mesa.so
    glesv1-dlls = libglapi-mesa.so libGLESv1_CM-mesa.so
    glesv2-dlls = libglapi-mesa.so libGLESv2-mesa.so
  end egl display

  begin wfd device 1
    wfd-dlls = libwfdcfg-sample.so libWFDintel-drm.so

    # Run "drm-probe-displays" to list the available displays and pipelines,
    # and "use $GRAPHICS_ROOT/libWFDintel-drm.so" for more information on
    # these driver-specific settings.

    # Pipeline IDs 1 to 9 are used for DRM CRTCs.  One should be assigned
    # to each display that will be used.
    pipeline1-display = 1
    # Pipeline IDs 10 and above are used for DRM planes.  A plane can only
    # be used on a display with an active CRTC.
    pipeline10-display = 1
  end wfd device

end khronos

begin winmgr

  begin globals
    input = keyboard mouse
    # Adjust the stack size of Screen's resmgr threads.  The default size
    # is insufficient for blitters/compositors using Mesa (e.g., gles2blt).
    blit-config = gles2blt
  end globals

  begin display 1
    video-mode = 1024 x 600 @ 75
    # Adjust the stack size of Screen's composition thread; required when the
    # display's framebuffer uses Mesa (e.g. "usage = gles2"), as noted above.
    cursor = on
    stack-size = 4096  # in units of 1024 bytes
  end display

  begin class framebuffer
    # Be sure to configure the "pipeline%d-display" options (above) so the
    # specified display and pipeline are bindable.  Normally a framebuffer
    # will use a CRTC pipeline.
    display = 1
    pipeline = 1
    format = rgba8888
    usage = gles2blt
  end class

  begin mtouch                                                      
    driver = devi                                           
    options = height=600,width=1024                           
    display = 1                                               
  end mtouch

end winmgr