Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Writing video driver for QNX 6.6: (4 Items)
   
Writing video driver for QNX 6.6  
I'm new in writing video drivers for QNX 6.6, and any suggested tutorial how to do this will be very helpful.
I'm familiarized with:
a) Screen Graphics Subsystem Developer's Guide   
b) OpenWF Display Configuration Developer's Guide

Currently I've written my WFD.so driver with all functions implemented as stubs, set it as "wfd-dlls" in graphics.conf 
and after running Screen I received SIGSEGV error:
"Process 106518 (screen) terminated SIGSEGV code=1 fltno=11 ip=0804f538(/sbin/screen@main+0x50f) ref=0000045c".
My graphics.conf:

begin khronos
  begin egl display 1
  end egl display

  begin wfd device 1
    wfd-dlls = WFD.so
  end wfd devide
end khronos

begin winmgr
  begin globals
  end globals

  begin display hdmi
  end display

  begin class framebuffer
  end class

  begin mtouch
  end mtouch
end winmg

Thanks.
Re: Writing video driver for QNX 6.6  
Dear Lezhava,
    I'm new inQNX os and I wanna run screen on QNX6.5. I have read the below articles:
a) Screen Graphics Subsystem Developer's Guide   
b) OpenWF Display Configuration Developer's Guide
But I still have no idea how to write WFD driver. Would you please provide your WFD driver src as a sample to me? My 
email is wangwei_1720@126.com. Thank you very much!
Re: Writing video driver for QNX 6.6  
No, I can't provide you src. 
You can use this doc as reference on start:
https://www.khronos.org/registry/wf/specs/OpenWF_Display_1_0_Specification.pdf

Hope it helps. Good luck.
Re: Writing video driver for QNX 6.6  
OK, thank you very much!