An unofficial, read-only Hacker News reader.

Splitting USB-C: USB 3 and USB 2 on one port (opens external site)

158 points by fcjr 5 days ago | www.frankchiarulli.com | 112 comments on HN

View full thread · View on Hacker News

Comment thread (12)

  1. > constant mysteries of "why isn't this charging"

    Also, which device is responsible for what. I have a nice chunky battery that I sometimes charge my phone from while away from power. It it runs out of juice during this, it stops, comes back to life because the phone sees a device in its port and advertises itself as a potential power source, then the phone proceeds to drain power back into the external battery.

    Replies (3)
    1. Nothing mysterious in there. When the battery runs out of power completely, its PD controller ends up advertising being a sink so the "dead battery charging" can work. The phone notices it and starts feeding it power, as it should. A well-designed power bank would cut the power out from the phone before the power for PD IC goes down too and would hold off with advertising being a sink until the cable is unplugged, but that requires a bit more consideration for the particular use-case than just sticking a few generic ICs together and hoping for the best.
      Replies (1)
      1. it would seem undesirable for the tiny battery to attempt to charge the big battery. you would be left with a phone at 10%, and a battery bank at like.... 5%
        Replies (1)
        1. I've seen a video of someone kickstarting their car's battery with a phone; inferring user intention isn't always trivial. That said, the power bank case described above does not even require any such assumptions, I'd 100% expect the phone to start charging a power bank if it's dead while plugging it in, but that doesn't change the fact that it shouldn't do that if the power bank goes flat while charging the phone.
          Replies (1)
          1. The phone has a touchscreen the size of a dinnerplate (regrettably), it could just... oh, I don't know... ask the user?
            Replies (1)
            1. It sure can. Or the device could just work in a way that makes sense in the first place, so there's no asking required. I can easily switch the power role on my phone, but being asked to anytime I plug something in would be rather annoying.
    2. I've dreamed of having a device that I could put between two batteries and be able to say which battery should charge which (e.g., laptop to battery or the reverse)

      But obviously that'd be a crazy device to carry with me at all times?? But yeah, "charging" vs "charge me" usb-c antics are a bit wild.

      Replies (2)
      1. That sort of exists, lots of the USB-C analyzer things can force the direction with a switch.
        Replies (1)
        1. For sure, I have an Acroname on my desk and it's fantastic - I just want a female-female usb-c diode with a button & a light in my pocket :-) haha
      2. I have this in my bag at all times:

        https://www.amazon.com/dp/B0CRZ6JJ6D

        It forces the charging role: The single end is always source, the split ends are always sinks.

        It also allows the two sink ends to be at different voltages, which means there must be some ultra-tiny SMPS in the blob, which blows my mind. (Though in my testing, it will pass 20v through to a single laptop, but when I plug in a 5v sink, the cable drops and renegotiates 15v from the source, so the laptop now gets 15v instead of 20. With two laptops connected, both get 20v and the source shows 20v.)

        I carry this cable and a single Haribo AC charger when I travel, and it serves every need I've thrown at it.

    3. That's probably the closest thing to troll physics we have in real life.
      Replies (1)
      1. Probably the slowest oscillator ever built!