[lm-sensors] [PATCH] lis3lv02d: provide means to disable polled input interface

Éric Piel eric.piel at tremplin-utc.net
Fri Apr 16 14:06:37 CEST 2010

On 16/04/10 13:41, Marcin Derlukiewicz wrote:
> sorry for the delay, had a crunch time
> here is the link for this lsof:
> https://bugzilla.novell.com/attachment.cgi?id=354953
So apparently, it's opened by mplayer. Indeed, by default mplayer always
opens the first joystick device, because some people like to  control a
movie with a joystick.

I don't think much can be done from the kernel point of view. Maybe
there are even people who enjoy controlling their movies by moving their
laptop! Here, my ~/.mplayer/config looks like:

You could also put a udev rule to change the name of this joystick to
something like js1.

All I could think of in the kernel side to improve this situation would
be to give more information about joystick devices, and define a subtype
"accelerometer", which mplayer could avoid selecting by default. I don't
know enough the input interface to know if this already exists...

See you,

More information about the lm-sensors mailing list