JeVois  1.18
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
jevois-restore-console.C File Reference
#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>
Include dependency graph for jevois-restore-console.C:

Go to the source code of this file.

Functions

int main (int JEVOIS_UNUSED_PARAM(argc), char const *JEVOIS_UNUSED_PARAM(argv[]))
 Restore console operation after a violent crash of jevoispro-daemon. More...
 

Function Documentation

◆ main()

int main ( int   JEVOIS_UNUSED_PARAMargc,
char const *  JEVOIS_UNUSED_PARAMargv[] 
)

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().