Tool/software: Linux
Hi,
My customer uses AM5728 with WEC7 OS at present. And they are planning to use new Sitara processor with Linux OS in next generation system.
So customer does not have any experiences for Linux.
Customer have special keyboard for own system. So customer would like to make USB keyboad driver of Linux. So they would like to know the processing of the input from USB keyboard.
The below is the processing of input from USB keyboard in Windows.
1) The input information from keyboard is received temporary by Windows OS.
2) Windows OS judges that the recieved data should be sent to which application. And the message structure is made from the recieved data, the MSG structure is stored in message queue of each application.
3) In each application, the processing called "message roop" is running.
4) "message roop" retrieves MSG structure one by one from own message queue. And analyze the data, then call event handler. Also "message roop" generate character code for pushed key.
Note:
Message --- the information included in "scan code", "virtual key code", and "key stroke".
I attached a picture for this explanation. Please see it.
How about Linux OS? Does Linux execute same processing as Windows OS?
Please advise me.
I appreicate your quick reply.
Best regards,
Michi