The ATI External Events Daemon
is a user-level application that monitors various system events such as ACPI or hotplug, then notifies the driver via the X extensions interface that the event has occured.
prints out logging information to the
daemon facility unless
is specified. The daemon is shut down by sending a SIGTERM to the daemon process, for example, by
killall atieventsd. The various options are used to control daemon behaviour and are explained below.
-a SOCKET, --acpidsocket=SOCKET
socket located at
instead of at the default location
Output additional debugging information to the log.
Show a brief help message and exit.
-l FILE, --logfile=FILE
Output logging information to
FILE. This output is independent of syslog output thus logging to both
and this file is possible.
Run atieventsd in the foreground instead of running as a daemon.
Do not output log messages to
syslogd(8). Normally used in conjunction with
above to redirect the daemon logging information.
-s SOCKET, --socket=SOCKET
Create atieventsd socket at
instead of at
/var/run/atieventsd.socket. This socket is used by
to send specific events to atieventsd.
-x SCRIPT, --xauthscript=SCRIPT
Use X authorization script at
instead of at
/etc/ati/authatieventsd.sh. This script is used by atieventsd to be granted authorization access to the X server display. See the section below on the X authorization script for further details.
The daemon policies can be adjusted by
with the use of the
option to that command tool, where
can be one of the following values.
Enable monitoring of laptop lid open/close events.
Do not monitor of laptop lid open/close events.
X AUTHORIZATION SCRIPT
The X authorization script provides a distro-neutral way for the daemon to gain access to the necessary X server display in order to send it commands. The script is located at
unless overridden by the use of the
keyword above. The script takes three parameters:
The first parameter is either the keyword "grant" to grant access or "revoke" to revoke access.
The second parameter is the display number that the daemon is trying to get authorization for, e.g., ":0".
The third parameter is the name of the X authorization file that the daemon is using, as obtained from
XauFileName(3x). This file is where the authorization needs to be given. Note that this parameter only makes sense if
is being used. If another mechanism such as
is being used it can be ignored. If no form of authorization is being done, the script can simply return 0 and the daemon will assume that it is always authorized.
The return code from the script should be zero if authorization was successfully granted or revoked, and nonzero if an error occurred.