Saturday, April 27, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 9395  / 3 Years ago, thu, november 11, 2021, 7:53:27

I'm fairly new to ubuntu and I've started to search around everywhere and check everything!
Recently I saw these files at /dev/input/eventX, js0, mice, mouseX. By printing the output using "cat" I realized they are somehow responsible for mouse and keyboard input but the output had an strange character encoding (even for the keyboard).



My questions are,




  1. what are these files and how can I interpret the data of these files?

  2. Are there any other places that I can access the input/output of my Ubuntu machine?

  3. And are there any ebooks, manual or something similar that I can check the duty and structure of ubuntu system files? (i.e. to find the answer of such question)






Update



To make the data of the file more readable, I used hexdump:



sudo cat /dev/input/by-id/<nameofthemouse> | hexdump -C


[Source]


More From » input-devices

 Answers
0

/dev is system directory that contains all Hardware device related files. Check out this manual for Ubuntu Filesystem Tree Overview and this also.



enter image description here


[#34530] Friday, November 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inaterested

Total Points: 500
Total Questions: 104
Total Answers: 92

Location: Virgin Islands (U.S.)
Member since Fri, May 7, 2021
3 Years ago
inaterested questions
Fri, Aug 12, 22, 21:24, 2 Years ago
Wed, Apr 27, 22, 17:14, 2 Years ago
Tue, Oct 26, 21, 20:41, 3 Years ago
;