Transmission through USB between two linux PCs
Hi, Im trying to transfer some data between two linux machines by using USB cables. But i dont know exactly which cable should i use. Please help me find out which USB cable is much supported in linux machines.
Thanks in advance. |
This won|t work with a usual USB cable, since both machines ports are in host configuration. It is much simpler to do what you want to achieve using network cables.
|
Thanks for ur reply. But i hav no other option i should do it in USB only.. Tats wt my task in the project.. Is there any c++ codes for successful USB transfer. i.e to send and receive like UDP.
|
Please spell out your words, text-speak is frowned upon this forum.
To your issue, this is not a software issue, it is a hardware issue. There are some cables that can help you with that, but you won't be able to do that with a simple cable and some code. Maybe this can help: http://www.hardwaresecrets.com/artic...-USB-Cable/248 |
There are 2 types of USB enabled devices. That is there are USB hosts and USB clients. Desktop Computer (and laptops) are USB Hosts. There are alos hubs, these appear as the host to all devices connected as a client, and as (a) client(s) to the host.
Each USB network can must have exactly one host. The host maages the the network and supplies power. All other devices must be clients. Warning: You can damage host devices by having 2 hosts on a USB network I can see 2 ways you could go about this:
There is USB OTG but this requires specialised hardware and is usually used in tablets/phones to allow one port to act as both client and host depending on the networkwork. this is set by a resitor in the cable. |
Thanks for your reply, am using flash link to connect. Can i use it???. And if i can get a sample code for usb transmission, it would mean a lot to me.
|
I'm trying to transfer data between linux and windows machines using USB(Using Amkette flash link)cable. Previously i used network protocol (UDP) to transfer data between linux and windows. But now i need to use USB cable to transfer data, is this possible? If possible which cable we need to Use? Is there any libraries for USB data transfer or samples?
|
All times are GMT -5. The time now is 02:14 AM. |