xorg input driver for accelerometer

yogesh gole 27.yogeshgole at gmail.com
Fri Aug 13 06:09:35 PDT 2010


Thanks,  I am able to get accelerometer inputs using xf86-input-joystick
driver.

Regards
Yogesh

On Thu, Aug 12, 2010 at 6:08 AM, Peter Hutterer <peter.hutterer at who-t.net>wrote:

> On Wed, Aug 11, 2010 at 02:41:30PM +0200, Éric Piel wrote:
> > Op 11-08-10 12:29, yogesh gole schreef:
> > > Hi All,
> > >
> > > How does the XServer handle accelerometer events, is there any
> > > xorg-input-driver available for accelerometer support
> >
> > Hi,
> >
> > Normally the accelerometer drivers in Linux export the position as a
> > joystick. So, I haven't tried but I imagine the joystick driver would
> work.
> >
> > Which accelerometer (kernel driver) do you have?
> >
> > Does anyone know how to load the joystick driver on an already running
> > xserver? Maybe all which is needed is to add a matching fdi rule, and
> > then "plug in" the joystick (unloading and reloading the module)?
>
> yeah, drivers don't actually have a say in hotplugging, it's done by the X
> server only. so if the joystick driver works with an xorg.conf setting, it
> will also work with fdi/udev/xorg.conf.d.
>
> Cheers,
>   Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100813/aff6f824/attachment.htm>


More information about the xorg-devel mailing list