![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Start Photon server
Photon [-b color] [-D time] [-g] [-l command]
[-m timers] [-N name] [-n clients] [-q]
[-R time] [-r regions] [-s] [-t tiles]
[-U threshold] [-v]
Neutrino
The Photon server lets applications open regions from which Photon events may be emitted and collected. Specifying the number of clients, regions, and rectangles limits the resources available to the Photon server.
![]() |
This utility needs to have the setuid ("set user ID") bit set in its permissions. If you use mkefs, mketfs, or mkifs on a Windows host to include this utility in an image, use the perms attribute to specify its permissions explicitly, and the uid and gid attributes to set the ownership correctly. |
The Photon device is owned by and has the permissions associated with the user who invoked it.
To connect with a Photon device, a user must have read permission on the device. To emit events or to create a region, the user must also have write permission.
![]() |
The Photon Server registers the name of /dev/photon by default. If the PHOTON environment variable is defined, that name is be registered instead. |
Start the Photon server, configuring it for 5 clients that can open a maximum of 200 regions along with up to 1000 rectangles:
Photon -n 5 -r 200 -t 1000
![]() |
![]() |
![]() |
![]() |