News for hackers. Stuff that matters.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by tfwnopmt on Friday December 27, 2024 @11:25PM (#42528556)
HDMI provides power - that's how old chromecasts can work without a separate power plug.

The comment about NPNs and PNPs is garbage, but there is a design fault with the board - it shouldn't allow HDMI power to flow backwards into the motherboard when the motherboard shuts off. That would likely cause a power rail sequencing issue on the board or SSD, leading to latch-up of various ICs, and non-detection on the SSD on the flowing bootup

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by LeifCarrotson on Friday December 27, 2024 @11:41PM (#42528642)
And by "the board" I trust you mean the MSI PRO X670-P WIFI motherboard.

There's nothing incorrect about the behavior of the SSD when it's being operated outside the prescribed voltage and power thresholds.

If there's a trickle (and to be clear, the 5V at 300 mA available from an HDMI cable is a trickle for a full motherboard) of current into the 3V3 bus on the ATX connector, something will be the very lowest PMIC to turn on. It's just that on this system, the SSD was the first thing. If anything, the SSD will probably be highly tolerant of brownouts because its LDO will run at around 1.9V.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by hulitu on Saturday December 28, 2024 @01:59AM (#42529165)
> There's nothing incorrect about the behavior of the SSD when it's being operated outside the prescribed voltage and power thresholds.

It shall set itself in Reset state.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by LeifCarrotson on Saturday December 28, 2024 @08:41AM (#42530993)
That would be nice, in practice, the SSD requires its power rails to start up in a particular sequence and with very particular voltages.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by shadowpho on Saturday December 28, 2024 @12:09PM (#42532462)
Only few devices are actually able to do that. Vast majority require require proper voltage sequencing, because to do otherwise is to add cost to your IC
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by Dylan16807 on Saturday December 28, 2024 @02:17AM (#42529227)
> There's nothing incorrect about the behavior of the SSD when it's being operated outside the prescribed voltage and power thresholds.

I'd put some more emphasis on "when", though. If it never comes back when power comes back that's not particularly correct.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by crest on Saturday December 28, 2024 @07:34AM (#42530619)
That's because if this theory is correct from the point of view of the SSD there was no reboot yet, because there was never any total power loss.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by Dylan16807 on Saturday December 28, 2024 @08:33AM (#42530937)
It handles warm reboots without power loss just fine, so it deciding now it needs to wait for power loss seems like a flaw.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by wtallis on Saturday December 28, 2024 @09:34PM (#42536928)
If the SSD reacts to the start of a brown-out with supply voltage dropping way below spec as a signal that an unplanned power loss is happening, then it may do an emergency flush and shutdown that leaves it simply waiting for power to finish dropping to zero. It makes at least some sense for the drive to not try to wake up from that state without a clean power cycle.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by Dylan16807 on Sunday December 29, 2024 @12:21AM (#42537759)
I think "makes at least some sense" and "not particularly correct" can be true at the same time.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by smileybarry on Saturday December 28, 2024 @10:22AM (#42531661)
It should still handle PCIe probing and (logical) reconnection without a reboot, though, e.g.: PCIe redirection for a VM.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by magic_smoke_ee on Friday December 27, 2024 @11:46PM (#42528669)
The reality is retail PC electronics, like much consumer electronics with short lifespans, are designed/engineered and manufactured more-or-less like disposable e-waste garbage. Eevblog Dave or Bigclive might be able to get to the bottom of the circuit or manufacturing design error, albeit with some help if it turns out to be a digital-or-up-the-stack issue.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by KeplerBoy on Saturday December 28, 2024 @05:07AM (#42529884)
meh, I rarely have electronics fail these days. Whatever corners designers are cutting seem perfectly adequate to be cut to make stuff affordable.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by lazide on Sunday December 29, 2024 @04:56AM (#42538938)
The rise of mass produced cheap ICs with somewhat reasonable behavior are the cause. It’s cheap to add some logic to something when you’re making a million or more of them, than when it’s an additional couple discrete components and an additional circuit you need to add yourself.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by gbil on Saturday December 28, 2024 @12:37AM (#42528860)
>HDMI provides power - that's how old chromecasts can work without a separate power plug.

I still have the first Chromecast released, it doesn't operate without external power plugged in so I'm not sure about the validity of your comment, at least for the chromecast part

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by bradfitz on Saturday December 28, 2024 @01:05AM (#42528965)
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by rzzzt on Saturday December 28, 2024 @03:36AM (#42529518)

  Connection is the same as attaching an ordinary, "wired" HDMI Cable, except 
  that active cables can only be attached in one direction: One end of the cable 
  is specifically labeled for attachment to the HDMI Source (transmitting) 
  device, and the other end of the cable must be attached to the HDMI Sink 
  (receiving) device. If the cable is attached in reverse, no damage will occur, 
  but the connection will not work.

  HDMI Cables with HDMI Cable Power include a separate power connector for use 
  with source devices that do not support the HDMI Cable Power feature.
This is not your run-of-the-mill HDMI cable for sure.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by numpad0 on Saturday December 28, 2024 @08:54AM (#42531053)
No, not that feature. HDMI supported 5V/55mA power out for years. It's meant for EDID ROM chips and maybe HDMI selectors too, not Linux based computers, but some TVs could take it in gross violation of specifications and its spirits.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by nosrepa on Saturday December 28, 2024 @01:40AM (#42529098)
And the serial number of that power plug is MST3K-US
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by kuschku on Saturday December 28, 2024 @04:31AM (#42529749)
The first chromecast actually operated without external power, but it only worked with some TVs.

It's possible yours didn't provide enough power via HDMI, but at least ours worked just fine.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by ssl-3 on Saturday December 28, 2024 @06:47AM (#42530352)
It is possible that your memory of a device from a decade ago is faulty. No Chromecast has ever been able to be powered by HDMI alone. That has never been a thing.

You may instead by remembering the fact only some TVs back then were successful at powering the Chromecast without an external power brick, using a USB port on the TV itself to power up the Chromecast.

In applications where this worked (and it often did work, although it also often did not work), it could provide a solution that existed entirely on the back of the TV with nothing additional plugged into the wall.

But it was still [micro] USB that provided the power to the OG streaming stick, not HDMI.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by kuschku on Saturday December 28, 2024 @07:14AM (#42530495)
> It is possible that your memory of a device from a decade ago is faulty. No Chromecast has ever been able to be powered by HDMI alone. That has never been a thing.

It is not - I still use my 11yo Chromecast Gen1 today. And it still works fine without USB power (as long as you don't try to play YouTube videos).

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by ssl-3 on Saturday December 28, 2024 @08:05AM (#42530788)
Less than one hour before the Titanic hit an iceberg, I realized that I had forgotten my wallet and jumped off. I swam all of the way back to Southampton to get it.

This is probably not my most grand of deeds in my two hundred and seventy years, but it is nonetheless the most memorable to me on this fine Saturday morning.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by altcognito on Saturday December 28, 2024 @09:11AM (#42531156)
I also had this device and would concur it was supposed to work without USB power, but in my experience worked extremely poorly.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by lightedman on Saturday December 28, 2024 @08:19AM (#42530850)
"You may instead by remembering the fact only some TVs back then were successful at powering the Chromecast without an external power brick, using a USB port on the TV itself to power up the Chromecast."

I'm looking at my first gen plugged into the ARC HDMI port on my Vizio TV. It is ONLY attached to the HDMI port and nothing else.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by 486sx33 on Saturday December 28, 2024 @01:24PM (#42533152)
+1 my visio powers this as well It also powers lots of stuff via usb

Maybe because it’s NOT a smart tv and doesn’t have some crazy android chip SoC to constantly power. I mean obviously you can make a power supply that could do both - or neither. But it likely comes down to price for the manufacturer of the tv

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by smileybarry on Saturday December 28, 2024 @10:20AM (#42531644)
Right, but I think it wasn't a real intended use case and that some TVs provided amperage over the spec (maybe by accident? simpler circuit bridging the same power pin for USB and HDMI?).

I had the same first gen Chromecast (may even have it lying around somewhere) but it came with explicit directions to use the included power cable, so maybe they updated the included guide some time after release.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by photon_rancher on Saturday December 28, 2024 @08:59PM (#42536757)
They probably just provide extra power over the port. It costs extra to design an extra supply for a specific port so it’s probably shared, and likewise also costs extra to current limit each port. So more than likely a cost saving measure
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by ssl-3 on Saturday December 28, 2024 @06:34AM (#42530295)
HDMI does provide power, but this is not how Chromecast (or similar) devices have ever been powered.

It supplies 5v at up to 50mA from a sink device like a TV.

That's only a quarter of a Watt, which is perhaps enough for something like an EDID ROM, or maybe a switch or perhaps an extender. It is not enough power to run a Chromecast.

HDMI 2.1b Amendment 1 [0] can supply up to 300mA at 5v, but that specification is only a year or so old. It requires a special cable. And 1.5 Watts maximum isn't enough to run a Chromecast, either. (The intent is to be able to use it to run a somewhat thirstier extender than the earlier specifications would permit.)

0: https://www.hdmi.org/spec21sub/cablepower

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by kalleboo on Saturday December 28, 2024 @09:05AM (#42531129)
> It supplies 5v at up to 50mA from a sink device like a TV.

And USB is also only supposed to supply 100 mA until the device negotiates for more.

But literally every device in the real-world just wires the port to the 5V rail with 2 A overcurrent protection and your "dumb" USB-powered fan gadget can draw as much as it wants without any negotiation.

I can totally see TVs doing the same

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by mschuster91 on Saturday December 28, 2024 @04:27PM (#42534907)
> But literally every device in the real-world just wires the port to the 5V rail with 2 A overcurrent protection

Except Macs, Macbooks, iMacs, I think also at least the Thunderbolt Display from <very many years ago>. They all have a software overcurrent protection that is very triggerhappy. No negotiation and it will whine and shut the offending device off, and same if the negotiated current draw is exceeded.

Might be worth a try somewhen when I'm rich enough to afford a dynamic resistor bank to verify all the characteristics...

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by userbinator on Saturday December 28, 2024 @05:08PM (#42535230)
I've looked at Macbook (pre M1) schematics; they do the same as any other PC laptop. The USB power switches do not have adjustable current limits.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by kalleboo on Sunday December 29, 2024 @04:38AM (#42538861)
I've never had any issues running dumb USB loads off any of my MacBooks. Just tested it, no problem running 1.7 A of dumb resistors just soldered to the power pins with nothing on the data pins at all (not even the passive "apple charging" resistors) https://kalleboo.com/linked/usb-dummy-load.jpg

Macs will shut down a port if it goes over 2.4 A (IIRC) without USB-PD negotiation (mainly with the cable rather than the device).

But the USB standard says they should limit to 100 mA without USB 1.x negotiation, and it's not doing that.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by indrora on Sunday December 29, 2024 @03:47PM (#42542922)
> But literally every device in the real-world just wires the port to the 5V rail with 2 A overcurrent protection

Not quite. To be USB Compliant, you have to do some work here and there. There's about six different options. The most common is overcurrent detection, such as is seen in [1]. There is a whole specification built by USB-IF on how to handle higher current ("battery charge") situations, spurred by apple [2], with all sorts of weird corner cases [3].

Now, USB-C changes that and specifically calls out that a "compliant" downstream device has to negotiate USB PD or declare yourself a USB-2.0 type-C device. [4] It's not uncommon for newer devices that conform strictly to the USB4 specification to not even power a port that hasn't negotiated USB-PD or Legacy PD -- if you encounter devices that get weird when powered via a usb-c to usb-c cable but work fine on a usb a-to-c cable, you've seen someone skimp out on $0.00001 in resistors.

[1] https://www.microchip.com/en-us/development-tool/EVB-USB2514... [2] https://www.usb.org/document-library/battery-charging-v12-sp... [3] https://www.graniteriverlabs.com/en-us/technical-blog/usb-ba... [4] https://community.infineon.com/t5/Knowledge-Base-Articles/Te....

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by 0xTJ on Saturday December 28, 2024 @07:07AM (#42530456)
The HDMI source, not the HDMI sink, provides the power at 5 V. As far as I know, every Chromecast required an external power connection.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by globnomulous on Saturday December 28, 2024 @03:18PM (#42534243)
My office stereo has physical connections between the following devices (simplifying a bit)

- Speakers connect via speaker wire to monoprice 7x200 amp

- Monoprice amp connects via RCA to denon x3800h

- X3800h receives HDMI from desktop computer and sends HDMI to a monitor.

- Same computer connects via Displayport to the same monitor

I used to hear an infuriating buzz when my 2080TI started to work hard. It changed depending on the screen output, GPU strain, and mouse activity but was constant. It acted like a combination ground loop cum coil whine.

The first fix I discovered was to ground my monoprice amp to the 2080 TI PCB by wrapping one end of the exposed-copper (12 awg, I think) grounding wire through and around one of the holes in the board and attaching the other end to the Monoprice amp's grounding pin.

This fixed the issue completely.

Then I realized I could fix the issue more elegantly and elminate the need for grounding: I removed the grounding wire and replaced my normal HDMI and Displayport cables with fiber optic HDMI and Displayport cables. The buzz has never recurred.

I've never delved further into the problem, but my conclusion is the same as yours: there's a design fault somewhere on the board, which is causing electricity to flow in ways it shouldn't. I'm using an MSI z690 ddr4 edge wifi board. Same brand, same generation, as the board where this guy is having his SSD power issue.

I still hear a weird, loud buzz through the stereo (including a separate amp and separate pair of speakers) when my partner runs her hair dryer upstairs, even though my stereo runs on its own separate circuit, so regardless of the design issues in the board, there's definitely also an issue in my electrical system.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by transpute on Saturday December 28, 2024 @03:50PM (#42534595)
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by globnomulous on Saturday December 28, 2024 @04:05PM (#42534728)
Thanks, I'm using two surgex sx 2120-seq power conditioner+sequencers -- one for the desktop devices and one for the stereo. I'm just baffled that even though I'm a completely separate circuit the hairdryer is still able to do something to affect the electricity in my office.
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by alduin32 on Saturday December 28, 2024 @11:38PM (#42537565)
> the hairdryer is still able to do something to affect the electricity in my office.

This may indicate that your neutral line is undersized and/or damaged.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by globnomulous on Sunday December 29, 2024 @12:06AM (#42537676)
How could I test this?
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by alduin32 on Sunday December 29, 2024 @04:22AM (#42538786)
A first thing to test would be that your voltages are nominal, but the exact details depend on how many phases are coming from the transformer, how they are wired, and whether you are on a TT, TN-C-S or other kind of grounding system, which depends mostly on where you live. Also, you need to take your voltages both at low impedance (simulates a load) and at high impedance (negligible load, "classical" meters are generally high impedance).

Generally, you want to measure the voltage difference between live and neutral depending on the load. However, depending on the tools you have access to, taking this reading properly can be a bit tricky both because simple high-impendance multimeters can easily be tricked by ghost voltages caused by bad connections and inductions from other cables, and also because understanding what to measure requires knowing how is the electrical system wired.

If you know you are in a TT system with 240V between Live/Neutral, I can tell my procedure for inspecting neutrals. In a two-pole TN-C-S system with 120V between L1/Neutral and 240V between L1/L2, I suppose it would be similar, expect that we'd have to do more tests (both L1 and L2 to neutral, and I imagine also L1 to L2).

EDIT: a first simple check to do is to check, using any multimeter, if there is voltage drop in your office when the hairdryer is in use.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by globnomulous on Wednesday January 01, 2025 @07:47AM (#42565701)
Thanks so much for the write-up!
Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by tinfever on Saturday December 28, 2024 @04:44PM (#42535041)
Interestingly, the PCIe 8-pin power cable into a GPU doesn't carry all of the return current. If you put a current clamp meter around the +12V wires and then the ground wires, you'll measure more amps on the +12V wires than the ground wires. This means some of the return current goes through the PCIe slot into motherboard and makes its way back to the PSU. This lets the GPU create audio noise because GPUs draw high current pulses at the frame rate of your monitor, which means the return current through the motherboard has high current pulses, which can create ground bounce on the motherboard where the ground voltage level moves up and down and that can affect other devices in the system.

I don't totally know how that noise would traveling over the ground shield of the HDMI cable into the analog section of the Denon receiver though. Maybe some of that GPU return current is going through the HDMI cable, through the Denon receiver to mains earth, and then through your building wiring back to the ATX PSU? Grounding is freaking weird.

Re:PCIe trouble with 4TB Crucial T500 NVMe SSD for >1 power ... by globnomulous on Sunday December 29, 2024 @12:05AM (#42537672)
Oh, wow, yeah, that's really interesting. I don't understand electricity or know nearly enough about electrical engineering to be sure I understand the effect or flow you're describing, but if I (dimly) grasp what you're saying, it would explain exactly the behavior I observed.

Grounding really is incredibly weird (and, again, I say this as someone who is shamefully ignorant of electrical principles). It's no surprise that some 'audiophiles' become so superstitious about electricity. Its behavior in a stereo can be mysterious. Just looking at an amp funny seems like enough to cause a ground loop.