LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux stable kernel (kernel.org) files name which hadle keyborad module (https://www.linuxquestions.org/questions/linux-newbie-8/linux-stable-kernel-kernel-org-files-name-which-hadle-keyborad-module-4175612026/)

hammadbw 08-15-2017 07:40 PM

linux stable kernel (kernel.org) files name which hadle keyborad module
 
Sir plz give the answer quickly.I want to know the name of file or files which handle our keybord modules in linux stable kernel which is downloaded from (kernel.org).
There are many keyboard modules i want to know only any one keyboard module files name which handle it

AwesomeMachine 08-15-2017 07:56 PM

Hi hammadbw,

Welcome to LQ!

Did you want me to just take a guess? It would be impossible for anyone to answer your question correctly given only the information in your post. But I would guess: usb_hid.

hammadbw 08-15-2017 08:03 PM

Sir its my assignment to find the files name which handle keyboard module.. but at that time linux not install my system it urgent require if u help me.

Sir you have linux can u chek the files name after install linux stable kernel(www.kernel.org) which handle our any keyboard modules plz helppp

jefro 08-15-2017 08:11 PM

In here. I find that some devices tend to show up in more than one place. https://git.kernel.org/pub/scm/linux...ree/?h=v4.12.7


https://git.kernel.org/pub/scm/linux...oard?h=v4.12.7

hammadbw 08-15-2017 08:23 PM

Sir plz give the all files in kernel you have access on these file and i have no access...Then with this files i guess which one ishandle keyboard module

rtmistler 08-16-2017 07:10 AM

Quote:

Originally Posted by hammadbw (Post 5748717)
Sir its my assignment to find the files name which handle keyboard module.. but at that time linux not install my system it urgent require if u help me.

Sir you have linux can u chek the files name after install linux stable kernel(www.kernel.org) which handle our any keyboard modules plz helppp

Recommend you check with your instructor. While we are willing to help with homework, it seems very clear that you are in a situation where you do not have the proper understanding to even communicate your problem. Asking others to provide a full answer to your very unclear, and also open-ended question is not the correct choice here. You, yourself can download the kernel source, especially since you have noted the kernel.org site, and perform a search for the word "keyboard". From there you can discern sub-directories where the drivers are located, you can learn where the kernel loads a driver for that input device, and you can learn what exact files are relevant.

Further, this is either a very introductory class or an advanced class.

If it is introductory, then your instructor likely has given obvious hints from references provided, or literally mentioned these details in class, but also more likely is that they are looking for a general answer, such as the sub-directory under the drivers portion of the source which likely deals with the keyboard. And given all that, they will be forgiving, if you just put forth some sort of attempt for them.

If it is an advanced class. You seem to have demonstrated a reluctance with reading code, but a knowledge of where the code is located at. Perhaps you should not be taking an advanced class if you are unwilling to put forth more effort.

AwesomeMachine 08-16-2017 08:31 AM

Do you have a working Linux system? If so, type:
Code:

$ locate keyboard | grep '\/lib\/modules'


All times are GMT -5. The time now is 12:48 PM.