this post was submitted on 02 May 2024
101 points (92.4% liked)

Linux

48310 readers
645 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
 

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) (5 children)

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) (1 children)

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.

load more comments (3 replies)