Open brandonros opened 4 years ago
[1;96mClass Name Type Spawn UC One Two Equal[0m
AppleT8030TypeCPhy AppleT8030TypeCPhy [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleARMIODevice usb-drd [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleT8030USBXHCI AppleT8030USBXHCI [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleUSB20XHCILightningPort usb-drd-port-hs [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
IOUSBHostDevice USB2.0 HUB [1;95m 0[0m [1;93m(iokit/common) not permitted [0m [1;94m [0m 0 0
AppleUSB20Hub AppleUSB20Hub [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleUSB20HubPort AppleUSB20HubPort [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleUSB20HubPort AppleUSB20HubPort [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleUSB20HubPort AppleUSB20HubPort [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
AppleUSB20HubPort AppleUSB20HubPort [1;95m 0[0m [1;93m(iokit/common) unsupported function [0m [1;94m [0m 0 0
IOUSBHostDevice canable gs_usb [1;95m 0[0m [1;93m(iokit/common) not permitted [0m [1;94m [0m 0 0
I think this means the functionality we need to do anything other than list the device is not supported/permitted but I'd be curious to hear your thoughts.
I'm doing some really unsupported/stupid stuff where I compiled libusb for Darwin in XCode for iPhoneOS. That works fine, but the hotplug / device resolution doesn't seem to detect devices (it returns nothing) as well as your code, which returns
The USB interface is obviously detected by the iPhoneOS kernel. Could you throw up a small snippet on how somebody might, say,
This would open a massive world in iOS/iPhoneOS development where USB device support isn't really documented but is actually secretly supported.