Bernd Mohr
|
io-graphics returns errno 5
|
Bernd Mohr
02/25/2013 4:00 AM
post99498
|
io-graphics returns errno 5
Hi all,
I am trying to set up a QNX system with a GUI. When I try to start up io-graphics during the boot process, I get the
following error message using sloginfo:
Feb 25 08:06:42 1 8 0 phfont.so: init...
Feb 25 08:06:46 1 8 0 phfont.so: initialized.
Feb 25 08:06:47 1 8 0 phfont.so: '/dev/phfont[<32|64>]' server installed.
Feb 25 08:06:47 6 8 0 devg-imx35: 2D HW accel: 1
Feb 25 08:06:48 2 8 0 io-graphics: gf_dev_attach('/dev/io-display/0000,0000,0'): gf errno 5
io-graphics: gf_dev_attach('/dev/io-display/0000,0000,0'): gf errno 5
The file does exist:
# ls -l /dev/io-display/
total 0
crw-rw---- 1 root display 0, 1 Feb 25 08:06 0000,0000,0
but no /dev/phfont* files exist
I have repeated this with DL_DEBUG set to 1, but there seems to be no useful information around the error message :
----8<-------8<------------------
debug: Looking up symbol fwrite
debug: Symbol fwrite bound to definition in libc.so.3
debug: Looking up symbol _Fwprep
debug: Symbol _Fwprep bound to definition in libc.so.3
debug: Looking up symbol write
debug: Symbol write bound to definition in libc.so.3
io-graphics: gf_dev_attach('/dev/io-display/0000,0000,0'): gf errno 5debug: Looking up symbol fputc
debug: Symbol fputc bound to definition in libc.so.3
debug: Looking up symbol vslogf
debug: Symbol vslogf bound to definition in libphrender.so.2
debug: Looking up symbol __stackavail
debug: Symbol __stackavail bound to definition in libc.so.3
debug: Looking up symbol vsnprintf
debug: Symbol vsnprintf bound to definition in libc.so.3
debug: Looking up symbol pthread_once
----8<-------8<------------------
I get errno 5 when I call io-graphics for the first time after reboot. If I call it a second (or more) times, I always
get
crw-rw---- 1 root display 0, 1 Feb 25 08:06 0000,0000,0
# io-graphics -vvv -c /etc/system/config/display.conf
io-graphics: gf_dev_attach('/dev/io-display/0000,0000,0'): gf errno 2
from now on. But /dev/io-display/0000,0000,0 is still there, with the access rights unchanged.
The way I try to start the GUI is:
io-display -c /etc/system/config/display.conf -v -dvid=0,did=0
waitfor /dev/io-display 10
Photon
waitfor /dev/photon
io-graphics -vvv -c /etc/system/config/display.conf
Any ideas?
Thanks
Bernd
|
|
|