103

So i tried to connect steamdeck to pc using usb and i read its immpossible because steamdeck is a computer and some explanation on quora about strong master slave relationship. But then why is it possible for android phones to connect to pc whilist also having the ability to use USB and other usb c accesories. Also why cant it be a toggle? So that you can change whetewer this usb( or device ) is reciving data ot sending data .

you are viewing a single comment's thread
view the rest of the comments
[-] Buffalox@lemmy.world 20 points 6 months ago* (last edited 6 months ago)

Google "connecting 2 computers with USB"

If you have two PCs with USB ports, you can connect them to one another using a special type of USB cable called a “bridging” cable. You can also technically connect two Macs via USB, but you'll need to add a USB-to-Ethernet adapter and Ethernet cable to the mix.

There are also articles about it:
https://hardwaresecrets.com/connecting-two-pcs-using-a-usb-usb-cable/

We do it routinely with our phones (some of us), I admit IDK why it can't be just as easy between 2 computers?

[-] TimeSquirrel@kbin.social 12 points 6 months ago* (last edited 6 months ago)

Ethernet had this figured out almost 30 years ago with auto-negotiation. Last crossover cable I ever used was in 2004 for a customer's old hub they didn't want to replace. Yes, "hub", not "switch".

[-] Markaos@lemmy.one 5 points 6 months ago

Not a fair comparison IMHO - Ethernet is designed to be a connection between two or more otherwise independent peers (on L2), while USB's goal was to allow connecting simple peripheral devices to computers. There was never meant to be a situation where it's unclear which side is the Host.

Also note that the bridging "cable" is literally just two USB devices, one for each computer (although they are both on the same chip, so there's that), with some internal link to pass the data.

[-] 0x0@programming.dev 5 points 6 months ago
[-] Rustmilian@lemmy.world 15 points 6 months ago* (last edited 6 months ago)

Possibly. But from my research it seems to really depend.

the USB-C ports on the two PCs need to support USB OTG (On-The-Go) functionality, which allows the ports to dynamically switch between host and device modes. This is what enables the direct PC-to-PC communication over the USB-C connection.

this post was submitted on 02 May 2024
103 points (92.6% liked)

Linux

48349 readers
453 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS