DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-broadcom
<DC-IRC>
<Tonymac32> yep
<DC-IRC>
<clever___> i have found parts of the PD protocol on the pi5, and it even has checks for the usb VID of the official pi PSU
<DC-IRC>
<clever___> and since its mostly in software, they can always patch it to fix compatibility bugs
<DC-IRC>
<clever___> assuming its nothing severe, like the PSU turning power off for 2 seconds when enabling 5a mode
<DC-IRC>
<Tonymac32> I'm not even saying there will be a fault on the side of the Pi
<DC-IRC>
<Tonymac32> if you don't want to risk a fire it's going to have a million reasons to limit current
<DC-IRC>
<clever___> yeah
<DC-IRC>
<Tonymac32> so "limp mode" is going to be a constant issue for users' complaints
<DC-IRC>
<Tonymac32> for transparency I made fun of everyone else's 5V boards too, clear back to the Asus Tinker Board in 2017
<DC-IRC>
<clever___> related, there is a new safety in the pi5 firmware, if you try to boot from usb, and the PSU isnt able to supply enough amps, it will pause booting, display a warning on the hdmi, and blink 1 long 1 short
<DC-IRC>
<Tonymac32> interesting
<DC-IRC>
<clever___> you can then accept the risks, and click the power button once to continue booting
<DC-IRC>
<clever___> or set a config flag to always accept it
<DC-IRC>
<clever___> i can see that happening for a dumb supply, like a 5v5a bench PSU into the gpio header
<DC-IRC>
<clever___> it has no way to ask the current limit
<DC-IRC>
<Tonymac32> *remembers this is the perpetual lightning bolt community*
<DC-IRC>
<Tonymac32> 🙂
<DC-IRC>
<clever___> and now it wont even boot, until you are told the risks
<DC-IRC>
<Tonymac32> That's a decent mitigation, but they should have just built it properly in the first place
<DC-IRC>
<clever___> i'm also not sure, if its using the usb descriptors, or just any usb
<DC-IRC>
<clever___> and there is the problem that usb descriptors often lie
<DC-IRC>
<clever___> `Bus 001 Device 120: ID 1b1c:1b81 Corsair CORSAIR DARK CORE RGB PRO Gaming Dongle`
<DC-IRC>
<clever___> for example, i have this dongle for my mouse
<DC-IRC>
<clever___> the usb descriptor claims it only needs 100mA
<DC-IRC>
<clever___> `[Tue Oct 17 00:12:44 2023] usb 1-11.1.2: Not enough bandwidth for new device state.`
<DC-IRC>
<clever___> ah, mis-remembered
<DC-IRC>
<clever___> the usb hub in my keyboard cant support it, but because of bandwidth, not mA
<DC-IRC>
<clever___> ah, i see why, my keyboard only has a full-speed hub!, 12mbit!!
<DC-IRC>
<Tonymac32> nice
<DC-IRC>
<clever___> but i have heard about devices lying about the total power usage, because hosts are lax on current limiting, and users never use a powered hub
<DC-IRC>
<Tonymac32> goes into the chips and piece parts
<DC-IRC>
<clever___> > The switch can supply power to either set of pairs, or even both at the same time. The bridge rectifiers ensure that polarity is correct, in case someone uses a crossover cable.
<DC-IRC>
<clever___> ah, i was remembering wrong on what the rectifiers did