-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WJoy loses connection right after connecting. #1
Comments
I'm facing the same problem. And tried disabling SIP, but this hasn't made any difference for me. This is with a 15" 2016 MBP. |
Same issue: Late 2014 iMac 5k; MacOS 10.12.2. Controller connects, I get the blue light for first controller, then immediately disconnects. I've tried two different Wii U Pro Controllers thus far. |
I'm also having this problem. The original WJoy was able to connect controllers and keep them connected, but this version won't. |
Hi, Same here, I am using El Capitan (10.12.2) on a MBPr 15" and same happens using a Wii U Pro. I have also tried disabling SIP with equal result and tried original WJoy which stops as soon I start it. Help appreciated ;-) |
The exception I'm seeing in
|
Tried this with an original Wii controller: it connects, but then immediatelly disconnects. OSX El Capitan 10.11.6.
By trying the red sync button, same happens, but
|
I also have this problem. My Wii U Pro Controller disconnects immediately after connecting. I have SIP enabled on my MacBook Pro (Retina, 15-inch, Mid 2015) running 10.11.6. |
I investigated getting the original WJoy working on Mac OS Sierra, since this looks to be a foohid issue. I successfully connected a Wii U Pro controller with two tweaks to the original code. I also backported the calibration fix. The kext is loaded:
and the device successfully connected in WJoy. The original project's kext needs a header changed and a constant reintroduced. Otherwise, it needs to be signed by a kernel extension signing certificate, which I do not have but I'm in the process of obtaining. It works correctly with SIP disabled ( --- a/WirtualJoy/wirtual_joy_device.cpp
+++ b/WirtualJoy/wirtual_joy_device.cpp
@@ -10,9 +10,10 @@
#include "wirtual_joy_device.h"
#include "wirtual_joy_debug.h"
-#include <IOKit/usb/IOUSBHIDDriver.h>
+#include <IOKit/usb/IOUSBHostHIDDevice.h>
#define super IOHIDDevice
+#define kMaxHIDReportSize 256
OSDefineMetaClassAndStructors(WirtualJoyDevice, super) I also removed Growl (it's obsolete). Currently, the original WJoy tries to load a kext with improper permissions — the kext must be copied by root into the right place (i.e., I need to spend a little more time packaging this fix, but I'll be sure to do it. I'll wait until my contact at Apple responds about the kernel extension signing certificate. You can view the fixed fork here: https://github.com/hiddenswitch/wjoy-foohid/tree/fixed-original |
@doctorpangloss hey, nice find. This fix still needs SIP disabled, right? |
@eestein until I get the kext signing certificate, yes. |
@doctorpangloss cool :) please post here once you have that, I'm pretty sure everyone here would love to use this fix :) thanks! |
@doctorpangloss If you manage to get a kext cert, please leave a comment here and upload the signed version to your repo so I can make a note that this project has been superseded by yours. A signed kext is a far better solution than relying on foohid. |
@doctorpangloss I built your branch in Xcode, but I still get "[IOBluetoothL2CAPChannel][listenAt] -- returning false because owner does not match new owner " And the wiimote disconnects right after vibrating. LEDs just go dark. |
Ok, I built the DMG, tried copying the kext, but it isn't signed. I don't know how to: "To compile, make sure to enable Automatic Signing for every project. Let XCode configure things for you." There were warnings in the left column that I thought were about signing things, and I choose all the "let xcode fix it" options. Can't find the "Automatically manage signing" settings in any of the projects. |
Hi! I have prove with SIP disabled and SIP enabled but the wiimote keep disconecting... is there any update about that issue or something? |
@aarcro @Lynx901 Don't worry about building anymore, just follow the instructions in my repository here: |
@JustinBis I didn't get the kext cert unfortunately so it's up to you whether or not to forward to my repo for issues. I appreciate your interest. I tested on a variety of macOS Sierra devices and could confirm everything is working otherwise. |
@doctorpangloss the problem is disabling SIP... it's nice that it's working, but forcing people to disable SIP is pain (the process) and dangerous. What is involved in getting the kext cert? |
@doctorpangloss I followed the instructions in the repo you gave me but I got this when I moved wjoy.kext to /Library/Extensions |
@Lynx901 can you try the following terminal command? sudo chmod -R +x /Library/Extensions/wjoy.kext
sudo kextload wjoy.kext and let me know what message you receive? |
@Lynx901 Okay I can confirm you definitely need to issue |
@doctorpangloss After changing the permissions of wjoy.kext this is what I got |
@Lynx901 okay I'm contacting an Apple employee again for a kext signing key :) |
@doctorpangloss same here... I got the same message as @Lynx901 Man, this thing has become a huge pain... @doctorpangloss do you know if registered apple developers can generate a valid kext key? I am one, if that would help I could generate it. Or is it some specific process? |
Same problem. MacBook Pro (Retina, 15 pouces, mi-2015) |
You just need to make owner:root and group:wheel for wjoy.kext. Use BatChmod. Then it will work. |
Where is the wjoy.kext file located? I tried the file /MacOS/WJoy in the contents of the app, but it didn't work. |
This solution worked for me: I followed the steps provided by @doctorpangloss and disabled SIP, but I still could not get wjoy working. My mouse would keep spinning the rainbow as I hovered over the Wjoy icon in the menu bar and when I typed my password, Wjoy stopped working again. After following the steps I did the following: Copy the wjoy file from /Applications/WJoy.app/Contents/Frameworks/WirtualJoy.framework/Versions/A/Resources/ to using the command: After that, delete the wjoy.kext from the /Applications/WJoy.app/Contents/Frameworks/WirtualJoy.framework/Versions/A/Resources/ folder The wjoy.kext stays in the /Library/Extensions folder Now start Wjoy again and it should work. |
I tried several methods mentioned on GitHub to make WJoy work with macOS 10.12 Sierra - however, none was successful. |
This fork that was referenced earlier works! https://github.com/hiddenswitch/wjoy-foohid/tree/fixed-original |
In fact, I downloaded this fork and installed it, but it didn't work for me. Could you share what you did in order to get it to work in macOS 10.12 (Sierra), please? |
Follow the readme AND make sure you delete all previous wjoy files in your system. This includes wjoy.kext in /Library/Extensions and other system files (Use an app like AppCleaner to do this). Then follow just follow the readme. Except, on step 2, use the command "sudo cp -r /Applications/WJoy.app/Contents/Frameworks/WirtualJoy.framework/Versions/A/Resources/wjoy.kext /Library/Extensions/wjoy.kext" and ignore the wjoy.kext in the folder. (Don't delete the wjoy.kext in the app contents.) This should work. |
I did like you said and it seems to work! Thanks a lot! I will report back if I encounter any issues! |
You're Welcome! |
This problem is also happening to me. IDK why it's happening. I'll
investigate and try some stuff. I'll post if I find anything.
|
Sorry I deleted my comment, because I got to resolve it right after encountering the issue. |
After having some kernel panics today (though unrelated to WJoy), I keep encountering the same issue again. WJoy starts and prompts for the user password and quits upon entering it. |
So someone made a pull request fixing the immediate disconnect, which was merged. Then someone else forked wjoy-foohid and made a new release with this fix and some others. I tested it with a Wii U Pro Controller on El Capitan with SIP enabled, and it worked! Could some of you try it to confirm? |
@Natrium729 thanks, this works on High Sierra too! Now finally WJoy is working with SIP enabled. 🎉 Edit: it's not working with multiple wiimotes : (
|
BUMP!! Hey guys, didn't want to necro an old thread or anything of the like; However, I've done everything required in order to actually get WJOY to start working. I did, in fact, find out that my controller won't even sync on MacOS High Sierra 10.13.2? I have bluetooth enabled, SIP disabled, and Autostart on WJOY enabled. I've already gotten past the password issue due to the amazing tutorial above (thanks!) but I'm still pretty new to having a mac and would love to get this Pro GamePad up and running ASAP. Any fixes in terms of it not connecting? WJOY gave me a toast message saying discovery complete but it seems like my controller hasn't even synced up for a second. Please help me out! |
@eddietheox95 @sampumon @Natrium729 I've restored the original WJoy to make it work with High Sierra, and tested on a brand new Mac. SIP must be disabled until I can sign. Note that foohid is no longer getting signed, so this is the only alternative. You can view it here: https://github.com/hiddenswitch/wjoy-foohid Download: http://go.hiddenswitch.com/wjoy |
This works well for Wiimotes on High Sierra but I can't get this working with an Afterglow Wii U Pro Controller. Do I need to do something different? |
@kevalp187 no, you're doing everything correctly. The driver doesn't have a profile for that device, and I'm not yet sure what to ask you for in order to add that additional profile information. Stay tuned. |
I’ll investigate the issues, sorry about that. |
i am having the problem where it quits when i enter the password, i have got wjoy to work on a mac already (mac mini, version 10.12.6, sip enabled) but i cant seem to get it to work atm. i have no idea what i did you make it work but it still works and i connected 2 wiiu pro controllers already and a wiimote i think. i am confused and dont know what to do to fix it. please help. thanks |
late 2011 macbook pro with 10.13.2 here (yes, i know, this shit's old) |
I had to take down the download because, as @filfat reported, there's an issue on 10.13.4 that causes recoverable but deeply troubling restarts. Apple's drones aren't going to give me a kext signing key, because they read things like people in reddit read them.
Reply:
|
will this still work if i enable SIP? if yes please let me know |
ok i got past the password thing... finally, but now it just disconnects. just not that the controller connects though..... |
have high Sierra 10.13.6 any solutions? |
BUMP! On High Sierra 10.13.6, I have tried all of the above solutions. |
Did you ever end up finding a way to get multiple Wiimotes to show up as their own dealio? For anyone else experiencing the ability to not even get it to sync once, follow IDPLAYER's post here. EDIT: Currently, THIS fork (which is active and everything) linked here works perfectly for 10.14.6: https://github.com/WiiController/WiiController/releases/tag/v0.11.0 Another functional alternative is this older fork of wjoy: For this one, put it into the Applications folder, then go into Terminal, and type in... sudo /Applications/WJoy.app/Contents/MacOS/WJoy ... gives it permissions to start off. (And also maybe delete the wjoy.kext you might have from a previous version in your Library extensions, then put in the one in the zip.) |
@JustinBis thanks for enabling issues here :)
Reading the project's description I understand it was created to circumvent apple's rootless option starting with El Capitan. But I'm having an issue that according to this one here alxn1#81 is related exactly to that. My Wii U Pro controller connects and disconnects right away.
Any ideas on this one?
Extra info:
The text was updated successfully, but these errors were encountered: