On Tue, Sep 06, 2016 at 10:44:31PM +1200, Eddie Stanley wrote: > SUMMARY: > Logitech Precision Gamepad shows axis activity upon connection > > DESCRIPTION: > When I connect my Logitech Precision Gamepad (or the machine starts up > with it connected) it exhibits activity on both axes until I press a > button/press the d-pad. > > eddie@codey:~$ cat /proc/version > Linux version 4.8.0-040800rc5-generic (kernel@tangerine) (gcc version > 6.2.0 20160830 (Ubuntu 6.2.0-2ubuntu11) ) #201609041832 SMP Sun Sep 4 > 22:34:01 UTC 2016 > > Output from jstest i.e. jstest /dev/input/js0 > > UPON PLUGGING USB CONNECTOR IN: > ================================= > Driver version is 2.1.0. > Joystick (Logitech Logitech(R) Precision(TM) Gamepad) has 2 axes (X, Y) > and 10 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, > PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4). > Testing ... (interrupt to exit) > Axes: 0:-32767 1:-32767 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off > 6:off 7:off 8:off 9:off > > AFTER PRESSING ANY BUTTON OR THE D-PAD: > ======================================= > Driver version is 2.1.0. > Joystick (Logitech Logitech(R) Precision(TM) Gamepad) has 2 axes (X, Y) > and 10 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, > PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4). > Testing ... (interrupt to exit) > Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off > 8:off 9:off > > EXPECTED BEHAVIOUR: > =================== > Both axes (0 & 1) should be "at rest" (i.e. 0, not +/- 32767) when the > gamepad is initially plugged in. > > Note - I'm not sure whether the d-pad should be classified as a pair of > axes or a pair of hats - it is a digital d-pad though, *not* analog. Can you send this to the linux-input@xxxxxxxxxxxxxxx mailing list? The developers there should be able to help you out a lot better than we can, as it seems that the USB-specific parts of the driver are working just fine. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html