Button Driver

Mughilan Ramajayam mughirp at yahoo.com
Sun Mar 11 23:21:49 PDT 2007


Hi,

Thank you. But its a i2c device and not the serial one. I browsed through the driver section and found that all input drivers are for serial devices. i2c is implemented on video drivers, but I find it difficult to relate it with my requirement. A skeletion driver or a suggestion on how to kick start would be helpful.

Thanks,
Mughilan

Daniel Stone <daniel at fooishbar.org> wrote: On Wed, Mar 07, 2007 at 09:18:05PM -0800, Mughilan Ramajayam wrote:
> The kernel module as well the test application is done. 
> 
> But how to make this device communicate to Xserver and therefore to Xclient.
> 
> For example, the touch panel (char driver / node ttyS1 / MAJOR 4) communicates via xorg's xf86-input-dmc driver.
> Similarly, how do I make the push buttons (char driver / node button / MAJOR 211) communicate to the Xserver ?

Make them a standard input device, which sends keyboard events through
the input layer.  You won't have to write your own X driver, and
everything will be a lot better.


 
---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070311/cf88671d/attachment.html>


More information about the xorg mailing list