Hello @furai, this message sounds like there is a missing udev rule and you need to confirm your regular user has access to the controller.
I don't see why it would lose it out of the sudden but I'll check.
To be honest it's the first time ever I dive into udev so I might be utterly wrong here but it seems that everything is in order.
Output of udevadm monitor run as root after plugging in controller:
KERNEL[27231.449722] add /devices/pci0000:00/0000:00:14.0/usb3/3-1 (usb)
KERNEL[27231.450179] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0 (usb)
KERNEL[27231.456138] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2 (sound)
KERNEL[27231.456211] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2/controlC2 (sound)
KERNEL[27231.456285] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2/pcmC2D0p (sound)
KERNEL[27231.456361] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2/pcmC2D0c (sound)
KERNEL[27231.456397] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1 (usb)
KERNEL[27231.456436] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2 (usb)
KERNEL[27231.456469] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3 (usb)
KERNEL[27231.457159] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021 (hid)
KERNEL[27231.458229] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/input/input51 (input)
KERNEL[27231.458298] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/input/input51/event20 (input)
KERNEL[27231.516495] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/input/input51/js0 (input)
KERNEL[27231.516560] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/usbmisc/hiddev2 (usbmisc)
KERNEL[27231.516670] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/hidraw/hidraw8 (hidraw)
UDEV [27232.595733] add /devices/pci0000:00/0000:00:14.0/usb3/3-1 (usb)
UDEV [27233.670854] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2 (usb)
UDEV [27233.672513] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0 (usb)
UDEV [27233.672853] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3 (usb)
UDEV [27233.673304] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2 (sound)
UDEV [27233.674360] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2/pcmC2D0c (sound)
UDEV [27233.674594] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2/pcmC2D0p (sound)
KERNEL[27233.674794] change /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2 (sound)
UDEV [27233.674982] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/usbmisc/hiddev2 (usbmisc)
UDEV [27233.675278] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1 (usb)
UDEV [27233.675341] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021 (hid)
UDEV [27233.675990] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/hidraw/hidraw8 (hidraw)
UDEV [27233.676748] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/input/input51 (input)
UDEV [27233.678094] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/input/input51/js0 (input)
UDEV [27233.679498] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2/controlC2 (sound)
UDEV [27233.680257] change /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card2 (sound)
UDEV [27233.818846] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:1532:1000.0021/input/input51/event20 (input)
Output of ls -alL usb-Razer_Razer_RAIJU_PM1647C01500699-if03-* in /dev/input/by-id folder:
crw-rw----+ 1 root input 13, 84 May 20 19:39 usb-Razer_Razer_RAIJU_PM1647C01500699-if03-event-joystick
crw-rw-r--+ 1 root input 13, 0 May 20 19:39 usb-Razer_Razer_RAIJU_PM1647C01500699-if03-joystick
I can cat those above with the same user I'm running Steam with and get output.
@furai you can check if your user added to "input" group:
$ id -Gn
If not you can add it to "input" group with this command, and re-login:
# adduser username input
Assuming your system use "libinput" to work with peripherals, you can check if controller was detected properly:
$ libinput-list-devices
$ xinput list
$ xinput list "id number"
Also, you can test if all controller buttons are function correctly:
$ xinput test "id number"
If everything is detected and tests are performed successfully, then my best guess is that libSDL should be updated to provide support for Razer controller. Majority of games uses this library and so do Steam Client.
@furai you can check if your user added to "input" group:
I'm not in that group and I believe I don't need to be. If it was an issue I wouldn't be able to use my keyboard or mouse and other Xbox 360 wireless controllers from windows.
xinput output indeed doesn't snow my gamepad in the list when connected, for xbox wireless controllers I'm using xboxdrv and it works but they don't show up in xinput list either.
Still the gamepad worked fine, maybe it broke when I updated from 16.04 to 17.04 but I don't see why.
Does Steam rely on xpad module? I had it blocked all the time but it was working in 16.04, I preferred xboxdrv over xpad because I couldn't easily define deadzones and some games were detecting the controller wrong anyway.
EDIT:
Enabled XPAD again, xbox controllers worked out of box with Steam but Razer Raiju still failed.
https://github.com/ValveSoftware/steam-for-linux/issues/4689#issuecomment-275863398 << saving for reference to check this out.
Ok, I came back to this issue after a while. Still can't make it work. I've tried suggested adding myself to input group and so on, didn't help.
Ok, I've fixed it now by adding
# Razer Raiju
KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0666"
to the /lib/udev/rules.d/99-steam-controller-perms.rules
Aren't all those permissions in this file kind of "wide" in general?
Uh, I've run into same issue again after reinstalling the OS. Glad I've started this issue in the past as I couldn't remember what I did to fix it the first time around. :)
Probably worth noting the udev line got added to https://github.com/ValveSoftware/steam-devices/blob/8a2ec49f774432ba559f592bbe81633a7acdeac4/steam_input.rules#L37-L38.
Good to know, thanks. It was done 19 days ago, right? Hmmm, so next clean installation of Steam will cover that? Or is it also updated on steam client updates?
The steam-devices package will need to be updated to point to that repo (or a derivative). Since adding or changing udev rules requires root access, this will not be in a regular steam update.
Hey, so I'm having again issues with my controller. It is shown in steam dev console that the local device is found. It doesn't say that it failed to open it so the udev rules must be working. But steam doesn't detect it. In the controller settings it says that no controller was found. Any idea what could be causing this?
EDIT: Controller works without problems in games. Played The Witcher 3 a bit yesterday.
Same issue here, controller is correctly recognized in native games, but not in steam.
Again same issue with controller not being detected, games don't recognise it either this time around and I have no idea where to start debugging it.
Ubuntu 19.10, kernel 5.4.11
I'm experiencing the same issues for a Raiju Tournament edition, it doesn't matter whether it uses Bluetooth or USB.
Steam detects the controller as an xbox controller for me but it doesn't work in games. I have a Razer Raiju Tournament Edition controller.
I found a solution to my problem: I added a line to /usr/lib/udev/rules.d/60-steam-input.rules:
KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1007", MODE="0660", TAG+="uaccess"
@dsuserds i have the same controller and steam detects it as a ps4 controller (i can use it for navigate through steam, for instance) but didn't understand how to solve the problem. could you explain it for a total noob, please ? i've just switched to pop_os and i'm still learning. thanks in advance!
Razer Raiju Mobile and Razer Raiju Ultimate don't work for me on Steam/Manjaro.
I made a compatibility table for some controllers that I have tested on different modes.
| Controller | PS3 | PS4 | PC | Bluetooth |
|---|---|---|---|---|
| Razer Raiju Mobile | yes (wired) | no | ||
| Razer Raiju Ultimate | no (wired) | no | ||
| Razer Panthera | yes | yes | ||
| Nacon Daija | yes | no | yes | |
| PS3 controller | yes | (death battery) |
All controllers are detected and tested correctly on all modes by KDE's Game Controller settings.
Except for Razer Raiju Mobile - on Bluetooth is detected as 2 controllers with no input response:
All controllers in all modes work correctly on Steam/Windows.
Razer Raiju Mobile still not functionning
System information
Ubuntu 17.04 (64 bit)
Kernel Name: Linux
Kernel Version: 4.10.0-21-generic
X Server Vendor: The X.Org Foundation
X Server Release: 11903000
X Window Manager: GNOME Shell
Steam Runtime Version: steam-runtime-beta-release_2016-12-05
Description:
When connecting Razer Raiju to Steam it's not being detected. The console spews out this error over and over again:
Also when it did actually work in previous versions, the touchpad was never really supported. I'd like to work with you on getting better support for this device.