SkyReader icon indicating copy to clipboard operation
SkyReader copied to clipboard

"Cannot Find Portal USB" on Linux with WiiU portals

Open sinkillerj opened this issue 9 years ago • 12 comments

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.

sinkillerj avatar Aug 17 '15 04:08 sinkillerj

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.

silicontrip avatar Aug 17 '15 04:08 silicontrip

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

sinkillerj avatar Aug 17 '15 05:08 sinkillerj

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.

silicontrip avatar Aug 17 '15 06:08 silicontrip

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.

sinkillerj avatar Aug 17 '15 06:08 sinkillerj

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.

silicontrip avatar Aug 17 '15 22:08 silicontrip

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.

sinkillerj avatar Aug 17 '15 22:08 sinkillerj

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.

silicontrip avatar Aug 20 '15 10:08 silicontrip

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,

bbussiere avatar Nov 20 '16 08:11 bbussiere

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.

silicontrip avatar Nov 21 '16 23:11 silicontrip

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.

concept8192 avatar Jul 20 '17 23:07 concept8192

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.

silicontrip avatar Jul 21 '17 02:07 silicontrip

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

concept8192 avatar Jul 21 '17 12:07 concept8192