How to establish adb connection over USB between two PCs [closed]

…衆ロ難τιáo~ 提交于 2019-11-29 09:20:26

First, let me point out just couple of things about the guide you said you were following:

  1. it requires (it says so in the very first paragraph) you to understand USB, which is the opposite of trying to set a USB connection between two computers with an A to A (both male) cable and expecting it to work.

  2. Linaro (the organization which published the guide) is known for its work on improving Linux on ARM platform. The guide just does not apply to x86 based PCs.

Other than that you need to understand that USB is an asymmetric protocol between a USB Host (master) and a USB Device (slave). There is just no way around this rule. To be able to connect 2 devices using USB - one device needs to have a USB controller configured as USB Host and another needs to have a USB controller configured as USB Device. The problem with the hardware USB Controllers being used in personal computers (standalone or built-in to Intel PCH) is that they can only work as USB Host. No software can change that.

All projects and resources you linked to in your question trying to prove that your desired result is possible were developed for platforms different from PC.

If you insist on using PC as a USB Device - there are very few commercially available USB adapters (mostly USB controller evaluation boards), which use USB controller chips with UDC support. But because of their rarity they are usually pretty expensive (the ones I've seen were being sold for about $200). So if your original intention was to lower your development costs by switching to commodity hardware - this option is not going to help you either.

This is how one of such adapters looks like:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!