#include #include #include #include #define CM_FRONT_LIGHT_SET 241 main (int argc, char *argv[]) { int fd; fd = open ("/dev/ntx_io", O_RDWR); if (argc != 2) { printf ("Usage:\n%s {0-100}\n", argv[0]); exit (1); } return ioctl (fd, CM_FRONT_LIGHT_SET, atoi (argv[1])); }