News for hackers. Stuff that matters.
Re:What happens if you plug two USB-C laptops into each othe... by bradrn on Thursday January 19, 2023 @07:28AM (#34439601)
Later in the conversation someone links to a Twitter exchange which I found quite interesting:

> (@m_ou_se) I just tried to charge my phone by connecting it to my laptop (with USB-C), but instead of my phone, my laptop started getting charged, quickly draining my phone's battery. Uh, what.

> (@Gankra_) in case you aren't familiar: there was a semantic function of asymmetric usb cables that symmetric usb-C has broken. to "fix" this, each device picks a number for how subby it is, and the less subby one is the dom and charges the sub. these numbers can be surprising.

> (@m_ou_se) After some experimenting, I concluded that Dell laptops are the most powerful USB-C PD doms followed by ThinkPads, while phones and MacBooks are (equally) subby. Connecting phones and MacBooks with each other results in a switch fight.

(https://twitter.com/m_ou_se/status/1502664680602492933)

Re:What happens if you plug two USB-C laptops into each othe... by detrites on Thursday January 19, 2023 @07:31AM (#34439618)
I can't fathom how we all went ten years without knowing this stuff.
Re:What happens if you plug two USB-C laptops into each othe... by doubled112 on Thursday January 19, 2023 @08:48AM (#34440196)
Didn't have a laptop with USB-C ports until 2021. I've got a couple now.

One does PD, one does not. One does video out, one does not. One charges fast, and you guessed it, one does not.

Is it supposed to be easy because the cables fit? Honestly, it's only made it harder and I know what I'm doing. "It fits but doesn't do what I was told it would" is probably more confusing to the average Joe.

Re:What happens if you plug two USB-C laptops into each othe... by philliphaydon on Thursday January 19, 2023 @09:07AM (#34440391)
But but everything used usb-c so iPhones must be usb-c now toooooo!!!

I like the physical connection of usb-c but that’s it. The whole thing is an absolute mess.

I’m going to miss lightening port.

Re:What happens if you plug two USB-C laptops into each othe... by mycall on Thursday January 19, 2023 @10:10AM (#34441112)
> everything used usb-c so iPhones must be usb-c now toooooo

EU agrees with this.

Re:What happens if you plug two USB-C laptops into each othe... by WirelessGigabit on Saturday January 21, 2023 @02:57PM (#34469737)
No you're not. Even the worst USB-C cable is better than lightning. An iPhone doesn't charge another device. So you're good.

Also, then hopefully I won't need to switch out cables every so often because of a shorting pin #4.

Re:What happens if you plug two USB-C laptops into each othe... by tinus_hn on Thursday January 19, 2023 @12:53PM (#34443290)
If you plug in a semi recent Samsung phone to a USB-c monitor, not only will it charge, but you will also get some kind of desktop experience on the monitor.
Re:What happens if you plug two USB-C laptops into each othe... by xg15 on Thursday January 19, 2023 @07:59AM (#34439817)
But wasn't there supposed to be a way to change the roles afterwards, according to user input?

It would be super useful at times to charge one laptop (or phone) off the other - provided I have some way to specify which one should be charged.

Re:What happens if you plug two USB-C laptops into each othe... by walthamstow on Thursday January 19, 2023 @08:38AM (#34440089)
I thought whichever one is plugged in second is the one that receives the charge, but it may be vice versa. Either way, it's the order of plugging that matters.
Re:What happens if you plug two USB-C laptops into each othe... by nimbix on Thursday January 19, 2023 @08:49AM (#34440200)
Does a device even know that it's connected to a ded cable? I'd imagine that it's only after you plug in the second device that they both suddenly see they're being connected to something.
Re:What happens if you plug two USB-C laptops into each othe... by mcv on Thursday January 19, 2023 @09:51AM (#34440882)
I believe that some cables (especially conversion cables) can have some sort of processor. I have no idea if that's the case with USB-C cables, though.
Re:What happens if you plug two USB-C laptops into each othe... by PaulWaldman on Thursday January 19, 2023 @08:50AM (#34440208)
How can devices determine if a cable is plugged in without a device on the other end? Difference in resistance?
Re:What happens if you plug two USB-C laptops into each othe... by cpcallen on Thursday January 19, 2023 @09:23AM (#34440540)
The connectors have chips in them which communicate with the device they're plugged in to. E.g.: https://www.cabledo.com/anker-usb-c-to-usb-c-2-0-100w-cable-...
Re:What happens if you plug two USB-C laptops into each othe... by cesarb on Thursday January 19, 2023 @09:39AM (#34440729)
Not all cables have chips in them, only things like high-power (5A) cables need a chip. A basic 3A USB-C cable will not have any chip.
Re:What happens if you plug two USB-C laptops into each othe... by mcv on Thursday January 19, 2023 @09:53AM (#34440918)
Is there really nothing standard about USB-C?
Re:What happens if you plug two USB-C laptops into each othe... by soneil on Thursday January 19, 2023 @11:11AM (#34441870)
They’ve done a stellar job of standardising the name. So many different cables & capabilities, one standardised name.
Re:What happens if you plug two USB-C laptops into each othe... by mrguyorama on Thursday January 19, 2023 @05:12PM (#34446399)
If you wait long enough they'll try to rename WiFi as USB-C somehow
Re:What happens if you plug two USB-C laptops into each othe... by doubled112 on Friday January 20, 2023 @12:20AM (#34449548)
Does USB-C suffer from the problems with interference that USB 3 did?

Perhaps that could be harnessed into something more productive.

Re:What happens if you plug two USB-C laptops into each othe... by peteradio on Thursday January 19, 2023 @09:12AM (#34440435)
I'm not sure how it works in reality but in principle the cable could act like a jumper across two contacts on the computer's USB connector.
Re:What happens if you plug two USB-C laptops into each othe... by fzzzy on Thursday January 19, 2023 @09:56AM (#34440942)
If there are two ground pins in the connector and the cable shorts those two ground pins, the connector could use the presence of continuity between those two ground pins to know a cable is plugged in but not connected to another device. Something like that.
Re:What happens if you plug two USB-C laptops into each othe... by xattt on Thursday January 19, 2023 @08:01AM (#34439829)
The most appropriate and most sexual way would be to have a safe word.
Re:What happens if you plug two USB-C laptops into each othe... by CoastalCoder on Thursday January 19, 2023 @09:05AM (#34440373)
At this point, it might make more sense to just put a condom over all male USB connectors.
Re:What happens if you plug two USB-C laptops into each othe... by xg15 on Thursday January 19, 2023 @09:45AM (#34440807)
Still wondering if technically the host would be the dom since it gets all the control or if the device would be the dom since it gets all the power.
Re:What happens if you plug two USB-C laptops into each othe... by plasticchris on Thursday January 19, 2023 @08:17AM (#34439941)
I have USB c to c cable that will charge in one direction. It’s not labeled, so I put some arrows on it :)
Re:What happens if you plug two USB-C laptops into each othe... by trompetenaccoun on Thursday January 19, 2023 @09:32AM (#34440656)
This thread is getting more and more interesting.
Re:What happens if you plug two USB-C laptops into each othe... by AndrewOMartin on Thursday January 19, 2023 @09:46AM (#34440825)
The fact that this is such a rare comment is damning.
Re:What happens if you plug two USB-C laptops into each othe... by cesarb on Thursday January 19, 2023 @08:54AM (#34440253)
> But wasn't there supposed to be a way to change the roles afterwards, according to user input?

At least on Android, there is; it's in the same place where you choose which file sharing protocol should be used (it's in the Android notifications area, it says something like "Charging the device through USB; click here for more options").

Re:What happens if you plug two USB-C laptops into each othe... by earthling8118 on Thursday January 19, 2023 @09:36AM (#34440695)
In practice this hasn't worked for me. I got a new phone and was trying to charge it on the way home (since it was activated automatically by the store despite me not asking for that). It refused to charge in the direction I wanted. It'd reset this option instantly every time
Re:What happens if you plug two USB-C laptops into each othe... by Traubenfuchs on Thursday January 19, 2023 @08:05AM (#34439859)
Is there like a C function, dll or device manager property I can check to find out how subby or dom my device is or is this only possible via comparison?
Re:What happens if you plug two USB-C laptops into each othe... by smith7018 on Thursday January 19, 2023 @08:16AM (#34439928)
My M1 Max MacBook Pro treats my Galaxy Tab A8 like an external battery which makes development quite annoying. It's strange that this hasn't been figured out in 10 years.
Re:What happens if you plug two USB-C laptops into each othe... by sofixa on Thursday January 19, 2023 @09:08AM (#34440399)
On Android you can configure that (usually there's a popup after plugging in, if not it should be in the power settings) on multiple levels - if it should charge, if OTG charging (the phone/tablet providing power) is enabled, etc.
Re:What happens if you plug two USB-C laptops into each othe... by martinald on Thursday January 19, 2023 @08:39PM (#34448144)
If you've set this and it doesn't work properly still, try swapping out the cable. A bad quality USBC cable would always make my phone (occasionally) charge my MacBook but not the other way around, for some unknown reason. Drove me crazy until I changed the cable.
Re:What happens if you plug two USB-C laptops into each othe... by mkl on Thursday January 19, 2023 @08:18AM (#34439946)
This metaphor seems backwards. Wouldn't the sub give its power to the dom?
Re:What happens if you plug two USB-C laptops into each othe... by dymk on Thursday January 19, 2023 @08:32AM (#34440057)
Typically no, unless it’s a power bottom.
Re:What happens if you plug two USB-C laptops into each othe... by willcipriano on Thursday January 19, 2023 @08:51AM (#34440224)
Re:What happens if you plug two USB-C laptops into each othe... by fuzzylightbulb on Thursday January 19, 2023 @09:27AM (#34440584)
Now dymk, I heard speed has something to do with it.
Re:What happens if you plug two USB-C laptops into each othe... by dymk on Thursday January 19, 2023 @09:42AM (#34440778)
Speed has everything to do with it (although the cable must be rated for fast charging)
Re:What happens if you plug two USB-C laptops into each othe... by Pelic4n on Thursday January 19, 2023 @08:32AM (#34440050)
Never heard of a power bottom?
Re:What happens if you plug two USB-C laptops into each othe... by hammock on Thursday January 19, 2023 @09:12AM (#34440443)
How one interprets this question is like a personality test
Re:What happens if you plug two USB-C laptops into each othe... by karmakaze on Thursday January 19, 2023 @08:48AM (#34440193)
> phones and MacBooks are (equally) subby.

Do you mean phones here or iPhones? I've been charging my LG phones (G6 & G8) from MacBook Pros for years and never noticed an unexpected switch.

Re:What happens if you plug two USB-C laptops into each othe... by madeofpalk on Thursday January 19, 2023 @08:55AM (#34440264)
As you're touching on, it doesn't make sense to make a blanket statement for all phones. Also, iPhone is not USB-C, so I guess it doesn't participate in this negotiation.
Re:What happens if you plug two USB-C laptops into each othe... by wongarsu on Thursday January 19, 2023 @09:03AM (#34440357)
What about Lightning to USB-C cables? I assume the device is talking the USB protocol at that point? Or does that connection only allow charging in one direction?
Re:What happens if you plug two USB-C laptops into each othe... by mathieuh on Thursday January 19, 2023 @09:10AM (#34440421)
I've charged my iPhone off my MBP using a lightning->usb-c cable and I didn't notice anything weird. I've also been able to charge my iPhone off my iPad using the same cable so maybe it is one way.
Re:What happens if you plug two USB-C laptops into each othe... by dfox on Thursday January 19, 2023 @09:26AM (#34440575)
That particular cable only works in one direction. Lightning itself can power external devices, but the whole mechanism is completely different than how USB PD over USB-C works (it is designed for low power peripherals and thus can output unregulated 3-ish V in order to save on DC/DC conversion losses, similar capability of devices powered entirely from V_CONN is quite recent and hackish addition to USB-C).
Re:What happens if you plug two USB-C laptops into each othe... by karmakaze on Thursday January 19, 2023 @06:08PM (#34446907)
I forget that other interface still exists. Is it only iPhone and keyboard/touchpad/mouse/pencil now?
Re:What happens if you plug two USB-C laptops into each othe... by TheHappyOddish on Thursday January 26, 2023 @06:43AM (#34530520)
AirPods too.
Re:What happens if you plug two USB-C laptops into each othe... by misnome on Thursday January 19, 2023 @08:50AM (#34440210)
This is more interesting than the linked poll, thanks.