[Bug 1176565] Re: Joystick event device permissions wrong

Pablo San Martín san_wablo at hotmail.com
Sat Jun 28 08:02:06 UTC 2014


Similar problem here.

I had been using a PlayStation gamepad on PCSX for a while on Ubuntu
14.04, but realized it stopped working by the end of May.

The controller is detected by lsusb on Terminal, but it does not appear
in PCSX or jstest-gtk.

The udev output when I connect the device is attached in the text
file.?field.comment=Similar problem here.

I had been using a PlayStation gamepad on PCSX for a while on Ubuntu
14.04, but realized it stopped working by the end of May.

The controller is detected by lsusb on Terminal, but it does not appear
in PCSX or jstest-gtk.

The udev output when I connect the device is attached in the text file.

** Attachment added: "udev debug output"
   https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1176565/+attachment/4141154/+files/udev%20debug%20output

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1176565

Title:
  Joystick event device permissions wrong

Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  I have 2 joystick devices: CH Fighterstick and CH Pro Pedals.

  lsinput says:

  /dev/input/event6
     bustype : BUS_USB
     vendor  : 0x68e
     product : 0xf3
     version : 256
     name    : "CH PRODUCTS CH FIGHTERSTICK USB "
     phys    : "usb-0000:00:14.0-3.3/input0"
     uniq    : ""
     bits ev : EV_SYN EV_KEY EV_ABS EV_MSC

  /dev/input/event5
     bustype : BUS_USB
     vendor  : 0x68e
     product : 0xf2
     version : 256
     name    : "CH PRODUCTS CH PRO PEDALS USB "
     phys    : "usb-0000:00:14.0-3.2/input0"
     uniq    : ""
     bits ev : EV_SYN EV_ABS

  ..but the permissions for the device files are:

  crw-r-----  1 root root 13, 69 May  5 14:04 event5
  crw-rw----+ 1 root root 13, 70 May  5 14:04 event6

  ..resulting in that only fighterstick is readable for applications using the event device (X-Plane flight
  simulator for example).

  I know these permissions can be changed by creating a udev rule, but
  it is just a workaround for this issue. Joysticks should be available
  by default. Why are the permissions different in the first place?

  See:
  http://developer.x-plane.com/2012/09/linux-joystick-permissions/

  Bugs #31363 and #33354 may be related.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1176565/+subscriptions



More information about the foundations-bugs mailing list