input_register_device man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

INPUT_REGISTER_DEVIC(9)		Input Subsystem	       INPUT_REGISTER_DEVIC(9)

NAME
       input_register_device - register device with input core

SYNOPSIS
       int input_register_device(struct input_dev * dev);

ARGUMENTS
       dev
	   device to be registered

DESCRIPTION
       This function registers device with input core. The device must be
       allocated with input_allocate_device and all it's capabilities set up
       before registering. If function fails the device must be freed with
       input_free_device. Once device has been successfully registered it can
       be unregistered with input_unregister_device; input_free_device should
       not be called in this case.

       Note that this function is also used to register managed input devices
       (ones allocated with devm_input_allocate_device). Such managed input
       devices need not be explicitly unregistered or freed, their tear down
       is controlled by the devres infrastructure. It is also worth noting
       that tear down of managed input devices is internally a 2-step process:
       registered managed input device is first unregistered, but stays in
       memory and can still handle input_event calls (although events will not
       be delivered anywhere). The freeing of managed input device will happen
       later, when devres stack is unwound to the point where device
       allocation was made.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013	       INPUT_REGISTER_DEVIC(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net