Skip to content
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

"Cannot Find Portal USB" on Linux with WiiU portals #6

Open
sinkillerj opened this issue Aug 17, 2015 · 12 comments
Open

"Cannot Find Portal USB" on Linux with WiiU portals #6

sinkillerj opened this issue Aug 17, 2015 · 12 comments

Comments

@sinkillerj
Copy link

I have tried both a Swap Force portal, as well as a Giants portal, both fail to be located with the error "Cannot Find Portal USB.". The output of lsusb for the Giants portal is "Bus 002 Device 003: ID 1430:0150 RedOctane wireless receiver for skylanders wii".

The program works fine for editing a existing dump file, but portal interactions fail.

@silicontrip
Copy link
Owner

Does the usb test program produce any output?
The device should show up as a HID.
I've only tested this with the original skylanders wii portal. I'll have to look into the code to see if we can get any debug out of it to see whats different.

@sinkillerj
Copy link
Author

The HIDAPI test tool GUI has it listed as: "1430:0150 - Activision Spyro Porta"

@silicontrip
Copy link
Owner

From the look of things everything should work, the vendor and device ID are correct. More debugging needs to be added to the code to investigate this further.

@sinkillerj
Copy link
Author

Do let me know if you need me to do anything on my end to help with this, and thanks for the amazing work you have done on this tool.

silicontrip pushed a commit that referenced this issue Aug 17, 2015
@silicontrip
Copy link
Owner

I've added limited debugging messages. It should say if it finds the portal but can't open it. Which is what I believe is happening. If this is the case however, libhid doesn't give any causes for why it cannot open the usb device. Let me know if this version produces different output.

@sinkillerj
Copy link
Author

You seam to be right on the money.
As a normal user: http://pastebin.com/0L8K9ZvL
As root: http://pastebin.com/dcEDu9mU

Now the only question is why its happening.

@silicontrip
Copy link
Owner

My first thought is permissions on the usb device. I'm not sure if there is a device under /dev for the usb. if there is, check it's permissions. looks like more debugging is needed to determine the cause of the write failures.

@bbussiere
Copy link

Hi,

I have the same issue, the HIDAPI test tool see the portal, but when I launch editor -l, I have :
Found portal usb device
Unable to write to Portal.
I used capull0 fork compiled on m64 bit, because your makefile isn't compatible with Linux.
I'm root and the /dev have all access.

Could you help me ?

Thanks in advance,

@silicontrip
Copy link
Owner

I recommend trying one of the linux forks. I tried to make the Makefile generic enough to work on any platform but I don't have a linux machine to test building it on.

@concept8192
Copy link

I have absolutely no idea how to get this to work. It keeps saying 'Cannot find portal USB'. I think it's because I don't know what the heck HIDAPI is. I have hidapi.dll in System32, but i don't know what to do from there. Please help. My portal is a Wii Swap Force portal.

@silicontrip
Copy link
Owner

Hi there, I'm a bit confused because this thread is about getting it to compile under Linux but you've mentioned .dll and System32 which are windows specific. I didn't even think the Makefile would compile under windows. You may need to provide more information about how you've built it. And consider starting a new issue.

@concept8192
Copy link

oh ok, sorry. I should've read the title all the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants