From: Roderick Colenbrander <roderick.colenbrander@xxxxxxxx> Set the INPUT_PROP_JOYDEV_IGNORE flag for the motion sensor device, so it won't get picked up by joydev. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@xxxxxxxx> --- drivers/hid/hid-udraw-ps3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-udraw-ps3.c b/drivers/hid/hid-udraw-ps3.c index 88ea390..7ea4066 100644 --- a/drivers/hid/hid-udraw-ps3.c +++ b/drivers/hid/hid-udraw-ps3.c @@ -379,6 +379,7 @@ static bool udraw_setup_accel(struct udraw *udraw, input_set_abs_params(input_dev, ABS_Z, -512, 512, 0, 0); set_bit(INPUT_PROP_ACCELEROMETER, input_dev->propbit); + set_bit(INPUT_PROP_JOYDEV_IGNORE, input_dev->propbit); udraw->accel_input_dev = input_dev; -- 2.9.4 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html