Официальный форум СВД Встраиваемые Системы
25 Апрель, 2024, 05:31:49 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.

Войти
 
 
 Сайт СВД ВС  Начало   Помощь Поиск Войти Регистрация  
Страниц: [1]   Вниз
  Печать  
Автор Тема: Touch screen calib-touch QNX 6.6  (Прочитано 1082 раз)
Jekman
Интересующийся

Сообщений: 3


« : 15 Май, 2018, 10:33:02 »

Доброго времени суток!
В наличие имеется устройство "TRACe-HMID104-CK" с сенсорным экраном UIC 612-01 https://www.uic.org/com/IMG/pdf/090309_UIC_612_presentation.pdf.
Попытка поднять touch screen не обвенчалась успехом.
В результате работы удалось запустить разве что утилиту  calib-touch для калибровки экрана но устройство не откликается на касание.

Запуск самой утилиты:
calib-touch -config-file=/etc/system/config/calib.RM4

calib-touch -recalibrate - тоже не помог, файл calib.localhost даже не создается!

******************************************************************
Запуск devi-hid

devi-hid -P -r -R800,600 touch mouse;

Устройство dev/devi/touch0 появилось
*****************************************************************************
В файле 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
#   aperture = 1
  end egl display

  begin wfd device 1
    wfd-dlls = libwfdcfg-sample.so libWFDintel-drm.so
      pipeline1-display = 1
      #pipeline10-display = 1
   #   pipeline2-display = 2
   #   pipeline11-display = 2
  end wfd device

end khronos

begin winmgr

  begin globals
    input = keyboard mouse touch
   blit-config = gles2blt
   stack-size = 4096
  end globals

  begin display 1
   cbabc = ui
    video-mode = 800 x 600 60
    cursor = on
   cursor-shape = img.bmp; 9,2;
   cursor-shape = pb_mouseCursor_default.bmp; 9,2;
    stack-size = 4096
  end display


  begin class framebuffer
    display = 1
    pipeline = 1
   format = rgba8888
    usage = gles2blt
  end class
 
#  begin mtouch
  #driver = devi
  #options = height=600,width=800
 # scaling = /etc/system/config/scaling.conf
  #display = 1
 #end mtouch
 
 begin mtouch
    # Multi-touch driver - only works on specific displays
    #driver =  hid
    #options = vid=0x1391,did=0x2112,max_touchpoints=5,width=800,height=600,waitfor_hidserver=1
   display=1
    # Legacy driver to connect to devi-* driver for touch input.
    # Comment-out the 'hid' driver above, and uncomment these 2 lines if you are not using the
    #  vid=0x1391,did=0x2112 Lilliput multi-touch display
    driver = devi
    scaling = /etc/system/config/scaling.conf
    options = height=600,width=800

  end mtouch

end winmgr

******************************************************************************

В файле scaling.conf следующие записи


# Scaling based on calibration data
#1024x600:mode=calib,disp_x=[102:922:922:102],disp_y=[60:60:540:540],mtouch_x=[172:1108:1108:172],mtouch_y=[110:110:658:658]

#-800x600:mode=calib,disp_x=[100:700:700:100],disp_y=[50:50:550:550],mtouch_x=[172:1108:1108:172],mtouch_y=[110:110:658:658]

# Scaling based on physical dimensions
#1024x600:mode=dim,width_mm=154,height_mm=90,border_left_mm=5,border_right_mm=5,border_top_mm=5,border_bottom_mm=5
#-800x600:mode=dim,width_mm=210,height_mm=160,border_left_mm=5,border_right_mm=5,border_top_mm=5,border_bottom_mm=5

# Simple scaling to client resolution
#1024x600:mode=scale
800x600:mode=scale
# No scaling, report coordinates exactly as the driver hands them to the client
#1024x600:mode=direct

#800x600 NO scaling conf
800x600:mode=direct

# Same as above, except when the client resolution is 1280x768
#1280x768:mode=direct

# Scaling to a centered rectangle, this example was used with the quanta-hid driver on a 1920x1080
# touch screen running a VMware session at 1312x800
#1312x800:mode=rect,offset_x=304,offset_y=140 # VMware example, offset_x = (1920 / 2) - (1312 / 2), offset_y = (1080 / 2) - (800 / 2)


Но устройство по прежнему не откликается система же функционирует нормально, приложение функционирует но touch все также не работает. windows linux все отлично работает, то есть с самим устройством все нормально.
Буду рад помощи.
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  

Powered by MySQL Powered by PHP © 2002-2024 СВД Встраиваемые Системы.
При использовании материалов сайта ссылка на forum.kpda.ru обязательна.

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines | © Aiwan. Kolobok smiles | Sitemap
Valid XHTML 1.0! Valid CSS!
Сайт СВД ВС

В последний раз google посещал эту страницу 28 Март, 2024, 07:40:24