To: debian-user@lists.debian.org Subject: Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal From: "Susmita/Rajib" <bkpsusmi...@gmail.com> Date: Tue, 25 Apr 2023 10:30:04 +0530 Message-id: <[🔎] caeg4czwpbfh7efbcz5k+uxykervd4cmnr4tuw9z_znovj_t...@mail.gmail.com> In-reply-to: <caeg4czxrmkxshzhjuf3fd17n-wckdofvhynpwr_namp0cqg...@mail.gmail.com> References: <[🔎] CAEG4cZXDPaY3hkjYTf=fnm7byybfztmab-mo8rkvh-_vkpm...@mail.gmail.com> <caeg4czuvpwdbckf0xmr3fzr28fhewsnycucxhab+xpdinmz...@mail.gmail.com> <caeg4czxrmkxshzhjuf3fd17n-wckdofvhynpwr_namp0cqg...@mail.gmail.com>
My dear illustrious leaders and senior members of this mailing list, Please Ignore my earlier post on evemu at https://lists.debian.org/debian-user/2023/04/msg01018.html, as the input events can be accessed from the terminals without the implementation of evemu, The ideal candidates would be kernel event handlers, like mouse and keyboard event handlers, which are illustrated in the file: https://www.kernel.org/doc/Documentation/input/input.txt I would like the latest edition of the said document: whether a commensurate version exists, such as https://kernel-team.pages.debian.net/kernel-handbook/. BUT mainly how could I access the input events from the terminal? For example, in the case of my laptop, my usb mouse is reported by invoking as root, $cat /dev/input/mouse1 and the laptop keyboard, as root by $cat /dev/input/event0. What remains to be accomplished is the event when a USB device is inserted into the USB ports. After the "USB insertion" is sorted out, I will seek support for the next course of action. Best wishes