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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
