<div>Thanks, I am able to get accelerometer inputs using xf86-input-joystick driver.</div><div><br></div><div>Regards</div><div>Yogesh</div><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 6:08 AM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Wed, Aug 11, 2010 at 02:41:30PM +0200, Éric Piel wrote:<br>
> Op 11-08-10 12:29, yogesh gole schreef:<br>
> > Hi All,<br>
> ><br>
> > How does the XServer handle accelerometer events, is there any<br>
> > xorg-input-driver available for accelerometer support<br>
><br>
> Hi,<br>
><br>
> Normally the accelerometer drivers in Linux export the position as a<br>
> joystick. So, I haven't tried but I imagine the joystick driver would work.<br>
><br>
> Which accelerometer (kernel driver) do you have?<br>
><br>
> Does anyone know how to load the joystick driver on an already running<br>
> xserver? Maybe all which is needed is to add a matching fdi rule, and<br>
> then "plug in" the joystick (unloading and reloading the module)?<br>
<br>
</div></div>yeah, drivers don't actually have a say in hotplugging, it's done by the X<br>
server only. so if the joystick driver works with an xorg.conf setting, it<br>
will also work with fdi/udev/xorg.conf.d.<br>
<br>
Cheers,<br>
<font color="#888888"> Peter<br>
</font></blockquote></div><br>