Ivan Ivanivich
unread,Apr 9, 2014, 6:09:08 AM4/9/14You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
hi all, I have some task:
I want to write a kernel module that can work with any usb keyboard, my first task is to write a kernel module that can make pr_info("hello world"), when I connect the keyboard and can make pr_info("bye-bye"), when I unplug the keyboard. Module should do it for any usb keyboard, but should not do it for any other usb devices.
I do not want you to write for me this module, just advise me manuals about how to connect usb device in the kernel, how the kernel generates udev events, and if not difficult: what minimum set of structures and functions I need to use.
thank you very much.
p.s. sorry for my english