Re: ioctl to keyboard device file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>       I want to add a new ioctl to keyboard driver device file which will 
> perform the work of copying user space data  sent to it into kernel 
> space and send those characters  to handle_scancode function of keyboard 
> driver.. Now I want to know
> 
> 1) what is the device file corresponding to keyboard (is it 
> /dev/input/keyboard).
> 2) where file operations structure is defined for that.
> 3) where the those ioctls handled(not found in keyboard.c).
> 
> Any small help is appreciated.

why not using uinput for this job?

Regards

Marcel


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux