Commit e36c6225 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Simon McVittie

Import Debian changes 215-17+steamos1

systemd (215-17+steamos1) brewmaster; urgency=medium

  * Merge SteamOS patches
    + sound-no-uaccess.patch
      - SteamOS uses a system wide pulseaudio instance, which should be the
        only daemon with access to the sound devices. As such disable uaccess
        for sound devices
    + pulse-owns-audio.patch
      - Change the sound device group from the default audio to pulse such that
        only the system-wide pulse daemon can access those devices
    + streamcontroller-support.patch
      - Allow access to the stream group for uinput device as used for stream
        controller support
parent 2a6ef968
systemd (215-17+steamos1) brewmaster; urgency=medium
* Merge SteamOS patches
+ sound-no-uaccess.patch
- SteamOS uses a system wide pulseaudio instance, which should be the
only daemon with access to the sound devices. As such disable uaccess
for sound devices
+ pulse-owns-audio.patch
- Change the sound device group from the default audio to pulse such that
only the system-wide pulse daemon can access those devices
+ streamcontroller-support.patch
- Allow access to the stream group for uinput device as used for stream
controller support
-- Sjoerd Simons <sjoerd.simons@collabora.co.uk> Tue, 02 Jun 2015 13:33:15 +0200
systemd (215-17) unstable; urgency=high
* cryptsetup: Implement offset and skip options. (Closes: #751707,
......
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -35,7 +35,7 @@
SUBSYSTEM=="drm", GROUP="video"
SUBSYSTEM=="dvb", GROUP="video"
-SUBSYSTEM=="sound", GROUP="audio", \
+SUBSYSTEM=="sound", GROUP="pulse", \
OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
......@@ -205,3 +205,8 @@ sysv-generator-add-support-for-etc-insserv-overrides.patch
syslog-Increase-max_dgram_qlen-by-pulling-in-systemd.patch
Skip-filesystem-check-if-already-done-by-the-initram.patch
cryptsetup-Implement-offset-and-skip-options.patch
## Steamos specific patches
sound-no-uaccess.patch
pulse-owns-audio.patch
streamcontroller-support.patch
--- a/src/login/70-uaccess.rules
+++ b/src/login/70-uaccess.rules
@@ -25,7 +25,7 @@
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", TAG+="uaccess"
# Sound devices
-SUBSYSTEM=="sound", TAG+="uaccess" \
+SUBSYSTEM=="sound", \
OPTIONS+="static_node=snd/timer", OPTIONS+="static_node=snd/seq"
# ffado is an userspace driver for firewire sound cards
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -83,4 +83,7 @@
KERNEL=="sgi_*", MODE="0666"
KERNEL=="z90crypt", MODE="0666"
+# Let the Steam controller and Steam streaming emulate input devices
+KERNEL=="uinput", MODE="0660", GROUP="steam", OPTIONS+="static_node=uinput"
+
LABEL="default_permissions_end"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment