SonicCloudOrg / sonic-ios-bridge

🎉Bridge of iOS Devices by usbmuxd. 基于usbmuxd的iOS调试工具。
https://soniccloudorg.github.io/sib/re-sib.html
GNU Affero General Public License v3.0
1.06k stars 240 forks source link

feat: add USB and dev mode commands #69

Closed sam80180 closed 1 year ago

sam80180 commented 1 year ago

Whether this PR is eventually merged or not, Sonic will thank you very much for your contribution.

无论此PR最终是否合并,Sonic组织都非常感谢您的贡献。

Checklist

Description

ZhouYixun commented 1 year ago

I have a question, are you sure you can control the power switch of the USB port? What usbhub and operating system is it suitable for?

sam80180 commented 1 year ago

I only tested on Linux. 😛

You can refer to this list for (possibily) compatible USB hubs (though my hubs aren't listed here, it still works): https://github.com/mvp/uhubctl#compatible-usb-hubs

ZhouYixun commented 1 year ago

I only tested on Linux. 😛

You can refer to this list for (possibily) compatible USB hubs (though my hubs aren't listed here, it still works): https://github.com/mvp/uhubctl#compatible-usb-hubs

Looks like an error occurred when compiling, maybe you need to fix it a bit

aoliaoaoaojiao commented 1 year ago

I only tested on Linux. 😛

You can refer to this list for (possibily) compatible USB hubs (though my hubs aren't listed here, it still works): https://github.com/mvp/uhubctl#compatible-usb-hubs

As far as I know, there may be issues with USB on Windows. The main concept of this tool is universality, so you can separate the USB function from PR and we will place it in another branch. If users need this function, they can go to that branch on their own

aoliaoaoaojiao commented 1 year ago

@sam80180 You may need to resubmit the PR, @ZhouYixun he hastily merged, but there are many issues that need to be determined. I will reset the master branch

sam80180 commented 1 year ago

how about adding build tags for non-Windows systems to those USB-related files ?