5 ms·
USB-C has obfuscated things but I was hoping the following would work: Buy a Y-cable from Ali Express that has USB-C male to plug into the phone, and both USB-
by MarkusWandel 2y ago
USB-C has obfuscated things but I was hoping the following would work:
Buy a Y-cable from Ali Express that has USB-C male to plug into the phone, and both USB-C female and USB-A female sockets. Plug keyboard into the USB-A and the charger into USB-C.
But it doesn't work, and I suspect it's a software limitation at least on my phone (Moto G Play 2023). If the charger is plugged in first, the phone will charge but not use the keyboard. If the keyboard is plugged in first, the phone will use it, but not charge. I think the wires are there to make it all work, but the phone's OS just doesn't support this scenario. Pity.
Needless to say documentation is nonexistent so I don't actually know what's in the cable. For all I know, the two female sockets are just connected in parallel.
- nucleardog 2y agoMy wild guess would be that, yes, that cable is just a naive splitter. The only real use case I could think of that would work would be taking a USB-C port and making it accept either USB-C or USB-A devices without having to dig around/swap adapters/etc. I say that because as far as I'm aware (though I'm having trouble digging up an authoritative source right now), there's no way for USB devices to share data lines. Even cheap "passive" hubs and things all have ICs to present themselves as a USB device and sit between the host and the downstream devices. With the older USB specs you could still get some power even without the data lines, but with USB-C you need the data lines to negotiate power delivery. I don't think there are any software-level changes would make that setup work. If you are looking for a solution though (albiet a bit bit bulkier one) it's likely any of a number of "USB C hub" or "USB C dock" products would work there. Most have a USB-C port marked "PD-IN". Plug the hub into your phone, plug your power into the PD-IN, and use the USB-A/other ports to connect your other devices. Run you like $20 from the usual suspects.
- MarkusWandel 2y agoThanks for that. The longer-term goal is to make a "dock" for my elderly mom's phone that lets her use it as a tiny (her eyes are still good) pseudo-desktop setup with keyboard and mouse. She often ends up with her phone as her only communications device when things go wrong (again) on her laptop and this would give a good email experience (she's a skilled touch-typist). Any pointers to a cheap USB-C dock on Ali that does the job? Sadly, one limitation, at least on the Android device, is that you can't use it in landscape mode with a mouse. Well, you can, but the launcher only operates in portrait mode, as do a lot of apps. I don't want to change the launcher - elderly folks get very fixated on how their device is supposed to work. Anyway as soon as the phone switches to sideways-portrait mode, the mouse also does which is very disorienting.
- nucleardog 2y agoNothing I've tested specifically with Android--my use has been mostly Steam Deck or iPad Pro. I've had good luck with the Anker stuff. Not sure if any of it's on Aliexpress, but they are on Amazon. I have a couple of the Anker 555 which is about $50. The Anker 332 looks fairly similar for more like $20. Both have the "PD-IN". I'm, again, not sure how it would interact with Android, but basically all of these have a HDMI port as well. It might be worth a try to see how Android handles the portrait/landscape stuff with an external display--connecting it to a cheap monitor might resolve some of that for you. I have some fuzzy recollection of doing this back in the day with a MHL adapter and the phone displaying portrait the right way up just with black space on the left and right on the screen. Anker 332 with a charger connected, mouse and keyboard plugged in, and HDMI running to an external monitor might get you essentially a "desktop" experience with a single cable. If her laptop has a USB-C port as well, when that's working she may be able to just plug that in to make use of all the peripherals on that instead. Something like the 555 also has a SD card reader which could work as some shared storage for moving files between the devices just by plugging them in and saving them there.
- bluGill 2y agoUSB-C never defined a Y cable and so they never figured out how that would work. If such a cable works anywhere it is either luck, or there is some chip inside that checks for power messages from either end but otherwise looks like a straight through cable. Even then it will be tricky because if the two devices want different voltages from the charger only one can get their way. I can't blame the USB-C people for not working on this case. It is a lot harder than it seems to make work, and of limited use. Just get a USB-C hub if you need this ability.
- MarkusWandel 2y agoHeh, if you want a really atrocious USB power violation... Costco sold some extremely bright flashlights (think car headlight bright, and also usable as a self-defense weapon in the spirit of the old D-cell Maglites) before Christmas, that have an USB charge socket. Needless to say they include a charge cable but no charger. But this thing wants 1.5A at 5V. And doesn't do any power "negotiation" at all, as far as I can see. It happens to work because modern smartphone chargers can do 5V at 2A by default. But plug it into any older charger and the charger immediately shuts down due to overcurrent. I have one of those USB passthrough voltage/current meter gadgets. Yes, it draws 1.5A. I guess what it should be doing is slow-charge unless it can negotiate for more power. It's a very decent flashlight otherwise. Oh, it also has two USB-C sockets. A red one for charging, and a black one for using the flashlight's substantial battery as a power bank. I don't know what would happen if you plugged the charger into the wrong socket and don't have the courage to try.
- nfriedly 2y ago> Oh, it also has two USB-C sockets. A red one for charging, and a black one for using the flashlight's substantial battery as a power bank. I don't know what would happen if you plugged the charger into the wrong socket and don't have the courage to try. USB-C does a bit of negation before putting our any significant amount of power. There's a "dumb mode" that just uses a pair of half-cent resistors and is fine for up to 3A at 5V, and then the "smart" PD (Power Delivery) mode that does a digital negotiation and can do much higher wattage. All that is to say that if you plugged the black USB-C into a charging brick it'd probably just fail the negotiation and nothing bad would happen. Both sides would have to be violating the spec for it to be a real hazard. Annoyingly, some really cheap devices skip out on even the dumb mode resistors to save a penny, and so even though they have USB-C ports, you have to charge them with USB-A to USB-C cables (because USB-A ports always provide power, no negotiation required.) Those devices are where the cheap Y-cables come in handy, because they usually include the required resistors + give you a USB-A port.
- harrall 2y agoWhile not in a Y cable format, there are small USB-C hubs that can do this. If I plug a NVMe drive into my iPhone, my phone will run out of battery so quickly so I have to use a hub and plug in my charger at the same time.
- Gigachad 2y agoThere is no such thing as a spec compliant USB Y cable. Unless it's got some kind of internal USB hub. There is nothing the spec designers can do to account for non complaint ali express junk.