The PCI LEDS are mapped backwards

In a nutshell: PCI1 = PCI LED 3
PCI3 = PC1 LED 1
Assume a GPIO programming mistake somewhere in the source code.

Testing with one card in a slot and looking at the schematics.
Wifi Detect mPCIe 1 = Right Socket next to the CPU = With WLE200 in socket no Light… = PCIE0 = CN7
Wifi Defect mPCIe 2 = Center Socket = Once enable got LED PCI 2 = PCIE1 = CN61
Wifi Detect mPCIe 3 = Left Socket = Once Enable got LED PCI 1 = PCIE2 = CN62

Never did the 2.4Ghz Radio ID itself anything other than “Generic MAC80211 802.11bgn” strange since it to is a Qualcomm Radio.

1/ The mPCIe number should have started with zero vise one in the “wireless” config file to be in-sync with the schematics. Offset by one. Have done in electronics before. No big. At least it in forward progression seqence.

2/ The PCI 1-3 LEDS ARE “MAPPED BACKWARDS!”. (a Clear ERROR here!)

Or: the LEDS are right: And the Print is backwards on the Case. (More likely Here:)


Looking from the front: the positions are:
LEFT mPCIe3 Middle mPCIe2 Right mPCIe1

It would make sense if the print on the Case was:

Thats odd, as mine seems to have correct order, internally and externally…

I have the same situation with 3 lights. When having 2.4Ghz and 5Ghz enabled it’s PCI2 and PCI3 that are lit and not PCI1 and PCI2 as per manual.

You are right that internal PCI bus numbering is backwards, so the socket with the SIM card slot is publicly numbered as PCI1 even though it’s internal PCI bus number is three.

On the other hand the leftmost LED corresponds to the leftmost socket, which is quite intuitive. And the script that sets up LEDs function automatically is addressing this so PCI1 LED always shows the status of the leftmost socket and so on (notice the REAL_PCI calculation):

$ cat /etc/init.d/led_autoconfig
PCI="`echo "$NAME" | sed -n 's|Auto-configuration for PCI\([1-3]\)|\1|p'`"
REAL_PCI="`expr 4 - $PCI`"
PHY="`ls  -d 0000:00:0${REAL_PCI}.0/0000:0${REAL_PCI}:00.0/ieee80211/phy* 2> /dev/null | sed -n 's|.*/\(phy[0-9]\)|\1|p'`"
1 Like