Hi , Hope the below link is of some help to you . http://www.linuxjournal.com/article.php?sid=1080 Have a nice time . Regards ! --- Fabien Carrion <fabien@linux.utc.fr> wrote: > Hello, > > I want to undestand the keyboard driver for pc. > > I saw that there is two files : > pc_keyb.c keyboard.c > > The first is specific to the architecture, pc, and > the second is general. > > The keyboard use the IRQ 1, KEYBOARD_BH. > > In pc_keyb.c, the kernel request the IRQ, and > executes the function > keyboard_interrupt when this IRQ appends. > keyboard_interrupt locks the irq > and execute handle_kbd_event, which read the > scancode with kbd_read_input > and execute handle_keyboard_event. > > In keyboard.c, the kernel create a task kbd_bh, but > I don't understand > what does this task... > > So I didn't undestand a lot with the reading of the > code. I want to know > how the driver give the keyboard code to the user > sapce and when. > > Can somebody give me a help, or a web page address ? > > Thanks in advance > > -- > Fabien Carrion > > () Campagne du ruban ASCII -- Contre les mails en > html > /\ contre les pieces-jointes Microsoft > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: > http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/