Forum Topic - Phwindows on embedded device with QNX 6.3.2: (7 Items)
   
Phwindows on embedded device with QNX 6.3.2  
Hi,

is it possible to connect to an embedded device with Phindows? The hardware is similar to the ATMEL-AT91SAM9263-EK. But 
the display does not work yet. The target runs with QNX 6.3.2.

I've found a little tutorial for QNX 6.5.0. Can I use this for QNX 6.3.2 too?

Thanks for your help.

Best regards
Stephen
RE: Phwindows on embedded device with QNX 6.3.2  
Give it a whirl, it should be exactly the same or similar.  If you have
any problems with it, post back here.  But basically, you need Photon
environment on the target, and I *think* you need inetd running and an
entry in inetd.conf (as well as a TCPIP/internet connection active).

-----Original Message-----
From: Stephen Sheldon [mailto:community-noreply@qnx.com] 
Sent: November 30, 2010 4:34 AM
To: photon-graphics
Subject: Phwindows on embedded device with QNX 6.3.2

Hi,

is it possible to connect to an embedded device with Phindows? The
hardware is similar to the ATMEL-AT91SAM9263-EK. But the display does
not work yet. The target runs with QNX 6.3.2.

I've found a little tutorial for QNX 6.5.0. Can I use this for QNX 6.3.2
too?

Thanks for your help.

Best regards
Stephen



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post76400
Re: RE: Phwindows on embedded device with QNX 6.3.2  
Yes, you do need to have 'inetd' running and /etc/inetd.conf configured appropriately. Remember you also need 'phrelay' 
on the target for the actual communication between you phindows host and the target Photon server.

- Thomas
Re: RE: Phwindows on embedded device with QNX 6.3.2  
Hi,

thanks for your reply!

I stick with the documentation for 6.5.0. Phindows connects to the target and I get the a login screen (see attachment).
 On this login screen I can not see what I write into the text-widgets. When I press the two buttons Phindows closes.
sloginfo prints this message multiple times: 
"Jan 01 00:08:25    1     8     0 FontDesc is NULL."


Stephen
Attachment: Image Phindows-Login.JPG 25.43 KB
RE: RE: Phwindows on embedded device with QNX 6.3.2  
Is Photon already running on the target, or is this starting a new
instance of Photon?

It is like the $PHOTON_PATH is not being set, or the font server is not
running.

Maybe you can run the font server on the target, something like this:

phfont -d /usr/photon/font_repository -X &

The -X tells it not to exit when there are no clients.

-----Original Message-----
From: Stephen Sheldon [mailto:community-noreply@qnx.com] 
Sent: November 30, 2010 9:57 AM
To: photon-graphics
Subject: Re: RE: Phwindows on embedded device with QNX 6.3.2

Hi,

thanks for your reply!

I stick with the documentation for 6.5.0. Phindows connects to the
target and I get the a login screen (see attachment). On this login
screen I can not see what I write into the text-widgets. When I press
the two buttons Phindows closes.
sloginfo prints this message multiple times: 
"Jan 01 00:08:25    1     8     0 FontDesc is NULL."


Stephen



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post76439
Re: RE: RE: Phwindows on embedded device with QNX 6.3.2  
We have found the problem. Some fonts were still missing and some files of the font_repository were transfered by FTP in
 ASCII mode instead of binary mode. This has damaged the files. 

Thanks for you help!

Best regards,
Stephen 
Re: Phwindows on embedded device with QNX 6.3.2  
Great!