Peppermint OS

General => Hardware => Topic started by: kimbopeppermint on February 06, 2017, 10:22:54 pm

Title: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: kimbopeppermint on February 06, 2017, 10:22:54 pm
To my surprise, the Steam Controller does not work out of the box like it did for me in other Ubuntu based distros,

A valve employee details it on a post I found, but I believe in forums without links(sketchy or not, pasting the info is better)

"The controller is fully supported on Linux without needing a kernel driver, but Steam needs proper read-write access to the HID device nodes it exposes in order to program it. We are working with distributions to make sure the necessary access is provided out of the box, but this might not currently be the case depending on your distribution of choice. Here are the rules needed for proper use of the controller:"

There is a fix listed, but i'm not sure how to apply it, or if it will indeed make the home button, and big picture mode start working for me in peppermint 7, I figured it would be good to create a thread trying to resolve these steam controller hardware issues. 8)

I've never been so impressed with a Distro, lets try and Iron these problems out and maybe the fixes we find will be included in new releases of Peppermint, because as it stands. STEAM WITH A STEAM CONTROLLER IS BROKEN IN PEPPERMINT 7

<im just putting the fix and the whole thing the valve employee said in their thread, in case you wanna look thru it and verify if it will fix the problems>

Linux-specific notes and known issues

Rules updated; update necessary for compatibility with Steam builds newer than 11/22!

The controller is fully supported on Linux without needing a kernel driver, but Steam needs proper read-write access to the HID device nodes it exposes in order to program it. We are working with distributions to make sure the necessary access is provided out of the box, but this might not currently be the case depending on your distribution of choice. Here are the rules needed for proper use of the controller:

# This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"

# This rule is necessary for gamepad emulation; make sure you replace 'pgriffais' with a group that the user that runs Steam belongs to
KERNEL=="uinput", MODE="0660", GROUP="pgriffais", OPTIONS+="static_node=uinput"

# Valve HID devices over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"

# Valve HID devices over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"

# DualShock 4 over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"

# DualShock 4 wireless adapter over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"

# DualShock 4 Slim over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"

# DualShock 4 over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"

# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"

Please note: Make sure you don’t have older rules that are taking priority. If there are both /lib/udev/rules.d/99-steam-controller-perms.rules AND /etc/udev/rules.d/99-steam-controller-perms.rules, one of the two will take priority and the edits will be ignored. Check that you only have one before putting the content of the rules file in and fixing the group name.

Bootloader firmware updates

Regular firmware updates will go through regular USB hid reports and can be performed wired or wirelessly. We'll also sometimes be releasing infrequent bootloader updates; these updates are different and can only work when wired. When Steam asks you to plug in the controller to start the update, the controller will change from a HID device to a mass storage device with an identifier of 'CRP DISABLED'. Steam will then wait for that device to become mounted somewhere so that it can copy the firmware file into the controller. A lot of distributions don't auto-mount mass storage devices by default, meaning you'll most likely have to go click on the volume in your file manager of choice when Steam is waiting for the volume to get mounted, or mount it manually where Steam can write to it.
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: PCNetSpec on February 07, 2017, 05:21:04 am
Try this:
Code: [Select]
sudo apt-get install python3-autopilotthen:
Code: [Select]
sudo pluma /lib/udev/rules.d/99-steam-controller-perms.ruleswhen a BLANK file opens, make it read:-
Code: [Select]
# This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"

# This rule is necessary for gamepad emulation; make sure you replace 'pgriffais' with a group that the user that runs Steam belongs to
KERNEL=="uinput", MODE="0660", GROUP="pgriffais", OPTIONS+="static_node=uinput"

# Valve HID devices over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"

# Valve HID devices over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"

# DualShock 4 over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"

# DualShock 4 wireless adapter over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"

# DualShock 4 Slim over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"

# DualShock 4 over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"

# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"
SAVE the file, and REBOOT.

Now see if your Steam controller works.
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: scifidude79 on February 07, 2017, 06:44:38 am
Mine worked with no major issues, then it stopped working after a time.  I thought maybe it was due to me installing another controller using the generic joystick program, but it could have been a number of things.
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: AndyInMokum on February 07, 2017, 07:40:30 am
I haven't used my Steam controller in ages.  I didn't know there was a problem  :-[.  Sure enough, it didn't work.  I've run Mark's solution and low and behold.  It's sprung back into life - nice one  ;).
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: scifidude79 on February 07, 2017, 07:46:03 am
I haven't used my Steam controller in ages.  I didn't know there was a problem  :-[.  Sure enough, it didn't work.  I've run Mark's solution and low and behold.  It's sprung back into life - nice one  ;).

I think an update probably borked it.  I'd thought it was that other controller I installed, until I saw this thread.  I haven't tried it (yet) to see if it works but, knowing Mark, I'm sure it does.  :)
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: mac on February 07, 2017, 07:51:58 am
BTW, Welcome to the forum,  kimbopeppermint.   ;D

cheers
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: kimbopeppermint on February 07, 2017, 10:34:47 am
Thanks for the warm welcome guys, I left Linux Mint and Ubuntu for peppermint because I knew the forums and community was more active and helpful, but this is going above and beyond! I'll try the fix, thanks a lot guys <3 <3 :-*
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: kimbopeppermint on February 07, 2017, 11:14:27 am
Is "Mark" PcNetSpec? I got kinda lost when you said i tried Mark's fix
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: mac on February 07, 2017, 11:28:59 am
We've got a whole bunch of Marks around here but, yeah, PCNetSpec is one  of them.   Great guy, but don't tell him where you heard that!   ;)

cheers
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: PCNetSpec on February 07, 2017, 11:30:20 am
LOL .. I heard ya :)
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: kimbopeppermint on February 07, 2017, 12:49:31 pm
HEADS UP GUYS: check my thread in gaming on linux, Steam had a huge vulnerability, or should i say 3! All The While they did not notify any users that their accounts were at risk on this day. No email, no notification, nothing. Shameful really. Please check my post and follow the steps at the end, CHANGE YOUR PASSWORDS AND DEAUTH ALL DEVICES. THIS SHOULD NOT HAVE HAPPENED IN THE FIRST PLACE BUT THIS IS ALL WE CAN DO ABOUT IT!
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: kimbopeppermint on February 11, 2017, 05:11:00 pm
how would this fix work on other distros?

my idea is replace pluma with gedit?

sudo gedit /lib/udev/rules.d/99-steam-controller-perms.rules
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: AndyInMokum on February 11, 2017, 05:52:01 pm
how would this fix work on other distros?

my idea is replace pluma with gedit?

sudo gedit /lib/udev/rules.d/99-steam-controller-perms.rules

Sorry, I'm not understand this.  How is changing the text editor going to fix this in other distros  :-\?   We used to use Gedit.  We changed it to Pluma because the interface on the latest version of Gedit is hideous  >:(.
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: PCNetSpec on February 11, 2017, 06:09:49 pm
If you mean in other Ubuntu 16.04 based distros that have gedit instead of pluma as the text editor .. yeah.

If you mean in non Ubuntu based distros .. dunno.
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: kimbopeppermint on February 11, 2017, 07:23:21 pm
I'm strictly speaking of Ubuntu based, as I have another install which has hardware that Zorin OS supports that Peppermint OS doesn't so well, but the fix doesn't work on the Zorin OS machine. Any ideas? I think they are both based on 16.04 or 16.10
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: Slim.Fatz on February 12, 2017, 12:25:45 am
Hi kimbopeppermint,

I'm not trying to put you off, but wouldn't it be more reasonable to pose that question on the Zorin OS forum (http://zoringroup.com/forum/viewforum.php?f=3)? At least that is what I would do. For example, I would not ask how to fix something in CentOS on an Ubuntu or Solus forum.

Just sayin' ...

Regards,

-- Slim
Title: Re: Steam Controller lacking support in Peppermint? Not a statement, a question.
Post by: AndyInMokum on February 12, 2017, 01:09:39 am
I'm strictly speaking of Ubuntu based, as I have another install which has hardware that Zorin OS supports that Peppermint OS doesn't so well, but the fix doesn't work on the Zorin OS machine. Any ideas? I think they are both based on 16.04 or 16.10
Both Peppermint 7 and Zorin 12 are based on Ubuntu 16.04 and both are using the 4.4 kernel.  Which piece of hardware works with Zorin 12 and doesn't work with Peppermint 7?  It's discrepancies like this, that are good to know.  With this information, we can figure out why  ;).