JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Util/Console.H>
#include <jevois/Debug/Log.H>
#include <linux/input.h>
#include <linux/kd.h>
#include <linux/keyboard.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <cctype>
Go to the source code of this file.
Functions | |
int | main (int, char const **) |
Restore console operation after a violent crash of jevoispro-daemon. | |
int main | ( | int | , |
char const ** | |||
) |
Restore console operation after a violent crash of jevoispro-daemon.
This utility is useful when debugging jevoispro-daemon on JeVois-Pro platform, as it mutes the keyboard and console framebuffer for direct access to the framebuffer device and keyboard/mouse/etc.
Definition at line 32 of file jevois-restore-console.C.
References jevois::getActiveTTY(), jevois::getConsoleFd(), jevois::logEnd(), jevois::logLevel, and jevois::unMuteKeyboard().