Mark, I had the same error messages, they are generated because there
are two id's that match joystick's name. I don't know which one of the
two is actually for controlling the joystick events, so I set properties
for both. The errors are for second id.

If you are bothered with the messages, you could change xinput set lines to:
    xinput set-prop $id "Generate Mouse Events" 0 2>/dev/null
    xinput set-prop $id "Generate Key Events" 0 2>/dev/null
(it maybe needs to be 1>/dev/null, I'm not sure)

And, to be free of mouse acrobatics, go to keyboard
preferences/shortcuts/custom shortcuts and create keyboard shortcut for
activating your script (for example, ctrl+alt+j should be free for use).
This way, you'll never see any output, not even the error messages...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-input-evdev in Ubuntu.
https://bugs.launchpad.net/bugs/418470

Title:
  USB Gamepad detected as mouse (Speedlink 360 style)

Status in “xserver-xorg-input-evdev” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: xserver-xorg-input-evdev

  Hi !

  My USB gamepad is controlling both the mouse pointer AND the joystick
  (in rrootage for instance) at the same time.

  To get it running at all I had to :

  - install xserver-xorg-input-joystick
  - copy acrux-usb-gamepad-8116.fdi to /etc/hal/fdi/policy (provided here : 
https://help.ubuntu.com/community/Joystick_lshal_outputs_done )
  - unplug and replug the joystick after the X server is loaded

  Those three steps are apparently mandatory otherwise nothing works.
  (the stick LED doesn't remain lit otherwise)

  Actually it raises several issues !
  1. the need for the the aforementioned steps
  2. the need to unplug / replug
  3. the fact that evdev seems to lock the controller and assign it as if it 
were a mouse

  Thanks a lot for reading this, 
  cheers !

  Attached : lshal output, where the gamepad does seem to be detected
  properly.

  Setup : Ubuntu 9.04, AMD64

  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: xserver-xorg-input-evdev 1:2.1.1-1ubuntu4
  ProcEnviron:
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcVersion: Linux version 2.6.28-15-generic (buildd@yellow) (gcc version 
4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009
  SourcePackage: xserver-xorg-input-evdev
  Uname: Linux 2.6.28-15-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/418470/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to