silicontrip / SkyReader

A Skylander portal reader/editor/writer for OSX.
87 stars 55 forks source link

Build Instructions for Linux #3

Closed neilagabriel closed 9 years ago

neilagabriel commented 9 years ago

Any build instructions for linux (Ubuntu)? My build fails on some IOKit #includes which seem to be part of an apple/xcode project.

silicontrip commented 9 years ago

Try one of the linux forks. https://github.com/reedstrm/SkyReader/

neilagabriel commented 9 years ago

Thank you! I was able to build that project without issue. 'editor -p -D' fails with 'Unable to get USB Device List' . I'll investigate that a bit and open a new issue if I can't figure it out.

neilagabriel commented 9 years ago

Looks like hid_enumerate is failing. It's not finding any HID devices. The part I don't understand is that according to lsusb, both portals I've tried indicate bDeviceClass=255 (Vendor Specific Class) not 3 (HID Class). They may very well be HID devices but why don't they enumerate that way?

neilagabriel commented 9 years ago

Case in point, I plugged in a USB mouse and ran the hidtest provided by the hidapi package and it was recognized. Still doesn't see my portals though.

josefwells commented 9 years ago

I have a wii usb portal and linux. I debugged a bit, while it does see the device, it ends up being unable to write to the portal (which is required to "Restart") the portal.