← Back to team overview

touch-packages team mailing list archive

[Bug 1498655] Re: Steam Controller support: need read-write access to Valve-owned input event device nodes.

 

I believe the second line of the rule Marc attached might be obsolete;
either way, it isn't relevant to the scope of this issue.

Attached a dump of the udev database with both a wired controller and a
wireless receiver for the controller connected.

I'm a little nervous about creating a rule based on device class,
because the controller/receiver has generic HID endpoints that are used
to program it. I don't believe these will match any particular device
class. In addition, the controller's firmware will be updated on the fly
by the Steam client, which might change the endpoint count and types in
the future.

However product IDs might be a good fit; here are the four PIDs that the
current model of controllers will report during everyday use:

	D0G_PID                   = 0x1102,
	D0GGLE_PID                = 0x1142,
	D0G_BOOTLOADER_PID        = 0x1002,
	D0GGLE_BOOTLOADER_PID     = 0x1042,

That being said, there aren't any other USB devices reporting a Valve
Corp. USB vendor ID of 0x28DE in the wild right now, but there will be
soon when eg. the controllers for the HTC Vive VR headset ship out to
the world, so a rule matching any Valve-owned device would be more
future-proof.

** Attachment added: "udev.txt"
   https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1498655/+attachment/4474540/+files/udev.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1498655

Title:
  Steam Controller support: need read-write access to Valve-owned input
  event device nodes.

Status in steam package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  The Steam Controller is about to roll out; for the Steam Controller to
  be supported properly by the Steam Client, it needs to be able to read
  and write to HID device nodes that have the Valve USB vendor ID. In
  our own Steam package 'steam-launcher' [1], this is achieved by a udev
  rule [2] matching our vendor ID. There doesn't seem to be such a udev
  rule in the Ubuntu-provided package, meaning Ubuntu users will not be
  able to use the Steam Controller out of the box.

  [1] http://repo.steampowered.com/steam/pool/steam/s/steam/
  [2] ./lib/udev/rules.d/99-steam-controller-perms.rules

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