How does a backplane light an LED on drive disconnected?

wolfheart

Cadet
Joined
May 23, 2023
Messages
1
I'm trying to put LEDs on my NAS's drive bays but I'm having a hard time determining how the physical drive association is made to the LED. For instance, if I remove 2+ drives at once, how would the system know which drive is in which bay? Can an 16i HBA have all 16 of it's serial connections probed for disconnect?

I looked at one to the specs that define the sideband data but it seems that the backplane negotiates with the host which in turn negotiaties with the disk to determine fault but not the LED association. The pyhsical LED seems to be kept in the shadow of the backplane however, I could be wrong (I hope!) and the motherboard is made fully aware of which bay is troublesome, at least enough to make the bay -> LED association.

I have the code for the ESP32 and the client side (PC) code close to finished but I'm having a hard time making the bay -> LED association.
 
Top