[Bug 1176565] [NEW] Joystick event device permissions wrong

Ville Ranki ville.ranki at iki.fi
Sun May 5 15:36:19 UTC 2013


Public bug reported:

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.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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