201

(57 odpowiedzi, napisanych Inne)

Zobacz co wypluwa: AT+CLAC?

Jeśli działa to powinieneś dostać całą listę zaimplementowanych komend AT.

Pozdr.

202

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Super ...

203

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Ok, w takim razie wszystko jest ok.

204

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Poprawiłem poprzez edycję profilu rozpoznawanie nazwy modemu getinfo i pasm getsupportedbands, ale nie wiem jak poprawić funkcję getbands. Luknij proszę ...

_DEVICE=/dev/ttyACM2

getinfo() {
    O=$(sms_tool -d $_DEVICE at "at+gmm")
    if echo "$O" | grep -q "L850"; then
        _NAME="Fibocom L850-GL"
    fi
    if echo "$O" | grep -q "L860-GL"; then
        _NAME="Fibocom L860-GL"
    fi
    if echo "$O" | grep -q "L860-GL-16"; then
        _NAME="Fibocom L860-GL-16"
    fi
    echo "$_NAME"
}

getsupportedbands() {
    O=$(sms_tool -d $_DEVICE at "at+gmm")
    if echo "$O" | grep -q "L850"; then
        _DEFAULT_LTE_BANDS="1 2 3 4 5 7 8 11 12 13 17 18 19 20 21 26 28 29 30 38 39 40 41 66"
    fi
    if echo "$O" | grep -q "L860-GL"; then
        _DEFAULT_LTE_BANDS="1 2 3 4 5 7 8 12 13 14 17 18 19 20 25 26 28 29 30 32 38 39 40 41 42 46 66"
    fi
    if echo "$O" | grep -q "L860-GL-16"; then
        _DEFAULT_LTE_BANDS="1 2 3 4 5 7 8 12 13 14 17 18 19 20 25 26 28 29 30 32 34 38 39 40 41 42 43 46 48 66 71"
    fi
    echo "$_DEFAULT_LTE_BANDS"
}

getbands() {
# +XACT: 4,2,1,1,2,4,5,8,101,102,103,104,105,107,108,112,113,114,117,118,119,120,125,126,128,129,130,132,138,139,140,141,142,146,166

    O=$(sms_tool -d $_DEVICE at "at+xact?")
    BANDS=$(echo "$O" | awk -F: '/^\+XACT:/{gsub(","," ");print $2}')
    for BAND in $BANDS; do
        if [ $BAND -gt 100 ] && [ $BAND -lt 200 ]; then
            echo -n "$((BAND - 100)) "
        fi
    done
    echo ""
}

setbands() {
    BANDS="$1"

    T=""
    if [ "$BANDS" = "default" ]; then
        T="0"
    else
        for BAND in $BANDS; do
            case $BAND in
                ''|*[!0-9]*) continue ;;
            esac
            [ -n "$T" ] && T="${T},"
            T="${T}$((BAND + 100))"
        done
    fi

    if [ -n "$T" ]; then
        O=$(sms_tool -d $_DEVICE at "at+xact?")
        MODE=$(echo "$O" | awk -F[:,] '{print $2}' | xargs)
        sms_tool -d $_DEVICE at "at+xact=$MODE,,,$T"
    fi
}

205

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Spoko, w zasadzie to jak jest teraz w niczym nie przeszkadza, jedynie dla celów porządkowych można by zrobić warunek w profilu, że jeśli wykryje modem i jest z nazwą 'Fibocom L860-GL-16' to tak go zaprezentuje.

Z tego co udało mi się ustalić to polecenie dla tej wersji modemu odczytu pasm się nie zmieniło.

Dla poprzedniego L860-GL były pasma obsługiwane po odczycie: 1 2 3 4 5 7 8 12 13 14 17 18 19 20 25 26 28 29 30 32 38 39 40 41 42 46 66

Dla tego L860-GL-16 są pasma obsługiwane po odczycie: 1 2 3 4 5 7 8 12 13 14 17 18 19 20 25 26 28 29 30 32 34 38 39 40 41 42 43 46 48 66 71

Rzecz jasna dla UL CA nie ma żadnych konfiguracji - działa automatycnie UL 2CA jeśli BTS obsługuje.

AT+XACT? zwraca aktualnie dla L860-GL-16:

AT+XACT?
+XACT: 4,2,1,1,2,4,5,8,101,102,103,104,105,107,108,112,113,114,117,118,119,120,125,126,128,129,130,132,134,138,139,140,141,142,143,146,148,166,171

Pozdr,

206

(48 odpowiedzi, napisanych Sprzęt / Hardware)

@IceG na tym profilu 8087095a oczywiście działa, jedynie wyświetla się po staremu (bez '-16') w nazwie w zakładce dot. wyboru pasm, no i ta wersja L860-GL-16 ma kilka pasm mniej albo więcej w obsłudze plus ma UL CA.

207

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Trochę nowych info.
Flashowałem modem do wersji firmware z forum 4PDA z ULCA: 18601.5001.00.01.16.12_5003.13.001.011
Stał się w teraz wersją:  Fibocom L860-GL-16

Podsyłam wyniki komend:

sh -x /usr/share/3ginfo-lite/3ginfo.sh 

sms_tool -d /dev/ttyACM0 at "AT+XCCINFO=1;+XCCINFO?"

Po nawiązaniu połączenia i z agregacją jest teraz:

root@BananaPi_BPi-R3 /root [#]# sms_tool -d /dev/ttyACM0 at "AT+XCCINFO=1;+XCCINFO?"
AT+XCCINFO=1;+XCCINFO?
+XCCINFO: 1,260,03,"03893234",3,103,"FFFF",1,"FF","CF78",0,0,0,0,0,0,0,0

root@BananaPi_BPi-R3 /root [#]# sh -x /usr/share/3ginfo-lite/3ginfo.sh
+ RES=/usr/share/3ginfo-lite
+ /usr/share/3ginfo-lite/detect.sh
uci: Entry not found
+ DEVICE=/dev/ttyACM2
+ '[' -z /dev/ttyACM2 ]
+ O=
+ '[' -e /usr/bin/sms_tool ]
+ sms_tool -D -d /dev/ttyACM2 at 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?'
+ O='AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ uci -q get '3ginfo.@3ginfo[0].network'
+ SECT=wan_lte
+ SUB=@
+ '[[' wan_lte '==' '*@*' ]]
+ uci -q get '3ginfo.@3ginfo[0].network'
+ SEC=wan_lte
+ '[' -z wan_lte ]
+ CONN_TIME=-
+ RX=-
+ TX=-
+ ifstatus wan_lte
+ grep '"up": true'
+ NETUP='       "up": true,'
+ '[' -n '      "up": true,' ]
+ uci -q -P /var/state/ get network.wan_lte.connect_time
+ CT=
+ '[' -z ]
+ ifstatus wan_lte
+ + awk '-F[:,]' '/uptime/ {print $2}'
xargs
+ CT=429
+ '[' '!' -z 429 ]
+ expr 429 / 60 / 60 / 24
+ D=0
+ expr 429 / 60 / 60 '%' 24
+ H=0
+ expr 429 / 60 '%' 60
+ M=7
+ expr 429 '%' 60
+ S=9
+ printf '%dd, %02d:%02d:%02d' 0 0 7 9
+ CONN_TIME='0d, 00:07:09'
+ ifstatus wan_lte
+ awk '-F"' '/l3_device/ {print $4}'
+ IFACE=eth2
+ '[' -n eth2 ]
+ ifconfig eth2
+ awk '-F[()]' '/bytes/ {printf "%s",$2}'
+ RX='2.7 MiB'
+ ifconfig eth2
+ awk '-F[()]' '/bytes/ {printf "%s",$4}'
+ TX='346.4 KiB'
+ echo 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ awk '-F[, ]' '/^\+CSQ/ {print $2}'
+ CSQ=6
+ '[' x6 '=' x ]
+ '[' 6 -ge 0 -a 6 -le 31 ]
+ CSQ_PER=19
+ COPS=
+ COPS_MCC=
+ COPS_MNC=
+ echo 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ awk '-F["]' '/^\+COPS: .,2/ {print $2}'
+ COPS_NUM=26003
+ '[' -n 26003 ]
+ COPS_MCC=260
+ COPS_MNC=03
+ '[' -z  ]
+ echo 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ awk '-F["]' '/^\+COPS: .,0/ {print $2}'
+ COPS=Orange
+ '[' -z Orange ]
+ echo Orange
+ sed ':s;s/\(\<\S*\>\)\(.*\)\<\1\>/\1\2/g;ts'
+ COPZ=Orange
+ echo Orange
+ awk '{for(i=1;i<=NF;i++){ $i=toupper(substr($i,1,1)) substr($i,2) }}1'
+ COPS=Orange
+ sms_tool -d /dev/ttyACM2 at 'AT+COPS?'
+ sed -n 2p
+ tr -d '\r'
+ cut -d '"' -f2
+ isp=26003
+ isp_num='260 03'
+ isp_numws=26003
+ '[[' Orange '=' '260 03' '||' Orange '=' 26003 ]]
+ LOCATIONFILE=/tmp/location
+ '[' -e /tmp/location ]
+ touch /tmp/location
+ cat /tmp/location
+ LOC=Poland
+ '[' -n Poland ]
+ cat /tmp/location
+ LOC=Poland
+ echo 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ xargs
+ awk '-F[, ]' '/^\+CPIN:/ {print $0;exit}'
+ T='+CPIN: READY'
+ '[' -n '+CPIN: READY' ]
+ '[' '+CPIN: READY' '=' '+CPIN: READY' ]
+ echo 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ awk '-F[, ]' '/^\+CME ERROR:/ {print $0;exit}'
+ T=
+ '[' -n  ]
+ echo 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?
+CPIN: READY

+CSQ: 6,3

+COPS: 0,0,"Orange",7

+COPS: 0,2,"26003",7

+CREG: 2,1,"CF78","03893234",7

'K
+ awk '-F[,]' '/^\+CREG/ {gsub(/[[:space:]"]+/,"");printf "T=\"%d\";LAC_HEX=\"%X\";CID_HEX=\"%X\";LAC_DEC=\"%d\";CID_DEC=\"%d\";MODE_NUM=\"%d\"", $2, "0x"$3, "0x"$4, "0x"$3, "0x"$4, $5}'
+ eval 'T="1";LAC_HEX="CF78";CID_HEX="3893234";LAC_DEC="53112";CID_DEC="59322932";MODE_NUM="7"'
+ T=1
+ LAC_HEX=CF78
+ CID_HEX=3893234
+ LAC_DEC=53112
+ CID_DEC=59322932
+ MODE_NUM=7
+ REG=1
+ '[' -z 7 ]
+ '[' x7 '=' x0 ]
+ MODE=LTE
+ sms_tool -d /dev/ttyACM2 at at+cereg
' OTX='at+cereg
' echo 'at+cereg
+ + sedawk 's/[^A-F0-9]//g' '-F[,]' '/^\+CEREG/ {printf "%s", toupper($3)}'

+ TAC=
+ '[' x '!=' x ]
+ TAC=-
+ TAC_HEX=-
+ uci -q get '3ginfo.@3ginfo[0].device'
+ CONF_DEVICE=/dev/ttyACM2
+ echo x/dev/ttyACM2
+ grep -q 192.168.
+ '[' -e /usr/bin/sms_tool ]
+ REGOK=0
+ '[' x1 '=' x1 ]
+ REGOK=1
+ getdevicevendorproduct /dev/ttyACM2
+ basename /dev/ttyACM2
+ devname=ttyACM2
+ readlink -f /sys/class/tty/ttyACM2/device
+ devpath=/sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.1/1-1.1:1.4
+ T=/sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.1
+ cat /sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.1/idVendor
+ cat /sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.1/idProduct
+ echo usb/8087095a
+ VIDPID=usb/8087095a
+ '[' -e /usr/share/3ginfo-lite/modem/usb/8087095a ]
+ cat /tmp/sysinfo/board_name
+ . /usr/share/3ginfo-lite/modem/usb/8087095a
+ sms_tool -d /dev/ttyACM2 at 'at+xlec?;+rsrp?;+rsrq?;+xmci=1'
+ O='at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:_]' '/\+XLEC:/{gsub("\r",""); print $4}'
+ awk -F '[:,]' '{print $1}'
+ T=3
+ '[' -n 3 ]
+ band 3
+ echo -n B3
+ echo ' (1800 MHz)'
+ MODE='LTE B3 (1800 MHz)'
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+RSRP:/{printf "%.0f\n", $4}'
+ RSRP=-99
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+XLEC:/{gsub("\r","",$4); print $4}'
+ BWDL=3
+ NP=50
+ echo -99 50
+ awk '{printf "%.0f\n", (($1+10*log(12*$2)/log(10))+113)/2}'
+ CSQ=21
+ '[' x21 '=' x ]
+ '[' 21 -ge 0 -a 21 -le 31 ]
+ CSQ_PER=67
+ RSSI=-71
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+RSRQ:/{printf "%.0f\n", $4}'
+ RSRQ=-11
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+XMCI: 4/{gsub(/"/,""); printf "%.0f\n", $13/4+5}'
+ SINR=18
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+XLEC:/{print $3}'
+ LTE_Cx=2
+ LTE_CA=1
+ '[' -n LTE_CA ]
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+RSRP:/{print $6}'
+ CAx=6200
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+XLEC:/{gsub("\r",""); print $4" "$5}'
+ BWCx='3 3'
+ CA_BAND=
+ convertchannel 6200
+ band 20
+ echo -n B20
+ echo ' (800 MHz)'
+ BAND='B20 (800 MHz)'
+ CA_BAND=' / B20 (800 MHz)'
+ CABANDx=,20
+ band 3
+ echo -n B3
+ echo ' (1800 MHz)'
+ MODE='LTE-A | B3 (1800 MHz) / B20 (800 MHz)'
+ echo ,20
+ awk -F '[,]'+  '/\,/{print $2" "}'sed
 's/ //g'
+ S1=20
+ echo ,20
+ awk -F '[,]' '/\,/{print $3" "}'
+ sed 's/ //g'
+ S2=
+ echo ,20
+ awk -F '[,]' '/\,/{print $4" "}'
+ sed 's/ //g'
+ S3=
+ echo ,20
+ awk -F+  '[,]'sed '/\,/{print $5" "}' 's/ //g'

+ S4=
+ BWCA=0
+ BWCA_INFO=
+ T5=10
+ BWCA=10
+ '[[' -z ]]
+ BWCA_INFO=10
+ T5=10
+ BWCA=20
+ '[[' -z 10 ]]
+ BWCA_INFO=10,10
+ echo 10,10
+ awk -F '[,]' '/\,/{print $2" "}'
+ BW1='10 '
+ echo 10,10
+ awk -F '[,]' '/\,/{print $3" "}'
+ BW2=' '
+ echo 10,10
+ awk -F '[,]' '/\,/{print $4" "}'
+ BW3=' '
+ echo 10,10
+ awk -F '[,]' '/\,/{print $5" "}'
+ BW4=' '
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk -F '[:,]' '/\+XLEC:/{gsub("\r",""); print $4" "}'
+ T2='3 '
+ T4=10
+ '[' -n 10 ]
+ band 3
+ echo -n B3
+ echo ' (1800 MHz)'
+ PBAND='B3 (1800 MHz) @10 MHz'
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk '-F[,:]' '/^\+RSRP:/ {print $2}'
+ PCI=' 326'
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk '-F[,:]' '/^\+RSRP:/ {print $3}'
+ EARFCN=1749
+ '[' -n 20 ]
+ band 20
+ echo -n B20
+ echo ' (800 MHz)'
+ S1BAND='B20 (800 MHz) @10  MHz'
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk '-F[,:]' '/^\+RSRP:/ {print $5}'
+ S1PCI=326
+ echo 'at+xlec?;+rsrp?;+rsrq?;+xmci=1
+XLEC: 0,2,3,3,BAND_LTE_3,20,0,0,0

+RSRP: 326,1749,-99.00,326,6200,-108.00


+RSRQ: 326,1749,-11.00,326,6200,-10.00


+XMCI: 4,260,03,"0xCF78","0x03893234","0x0146","0x000006D5","0x00004D25","0xFFFFFFFF",42,19,50,"0x00000014","0x00000000"

+XMCI: 5,000,000,"0xFFFE","0xFFFFFFFF","0x0146","0x00001838","0xFFFFFFFF","0xFFFFFFFF",33,20,255,"0x7FFFFFFF","0x00000000"
'
+ awk '-F[,:]' '/^\+RSRP:/ {print $6}'
+ S1EARFCN=6200
+ '[' -n  ]
+ '[' -n  ]
+ '[' -n  ]
+ '[[' 'LTE-A | B3 (1800 MHz) / B20 (800 MHz)' '!=' '*LTE-A*' ]]
+ echo LTE-A '|' B3 '(1800' 'MHz)' / B20 '(800' 'MHz)'
+ sed s,/,+,
+ MODE='LTE-A | B3 (1800 MHz) + B20 (800 MHz)'
+ sms_tool -d /dev/ttyACM2 at 'AT+GTPKGVER?'
+ xargs
+ FWA='AT+GTPKGVER? +GTPKGVER: 18601.5001.00.01.16.12_5003.13.001.011'
+ echo 'AT+GTPKGVER? +GTPKGVER: 18601.5001.00.01.16.12_5003.13.001.011'
+ cut -d : -f2
+ xargs
+ FW=18601.5001.00.01.16.12_5003.13.001.011
+ sms_tool -d /dev/ttyACM2 at 'AT+GMM?'
+ xargs
+ MDL='AT+GMM? +GMM: L860-GL-16 LTE Module,L860-GL-16'
+ echo 'AT+GMM? +GMM: L860-GL-16 LTE Module,L860-GL-16'
+ cut -d : -f2
+ cut -d , -f1
+ awk '-F"' '{print $1}'
+ MODELM=' L860-GL-16 LTE Module'
+ sms_tool -d /dev/ttyACM2 at AT+CGMI
+ xargs
+ MODELF='AT+CGMI Fibocom'
+ echo L860-GL-16 LTE Module
+ MODELMCUT='L860-GL-16 LTE Module'
+ echo AT+CGMI Fibocom
+ sed 's/AT+CGMI //'
+ MODELFCUT=Fibocom
+ MODEL='Fibocom L860-GL-16 LTE Module'
+ sms_tool -d /dev/ttyACM2 at 'AT+MTSM=1'
+ xargs
+ TC='AT+MTSM=1 +MTSM: 53'
+ echo 'AT+MTSM=1 +MTSM: 53'
+ awk '-F[:,]' '/\+MTSM:/{print $2}'
+ T=' 53'
+ '[' -n ' 53' ]
+ TEMP=' 53 &deg;C'
+ sms_tool -d /dev/ttyACM2 at AT+CGSN
+ xargs
+ O='AT+CGSN 867921031075525'
+ echo 'AT+CGSN 867921031075525'
+ sed 's/AT+CGSN //'
+ NR_I=867921031075525
+ '[' -n 867921031075525 ]
+ NR_IMEI=867921031075525
+ sms_tool -d /dev/ttyACM2 at AT+CIMI
+ xargs
+ O='AT+CIMI 260038778378091'
+ echo 'AT+CIMI 260038778378091'
+ sed 's/AT+CIMI //'
+ NR_C=260038778378091
+ '[' -n 260038778378091 ]
+ NR_IMSI=260038778378091
+ sms_tool -d /dev/ttyACM2 at AT+CCID
+ O='AT+CCID
+CCID: 8948031438783780916F
'
+ echo 'AT+CCID
+CCID: 8948031438783780916F
'
+ + xargsawk
 -F '[:]' '/^\+CCID: /{print $2}'
+ NR_D=8948031438783780916F
+ '[' -n 8948031438783780916F ]
+ NR_ICCID=8948031438783780916F
+ cat /sys/kernel/debug/usb/devices
+ PV='
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.01
S:  Manufacturer=Linux 6.1.78 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=11200000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev= 1.11
S:  Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  5 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=095a Rev= 3.50
S:  Manufacturer=Intel Corp.
S:  Product=MODEM + 2 CDC-ACM + 3 CDC-NCM + SS
S:  SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000
C:* #Ifs=13 Cfg#= 1 Atr=e0 MxPwr=100mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
A:  FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00
A:  FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00
A:  FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00
A:  FirstIf#= 8 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00
A:  FirstIf#=10 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm
E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm
E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:  If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm
E:  Ad=89(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:  If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
I:* If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
E:  Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=0a(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#=10 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm
E:  Ad=8b(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:  If#=11 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
I:* If#=11 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
E:  Ad=8c(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#=12 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none)
E:  Ad=8d(I) Atr=03(Int.) MxPS=   4 Ivl=125us

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 6.01
S:  Manufacturer=Linux 6.1.78 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=11200000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms'
+ awk '-FVendor=8087 ProdID=07f9' '{print $2}'
+ echo T: 'Bus=01' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=480' 'MxCh=' 2 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 2.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0002' 'Rev=' 6.01 S: 'Manufacturer=Linux' 6.1.78 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=11200000.usb' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms' T: 'Bus=01' 'Lev=01' 'Prnt=01' 'Port=00' 'Cnt=01' 'Dev#=' 2 'Spd=480' 'MxCh=' 4 D: 'Ver=' 2.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=1a40' 'ProdID=0101' 'Rev=' 1.11 S: 'Product=USB' 2.0 Hub 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=100mA' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 1 'Ivl=256ms' T: 'Bus=01' 'Lev=02' 'Prnt=02' 'Port=00' 'Cnt=01' 'Dev#=' 5 'Spd=480' 'MxCh=' 0 D: 'Ver=' 2.10 'Cls=ef(misc' ')' 'Sub=02' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=8087' 'ProdID=095a' 'Rev=' 3.50 S: 'Manufacturer=Intel' Corp. S: 'Product=MODEM' + 2 CDC-ACM + 3 CDC-NCM + SS S: 'SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000' 'C:*' '#Ifs=13' 'Cfg#=' 1 'Atr=e0' 'MxPwr=100mA' A: 'FirstIf#=' 0 'IfCount=' 2 'Cls=02(comm.)' 'Sub=02' 'Prot=01' A: 'FirstIf#=' 2 'IfCount=' 2 'Cls=02(comm.)' 'Sub=02' 'Prot=00' A: 'FirstIf#=' 4 'IfCount=' 2 'Cls=02(comm.)' 'Sub=02' 'Prot=00' A: 'FirstIf#=' 6 'IfCount=' 2 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' A: 'FirstIf#=' 8 'IfCount=' 2 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' A: 'FirstIf#=10' 'IfCount=' 2 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=01' 'Driver=cdc_acm' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' 'I:*' 'If#=' 1 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=82(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=02(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 2 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=83(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' 'I:*' 'If#=' 3 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=84(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=04(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 4 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=85(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' 'I:*' 'If#=' 5 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=86(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=06(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 6 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'Driver=cdc_ncm' E: 'Ad=87(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' I: 'If#=' 7 'Alt=' 0 '#EPs=' 0 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' 'I:*' 'If#=' 7 'Alt=' 1 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' E: 'Ad=88(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=08(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 8 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'Driver=cdc_ncm' E: 'Ad=89(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' I: 'If#=' 9 'Alt=' 0 '#EPs=' 0 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' 'I:*' 'If#=' 9 'Alt=' 1 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' E: 'Ad=8a(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=0a(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=10' 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'Driver=cdc_ncm' E: 'Ad=8b(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' I: 'If#=11' 'Alt=' 0 '#EPs=' 0 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' 'I:*' 'If#=11' 'Alt=' 1 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' E: 'Ad=8c(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=0c(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=12' 'Alt=' 0 '#EPs=' 1 'Cls=ff(vend.)' 'Sub=01' 'Prot=00' 'Driver=(none)' E: 'Ad=8d(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=125us' T: 'Bus=02' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=10000' 'MxCh=' 1 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.10 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 6.01 S: 'Manufacturer=Linux' 6.1.78 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=11200000.usb' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms'
+ PVCAX=
+ echo
+ cut -c-2453
+ PVCA=
+ awk '-FVendor=8087 ProdID=095a' '{print $2}'
+ echo T: 'Bus=01' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=480' 'MxCh=' 2 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 2.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0002' 'Rev=' 6.01 S: 'Manufacturer=Linux' 6.1.78 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=11200000.usb' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms' T: 'Bus=01' 'Lev=01' 'Prnt=01' 'Port=00' 'Cnt=01' 'Dev#=' 2 'Spd=480' 'MxCh=' 4 D: 'Ver=' 2.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=1a40' 'ProdID=0101' 'Rev=' 1.11 S: 'Product=USB' 2.0 Hub 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=100mA' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 1 'Ivl=256ms' T: 'Bus=01' 'Lev=02' 'Prnt=02' 'Port=00' 'Cnt=01' 'Dev#=' 5 'Spd=480' 'MxCh=' 0 D: 'Ver=' 2.10 'Cls=ef(misc' ')' 'Sub=02' 'Prot=01' 'MxPS=64' '#Cfgs=' 1 P: 'Vendor=8087' 'ProdID=095a' 'Rev=' 3.50 S: 'Manufacturer=Intel' Corp. S: 'Product=MODEM' + 2 CDC-ACM + 3 CDC-NCM + SS S: 'SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000' 'C:*' '#Ifs=13' 'Cfg#=' 1 'Atr=e0' 'MxPwr=100mA' A: 'FirstIf#=' 0 'IfCount=' 2 'Cls=02(comm.)' 'Sub=02' 'Prot=01' A: 'FirstIf#=' 2 'IfCount=' 2 'Cls=02(comm.)' 'Sub=02' 'Prot=00' A: 'FirstIf#=' 4 'IfCount=' 2 'Cls=02(comm.)' 'Sub=02' 'Prot=00' A: 'FirstIf#=' 6 'IfCount=' 2 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' A: 'FirstIf#=' 8 'IfCount=' 2 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' A: 'FirstIf#=10' 'IfCount=' 2 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=01' 'Driver=cdc_acm' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' 'I:*' 'If#=' 1 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=82(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=02(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 2 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=83(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' 'I:*' 'If#=' 3 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=84(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=04(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 4 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=85(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' 'I:*' 'If#=' 5 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=02' 'Prot=00' 'Driver=cdc_acm' E: 'Ad=86(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=06(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 6 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'Driver=cdc_ncm' E: 'Ad=87(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' I: 'If#=' 7 'Alt=' 0 '#EPs=' 0 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' 'I:*' 'If#=' 7 'Alt=' 1 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' E: 'Ad=88(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=08(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=' 8 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'Driver=cdc_ncm' E: 'Ad=89(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' I: 'If#=' 9 'Alt=' 0 '#EPs=' 0 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' 'I:*' 'If#=' 9 'Alt=' 1 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' E: 'Ad=8a(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=0a(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=10' 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=0d' 'Prot=00' 'Driver=cdc_ncm' E: 'Ad=8b(I)' 'Atr=03(Int.)' 'MxPS=' 64 'Ivl=1ms' I: 'If#=11' 'Alt=' 0 '#EPs=' 0 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' 'I:*' 'If#=11' 'Alt=' 1 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=01' 'Driver=cdc_ncm' E: 'Ad=8c(I)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' E: 'Ad=0c(O)' 'Atr=02(Bulk)' 'MxPS=' 512 'Ivl=0ms' 'I:*' 'If#=12' 'Alt=' 0 '#EPs=' 1 'Cls=ff(vend.)' 'Sub=01' 'Prot=00' 'Driver=(none)' E: 'Ad=8d(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=125us' T: 'Bus=02' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=10000' 'MxCh=' 1 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.10 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 6.01 S: 'Manufacturer=Linux' 6.1.78 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=11200000.usb' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=hub' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms'
+ PVCBX=' Rev= 3.50 S: Manufacturer=Intel Corp. S: Product=MODEM + 2 CDC-ACM + 3 CDC-NCM + SS S: SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000 C:* #Ifs=13 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01 A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#= 8 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#=10 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=87(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0a(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=10 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=8b(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#=11 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#=11 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8c(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=12 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none) E: Ad=8d(I) Atr=03(Int.) MxPS= 4 Ivl=125us T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 P: Vendor=1d6b ProdID=0003 Rev= 6.01 S: Manufacturer=Linux 6.1.78 xhci-hcd S: Product=xHCI Host Controller S: SerialNumber=11200000.usb C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms'
+ echo ' Rev= 3.50 S: Manufacturer=Intel Corp. S: Product=MODEM + 2 CDC-ACM + 3 CDC-NCM + SS S: SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000 C:* #Ifs=13 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01 A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#= 8 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#=10 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=87(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0a(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=10 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=8b(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#=11 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#=11 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8c(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=12 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none) E: Ad=8d(I) Atr=03(Int.) MxPS= 4 Ivl=125us T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 P: Vendor=1d6b ProdID=0003 Rev= 6.01 S: Manufacturer=Linux 6.1.78 xhci-hcd S: Product=xHCI Host Controller S: SerialNumber=11200000.usb C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms'
+ cut -c-2453
+ PVCB=' Rev= 3.50 S: Manufacturer=Intel Corp. S: Product=MODEM + 2 CDC-ACM + 3 CDC-NCM + SS S: SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000 C:* #Ifs=13 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01 A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#= 8 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#=10 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=87(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0a(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=10 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=8b(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#=11 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#=11 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8c(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=12 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none) E: Ad=8d(I) Atr=03(Int.) MxPS= 4 Iv'
+ '[' -n  ]
+ '[' -n ' Rev= 3.50 S: Manufacturer=Intel Corp. S: Product=MODEM + 2 CDC-ACM + 3 CDC-NCM + SS S: SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000 C:* #Ifs=13 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01 A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00 A: FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#= 8 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 A: FirstIf#=10 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=87(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0a(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=10 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm E: Ad=8b(I) Atr=03(Int.) MxPS= 64 Ivl=1ms I: If#=11 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm I:* If#=11 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm E: Ad=8c(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#=12 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none) E: Ad=8d(I) Atr=03(Int.) MxPS= 4 Iv' ]
+ PROTO=ncm
+ cat
{
"connt":"0d, 00:07:09",
"conntx":"346.4 KiB",
"connrx":"2.7 MiB",
"modem":"Fibocom L860-GL-16 LTE Module",
"mtemp":" 53 &deg;C",
"firmware":"18601.5001.00.01.16.12_5003.13.001.011",
"cport":"/dev/ttyACM2",
"protocol":"ncm",
"csq":"21",
"signal":"67",
"operator_name":"Orange",
"operator_mcc":"260",
"operator_mnc":"03",
"location":"Poland",
"mode":"LTE-A | B3 (1800 MHz) + B20 (800 MHz)",
"registration":"1",
"simslot":"",
"imei":"867921031075525",
"imsi":"260038778378091",
"iccid":"8948031438783780916F",
"lac_dec":"53112",
"lac_hex":"CF78",
"tac_dec":"",
"tac_hex":"-",
"tac_h":"",
"tac_d":"",
"cid_dec":"59322932",
"cid_hex":"3893234",
"pci":" 326",
"earfcn":"1749",
"pband":"B3 (1800 MHz) @10 MHz",
"s1band":"B20 (800 MHz) @10  MHz",
"s1pci":"326",
"s1earfcn":"6200",
"s2band":"",
"s2pci":"",
"s2earfcn":"",
"s3band":"",
"s3pci":"",
"s3earfcn":"",
"s4band":"",
"s4pci":"",
"s4earfcn":"",
"rsrp":"-99",
"rsrq":"-11",
"rssi":"-71",
"sinr":"18"
}
+ exit 0
root@BananaPi_BPi-R3 /root [#]#

@IceG dałbyś rade zrobić do niego profil do modemband na podstawie tych info ?
Czy podesłać coś jeszcze?

@Cezary teraz +CREG zgłasza: 2,1 i bez problemu dostaje DNS'y z sieci.

Pozdr,

Cezary napisał/a:

Usuń skrypty które pobrałeś i zrobiłeś, zrób tylko

rm /etc/rc.button/wps
ln -s /etc/rc.button/rfkill /etc/rc.button/wps

Jest to w poradniku.

Tak jak napisał @Cezary, sprawdziłem przed chwilą. Działa bez problemu.
Pierwsze krótkie naciśniecie guziorka 'WPS' wyłącza całkiem WiFi (oba), kolejne naciśnięcie je załącza.

Testowane na :

OpenWrt SNAPSHOT, r25252-63f7ced2f0

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.78 #0 SMP Mon Feb 19 20:40:06 2024 aarch64 GNU/Linux

Ok,
dotarły mi wiatraczki z Ali (no i chińczyk dosyła także na wymianę oryginalny od Sinovoip co niedziałał, zobaczymy co przyjdzie).

Pierwszy test wiatraczka PWM slot FAN 3pin 5V -> model YOUNG LIN DFB501005H DC 5V 1.1W Brushless

Podłączenie przewodów (u mnie przyszedł z kabelkiem z kolorami RED, BLACK, YELLOW, BLUE):
RED to +5V
BLACK to GND
BLUE to PWM

Takie nastawy powodują, że na wolnym biegu ładnie trzyma stabilne temperatury CPU: 44-45 st. C; WiFi 2.4Ghz: 53-54 st. C; WiFi 5GHz: 56-57 st. C; obudowa zamknięta i radiator oryginalny Sinovoip. Wiatraczek na tym biegu jest praktycznie bezgłośny i nie wchodzi na wyższe obroty:

echo 35000 > /sys/class/thermal/thermal_zone0/trip_point_4_temp
echo 40000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp
echo 45000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp
echo 60000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
echo 75000 > /sys/class/thermal/thermal_zone0/trip_point_0_temp

root@BananaPi_BPi-R3 /root [#]# cat /sys/class/thermal/cooling_device0/cur_state
1
root@BananaPi_BPi-R3 /root [#]# sensors
sfp_1-isa-0000
Adapter: ISA adapter
VCC:           3.30 V  (crit min =  +3.04 V, min =  +3.04 V)
                       (max =  +3.46 V, crit max =  +3.46 V)
temperature:  +51.8°C  (low  = -40.0°C, high = +85.0°C)
                       (crit low = -40.0°C, crit = +85.0°C)
TX_power:      0.00 W  (max =   3.20 mW, min =   1.12 mW)  ALARM (MIN, LCRIT)
                       (lcrit =   1.12 mW, crit =   3.20 mW)
RX_power:      0.00 W  (max = 160.00 uW, min =   2.00 uW)  ALARM (MIN, LCRIT)
                       (lcrit =   2.00 uW, crit = 160.00 uW)
bias:          5.00 mA (crit min =  +0.00 A, min =  +0.00 A)
                       (max =  +0.04 A, crit max =  +0.04 A)

mt7915_phy0-isa-18000000
Adapter: ISA adapter
temp1:        +57.0°C  (high = +120.0°C, crit = +110.0°C)

cpu_thermal-virtual-0
Adapter: Virtual device
temp1:        +44.2°C  (crit = +75.0°C)

mt7915_phy1-isa-18000000
Adapter: ISA adapter
temp1:        +53.0°C  (high = +120.0°C, crit = +110.0°C)

root@BananaPi_BPi-R3 /root [#]#

Dostępny -> https://pl.aliexpress.com/item/1005005885368648.html

Jak znajdę chwilę potestuję też wiatraczek 12V w złączu 4pin SATA-> model Protechnic MAGIC MGT5012LR-W10 DC 12V 0.08A

Tak jak pisze @Cezary masz skrypty 'wps' i 'reset':

root@BananaPi_BPi-R3 /root [#]# ls /etc/rc.button/
failsafe  power     reboot    reset     rfkill    wps
root@BananaPi_BPi-R3 /root [#]# cat /etc/rc.button/wps
#!/bin/sh

wps_catch_credentials() {
        local iface ifaces ifc ifname ssid encryption key radio radios
        local found=0

        . /usr/share/libubox/jshn.sh
        ubus -S -t 30 listen wps_credentials | while read creds; do
                json_init
                json_load "$creds"
                json_select wps_credentials || continue
                json_get_vars ifname ssid key encryption
                local ifcname="$ifname"
                json_init
                json_load "$(ubus -S call network.wireless status)"
                json_get_keys radios
                for radio in $radios; do
                        json_select $radio
                        json_select interfaces
                        json_get_keys ifaces
                        for ifc in $ifaces; do
                                json_select $ifc
                                json_get_vars ifname
                                [ "$ifname" = "$ifcname" ] && {
                                        ubus -S call uci set "{\"config\":\"wireless\", \"type\":\"wifi-iface\",                \
                                                                \"match\": { \"device\": \"$radio\", \"encryption\": \"wps\" }, \
                                                                \"values\": { \"encryption\": \"$encryption\",                  \
                                                                                \"ssid\": \"$ssid\",                            \
                                                                                \"key\": \"$key\" } }"
                                        ubus -S call uci commit '{"config": "wireless"}'
                                        ubus -S call uci apply
                                }
                                json_select ..
                        done
                        json_select ..
                        json_select ..
                done
        done
}

if [ "$ACTION" = "released" ] && [ "$BUTTON" = "wps" ]; then
        # If the button was pressed for 3 seconds or more, trigger WPS on
        # wpa_supplicant only, no matter if hostapd is running or not.  If
        # was pressed for less than 3 seconds, try triggering on
        # hostapd. If there is no hostapd instance to trigger it on or WPS
        # is not enabled on them, trigger it on wpa_supplicant.
        if [ "$SEEN" -lt 3 ] ; then
                wps_done=0
                ubusobjs="$( ubus -S list hostapd.* )"
                for ubusobj in $ubusobjs; do
                        ubus -S call $ubusobj wps_start && wps_done=1
                done
                [ $wps_done = 0 ] || return 0
        fi
        wps_done=0
        ubusobjs="$( ubus -S list wpa_supplicant.* )"
        for ubusobj in $ubusobjs; do
                ifname="$(echo $ubusobj | cut -d'.' -f2 )"
                multi_ap=""
                if [ -e "/var/run/wpa_supplicant-${ifname}.conf.is_multiap" ]; then
                        ubus -S call $ubusobj wps_start '{ "multi_ap": true }' && wps_done=1
                else
                        ubus -S call $ubusobj wps_start && wps_done=1
                fi
        done
        [ $wps_done = 0 ] || wps_catch_credentials &
fi

return 0
root@BananaPi_BPi-R3 /root [#]#
root@BananaPi_BPi-R3 /root [#]# cat /etc/rc.button/reset
#!/bin/sh

. /lib/functions.sh

OVERLAY="$( grep ' /overlay ' /proc/mounts )"

case "$ACTION" in
pressed)
        [ -z "$OVERLAY" ] && return 0

        return 5
;;
timeout)
        . /etc/diag.sh
        set_state failsafe
;;
released)
        if [ "$SEEN" -lt 1 ]
        then
                echo "REBOOT" > /dev/console
                sync
                reboot
        elif [ "$SEEN" -ge 5 -a -n "$OVERLAY" ]
        then
                echo "FACTORY RESET" > /dev/console
                jffs2reset -y && reboot &
        fi
;;
esac

return 0
root@BananaPi_BPi-R3 /root [#]#

Przeanalizuj sobie zawartość, zrozumiesz jak działają te guziorki ...

Pozdr,

Ogólnie WPS i RESET działają jak mają działać. O co pytasz konkretnie?

PTYS napisał/a:

dzięki za prace twoje posty naprawdę wiele wnoszą w temacie tego routera

Dzięki.

Jeśli masz wpięty wiatraczek do złącza FAN 3pin (oryginalne wiatraczki Sinovoip), to masz obsługę PWM z kernela i tak nim sterujesz:

Odczyt domyślnych progów (trip pointów) zapodanych podczas kompilacji:

cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
cat /sys/class/thermal/thermal_zone0/trip_point_2_temp
cat /sys/class/thermal/thermal_zone0/trip_point_3_temp
cat /sys/class/thermal/thermal_zone0/trip_point_4_temp

root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
125000
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
120000
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/thermal_zone0/trip_point_2_temp
115000
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/thermal_zone0/trip_point_3_temp
85000
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/thermal_zone0/trip_point_4_temp
60000

Próg dolny to: trip_point_4_temp a 60000 oznacza 60 st. C.
Wówczas wiatraczek domyślnie startuje jak temperatura CPU  osiągnie 60 st. C (na pierwszym trybie prędkości).

Na jakiej prędkości aktualnie działa wiatraczek można zobaczyć komendą:

root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/cooling_device0/cur_state
0
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/cooling_device0/cur_state
1
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/cooling_device0/cur_state
2

gdzie:
0 - nie działa (zatrzymany)
1 - działa na pierwszej prędkości
2 - działa na drugiej prędkości

Zmienić progi 'na stałe' można poprzez dodanie do: /etc/rc.local przed 'exit 0' linijek j/n i reboot routera:

echo 45000 > /sys/class/thermal/thermal_zone0/trip_point_4_temp
echo 50000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp
echo 55000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp
echo 60000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
echo 75000 > /sys/class/thermal/thermal_zone0/trip_point_0_temp

45000 - oznacza 45 st. C -> od takiej temperatury CPU teraz będzie startował wiatraczek

Ręczne wymuszenie prędkości, choć działa to przez chwilę bo automatyka kernela co chwilę (co kilka sekund) sprawdza temperatury:

echo 1 > /sys/class/thermal/cooling_device0/cur_state
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/cooling_device0/cur_state
1

echo 2 > /sys/class/thermal/cooling_device0/cur_state
root@Banana_Pi_BPI-R3:~# cat /sys/class/thermal/cooling_device0/cur_state
2

Jaki jest poziom wypełnienia fali PWM (trzeci żółty przewód wiatraczka, sterowanie prędkością) można zobaczyć komendą:

cat /sys/devices/platform/pwm-fan/hwmon/hwmon1/pwm1

root@Banana_Pi_BPI-R3:~# cat /sys/devices/platform/pwm-fan/hwmon/hwmon1/pwm1
96

Tu wartości zazwyczaj są:
255 - pierwszy bieg obrotowy
96 - drugi bieg obrotowy
0 - trzeci bieg obrotowy (max obrotów wiatraczka)


Ogólnie znaczenie trip pointów dla sterowania wiatrakiem w BPi-R3 jest:
==========================================
[trip_point]    [mode]   [fan_speed]                [pwm_value]
trip_point_4   → active   → fan running normal   → pwm1 = 255
trip_point_3   → active   → fan running fast        → pwm1 = 96
trip_point_2   → active   → fan running very fast → pwm1 = 0
trip_point_1   → hot       → fan running normal   → pwm1 = 255
trip_point_0   → critical  → reboot
==========================================


Miłego testowania wink

214

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Trochę przydatnych komend AT dla modemów Fibocom L860-GL poniżej.

Co najważniejsze, można rebootować sam modem komendą: AT+CFUN=15

By the way, regarding FCC unlock, I found a normal command, not nvm:
AT+GTFCCLOCKMODEUNLOCK

View software version. Shows the firmware version and the installed vendor:
AT+GTPKGVER?

View IMEI
AT+CGSN?

SIM card status
at+cpin?

Shows the presence of SIM cards in
AT+GTSIMINIT trays?

SIM slot readiness state
at@uicc:get_card_state()

Active SIM slot: 0-first (prymary), 1-second (secondary)
AT+CSUS?

SIM capabilities
at@uicc:get_sim_capabilities()

SIM card test: primary and secondary
at@uicc:testanysimprimary()
at@uicc:testanysimsecondary()

Temperature check
AT+MTSM=1

Switching modem operating modes. *In modern firmware there are only a few active modes: 0.10 - NCM, 7 - MBIM (860 only via PCI line), 11 - NCM (but with other pid/vid - Intel). Don't believe me? Check it out for yourself! Switch all modes one by one and see the system logs, how and with which ports the modem is presented to the device.
NCM
at@nvm:cal_usbmode.num=0

NCM
at@nvm:cal_usbmode.num=10

Save the selected mode
at@store_nvm(cal_usbmode)

Reboot the modem
AT+CFUN=15

View enabled bands
at+xact?

Enable only a specific band. For example b7 - will be 107, b20 - 120
at+xact=2,,,10x

Unblock all LTE bands
at+xact=2,,,0

View active aggregation
at+xlec?

View metrics. Two commands are entered: the first enables the second
at@emac:enable_metric_config( )
at@emac:ul_dl_modulation_metric_status( )

Find out which band is participating in the UL. With a working ULCA there will be two of them.
at@errc:pcell_scell_ul_band_bw_info( )

Find out on which carriers the MIMO mode works
at@errc:pcell_scell_mimoLayer_status( )

Antenna metrics
at@errc:pcell_scell_measurement_info( )

Display available aggregation combinations, according to the selected bands *When ULCA is enabled, there will be combinations like: 7 CC +BWCS-7, where the main thing is CC, meaning: a pair of adjacent carriers in B7, and for an uplink - these two carriers in B7 simultaneously
at@sic:ca_info(0)

Information on antenna ports (0) - brief, (1) - expanded
at@xrf:get_antenna_port(1)

Prohibiting any aggregation
at@sic:ca_disable(0)

Restoring the possibility of aggregation
at@sic:ca_restore(0)

In theory, this command can control the combination itself - in what order the carriers will go. However, this command is only for minor carriers.
at@xrs:ca_config()??
ca_config(ul_ca_enable,scell_band_1,scell_earfcn_1,scell_band_2,scell_earfcn_2,scell_band_3,scell_earfcn_3,scell_band_4,scell_earfcn_4,scell_mimo) [%d %u %u %u %u ... %u~0 %u~0 %u~0 %u ~0 %qu~0] AL=PRODUCTION/test/sec
Configure carrier aggregation for LTE.

Displays active modem services.
at@sysmon:info_print()??
info_print() [] AL=PRODUCTION/test/sec
Print event collector table command

This command can be used to enable or disable services. For example, Watchdog. In theory, it’s not fucking needed on Kinetics, because... The original Kinetic will reboot the modem itself. But this can also be done using the modem itself.
at@sysmon:entity_enable()??
entity_enable($entity_name , $enable) [%s[16] %d] AL=PRODUCTION/test/sec
Enable or disable a Sysmon entity. Using a star '*' as entity name will proceed all of them.
Examples:
at@sysmon:entity_enable("Pow NK",1) -> will enable "Pow NK" entity.
at@sysmon:entity_enable("*",0) -> will disable all entities.

This command sets values for each of the services
at@sysmon:set_supervisors_durations()??
set_supervisors_durations($entity_name , $duration_for_supervisor) [%s[16] %d] AL=PRODUCTION/test/sec
The command will set the supervisors durations
use: at@sysmon:set_supervisors_durations("entity_name", Duration)
entity_name valid_range(in ticks )
IUI 1-7800
Bottom Half 1-26000
Watchdog 1-780000000
Timer_CB_LPRT 1-52000
Timer_CB_HPRT 1-520

Will show the protocol used to connect the modem: USB 1.0/2.0/3.0
at@usbmwtestfw:usb_get_enum_speed()

There are perverts who watch iptv multicast using lte traffic. There is a small bonus for them. It seems like this command enables 256QAM for multicast traffic:
at@nvm:dyn_cps.instance[0].lte_caps.dl_256qam_mbms_support=1
at@nvm:store_nvm(dyn_cps)

Switching SIM cards:
second slot
at@nvm:dyn_cps_dssa_prsrv.msim_config.ps_pref_slot= 1
at@nvm:store_nvm(dyn_cps_dssa_prsrv)

first slot
at@nvm:dyn_cps_dssa_prsrv.msim_config.ps_pref_slot=0
at@nvm:store_nvm(dyn_cps_dssa_prsrv)

*Does not work on all firmware! On new software versions higher than 18601...16.11 (HP) and 18601...16.12 (Lenovo), switching is not arbeiten. The exception is 18601...16.48 (HP)
On more recent firmware, a change in SIM slots was found by nufrog


Find out PCI ERRFCH and signal level on all carriers,participating in aggregationwhich the modem “hears”:
AT+RSRP?
(PCI, EARFCN, signal level,...)

Locking the carrier frequency
at@sic:freq_lock(0,3,band,1,EARFCN,PCI)
where 0 is a constant; 3- rat (LTE); Band - either 7 or 107 is indicated; 1 - allow / 0 disable fixation; EARFCN and PCI are specified in decimal notation.
Afterwards a restart is required. For Kinetic, a reboot is not needed, just distort the connection at+cfun=4
at+cfun=15
The modem will reboot and, if everything was done correctly, connect to the operator at the frequency specified. To enable aggregation (if it did not pull itself up on its own), you just need to enter the command to disable committing, nothing more, you no longer need to reboot.
at@sic:freq_lock(0,3,band,0,EARFCN,PCI)
*Does not work on KeenOS 3.9.x-4.0.x. As soon as they fix it, I'll remove it.
It looks like it won't be fixed and the crutch needs to be laid out. We enter a command to fix the carrier and change the state of any unused band to the opposite, i.e. If it was turned on, then turn it off and vice versa. The connection will restart on the selected carrier, and aggregation will be improved as a bonus. I can’t help but note that if the SIM card is installed in the second slot, then the command works without on/off bands. For some, even without the additional command at+cfun=4, it just happens after a while. The aggregation itself is also tightened.

You should probably post the command itself as it is:
at@sic:freq_lock()??
freq_lock($sim_id $rat $band $inter_frequency_lock_enable $frequency $psc_pci) [%qu %qu %qu %qu %lu %hu] AL=PRODUCTION/test/sec
Command to set the frequency lock configuration, which shall be used in UE to register to a PLMN particular to the frequency info provided by the user


Find out the modem ID version (hwid)
at@hwid:ver_hwid_get_id(6)

#dec_convert to hex
0000_0
1135_46F
1208_4B8
1209_4B9
1210_4BA
1242_4DA
1243_4DB
1244_4DC
1246_4DE
1257_4E9
1258_4EA
1259_4EB
1272_4F8
1273_4F9
1274_4FA
1275_4FB
1276_4FC
1277_4FD
1278_4FE
1279_4FF
1319_527
1384_568
1385_569
1390_56E
1391_56F
1392_570
1393_571
1630_65E
1631_65F
1632_660
1687_697
1688_698
1689_699
1690_69A
9999_270F

Dostępne są także modowane firmware na forum 4PDA z obsługą agregacji w upload: UL_CA.
Jak dotrze przejściowka na USB, to może wrzucę taki i zrobię testy.

Postanowiłem opisać dla przyszłych użytkowników trochę 'mojej walki' ze stabilnym działaniem BPi-R3.
Płytka jest całkiem poczciwa ale wymaga jak zwykle takie DYI trochę dopieszczenia.

Ja kupiłem na Ali cały zestaw: BPi-R3 + obudowa + oryginalny radiator z fan od Sinovoip, karta SD i zasilacz 12V 2A.

Ogólnie mogło by się wydawać , że jest wszystko dobre ale nie do końca ...

1.) Problemy z oryginalnym coolerem FAN 5V z PWM.

Dostałem radiator + fan oryginalny od Sinovoip. W zestawie są tylko dwa thermopady, 4 chipy nie są przewidziane do chłodzenia (moim zdaniem bez sensu jak radiator obejmuje całość powierzchni na wszystkie). Ja postanowiłem zakupić dodatkowe, aby thermopady były na wszystkie chipy, dla zainteresowanych, potrzebne są:
- thermopad 0.5mm np. Gelid GP-ULTIMATE Thermopad 0.5mm 120x20mm 15W/mK
- thermopad 1.5mm np. Gelid GP-ULTIMATE Thermopad 1.5mm 120x20mm 15W/mK
i trzeba je podocinać na wymiar chipów. Są plastyczne i ładnie dolegają po dokręceniu radiatora.

Ogólnie bez podłączonego wentylatorka PWM przy takim pasywnym chłodzeniu temperatury nie są złe i urządzenie pracuje stabilnie.
U mnie temperatury wewnątrz przy zamkniętej obudowie i przy pokojowej temperaturze 22.5 st. C są:

root@BananaPi_BPi-R3 /root [#]# sensors
sfp_1-isa-0000
Adapter: ISA adapter
VCC:           3.30 V  (crit min =  +3.04 V, min =  +3.04 V)
                       (max =  +3.46 V, crit max =  +3.46 V)
temperature:  +54.8°C  (low  = -40.0°C, high = +85.0°C)
                       (crit low = -40.0°C, crit = +85.0°C)
TX_power:      0.00 W  (max =   3.20 mW, min =   1.12 mW)  ALARM (MIN, LCRIT)
                       (lcrit =   1.12 mW, crit =   3.20 mW)
RX_power:      0.00 W  (max = 160.00 uW, min =   2.00 uW)  ALARM (MIN, LCRIT)
                       (lcrit =   2.00 uW, crit = 160.00 uW)
bias:          7.00 mA (crit min =  +0.00 A, min =  +0.00 A)
                       (max =  +0.04 A, crit max =  +0.04 A)

mt7915_phy0-isa-18000000
Adapter: ISA adapter
temp1:        +64.0°C  (high = +120.0°C, crit = +110.0°C)

cpu_thermal-virtual-0
Adapter: Virtual device
temp1:        +54.6°C  (crit = +125.0°C)

mt7915_phy1-isa-18000000
Adapter: ISA adapter
temp1:        +63.0°C  (high = +120.0°C, crit = +110.0°C)

root@BananaPi_BPi-R3 /root [#]#

czyli wkładka SFP GPON: 54-55 st. C, CPU: 54-55 st. C, WiFi 2.4GHz: 63-64 st. C, WiFi 5Ghz: 64-66 st. C, stabilne i po kilku godzinach pracy routera.

Mi trafił się uszkodzony wiatraczek w radiatorze. Nie dość, że przyszedł wiatraczek jak na foto poniżej na 12V to wogóle nie działa, jest uszkodzony. Zamówiłem inne (na 5V i 12V) i opiszę uruchomienie z PWM na 5V w złączu 3pin FAN 5V i 12V na złączu SATA (jak dotrą). Wiatraczki są średnicy śmigła 47mm i rozstawem rastera montażowego 39mm x 39mm x 39mm oraz 10mm grubości (jak w kartach VGA).
Mój niedziałający FAN 12V: https://ibb.co/5FWXP79

2. Problemy z kartą SD

Dostałem kartę SD SanDisk Ultra 32GB Class A1, U1 HC 1. Spokojnie wystarcza, mogą być swobodnie mniejsze 16GB lub 8GB, ja finalnie używam 8GB (nie trzeba większej). Sam ten typ karty z BPi-R3 działa bardzo dobrze, jednakże ważne jest odpowiednie sformatowanie. Jak zrobiłem formatowanie pod Windows 10 jakimś narzędziem i wgranie image, to były problemy z bootowaniem płytki BPi-R3. Czasem się zbootowała ok, czasem nie, a czasem weszła w tryb recovery ... po reboocie i wystartowała z domyślnego czystego konfiga OpenWRT.

Problem można wyeliminować na dwa sposoby:
- przenieść się z FW OpenWRT do eMMC i tam wgrać co trzeba (wg procedurki na wiki), ustawić jumpery na boot z eMMC - i wówczas po każdym restarcie lub wyłączeniu zasilania BPi-R3 bootuje bezbłędnie
- lub odpowiednio sformatować kartę SD pod OpenWRT: wpierw wgrać image pod Windowsem, zbootować BPi-R3, uruchomić neta, ściągnąć pakiety 'wipefs' i 'lsblk' lub skompilować sobie image już z tymi pakietami i pominąć ten krok:

opkg update
opkg install wipefs lsblk

następnie spod OpenWRT sformatować kartę mmcblk0 (czyszcząc info o partycjach poprzez 'wipefs') i wgrać komendą 'dd' odpowiedni obraz .img np.:

lsblk
umount -a
wipefs -af /dev/mmcblk0
dd if=/tmp/openwrt-e30ba09c1c41-mediatek-filogic-bananapi_bpi-r3-sdcard.img of=/dev/mmcblk0

uruchomić ponownie BPi-R3 i skonfigurować. U mnie te dziwne problemy z bootowaniem  z SD ustąpiły po tym zabiegu.

3. Problemy z zasilaczem 12V

Oryginalnie w zestawie przyszedł zasilacz 12V, 2A - jakaś chińszczyzna tania (wg wagi od razu widać) i ma krótki kabelek.
Generalnie działa dobrze jak jest sama płytka BPi-R3 bez żadnych akcesoriów. Ja od razu zakładałem, że będę potrzebować innego o wiekszym amperażu i zaopatrzyłem się w zasilacz DC 12V, 3A, konieczne jak do BPi-R3 doposaży się modem LTE-A, wkładkę SFP GPON, wiatraczek FAN, dysk NVME.
- spoko zasilacz 12V 3A, dobrej jakości można kupić np. tu: https://diolut.pl/zasilacz-do-led-12v3a … 31384.html
- jednakże trzeba w nim wymienić wtyk na DC 2.1/5.5mm, np. taki: https://nowyelektronik.pl/index.php?id_ … er=product

Po takiej wymianie zasilacza nie ma problemu z wydajnością prądową zasilacza i dokładaniem akcesoriów do BPi-R3.

Objawy za słabego zasilacza: zwisy sieci WiFi lub restarty, zwis płytki BPi-R3 podczas pracy, przerwane bootowanie, restart modemu LTE (jeśli jest) - to te co ja zauważyłem, mogą być też inne.

4. Antenki LTE-A

Ja zakupiłem modem LTE-A Fibocom L860-GL, działa całkiem dobrze (uruchomienie opisałem w innym wątku). Jednakże koniecznym jest umiejscowienie 4 antenek LTE poza metalową obudową BPi-R3. Jeśli są wewnątrz metalowej obudowy to drastyczne spadają transfery. Dla modemu LTE-A (4G) wyższych kategorii np. CAT16 lub 5G ważny jest mocniejszy zasilacz. Modem dla 4-5 DL CA (agregacji nośnych DL) potrafi 'zjeść' 1.5-2 A przy 3V3 DC a to jakieś 0,5A przy 12V DC (przeliczając mocowo).

Ciąg dalszy testów SFP 1Gbps z poprzedniego posta ....


19. ALCATEL (Sumitomo Electric) 3FE25773AA 01 SCP6F86-A6-CWH - 1.25G 850nm 300m MM LC/PC (wkładka multi-modowa, także działa)

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 3709.623893] sfp sfp-2: module SumitomoElectric SCP6F86-A6-CWH   rev C    sn EXLGCN07090458   dc 070227
[ 3709.673034] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 3804.638214] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 3804.646492] br-lan: port 5(sfp2) entered blocking state
[ 3804.651717] br-lan: port 5(sfp2) entered forwarding state
[ 3805.422106] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 3805.432244] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 3805.442387] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x01 0x20 0x40 0x0c 0x05 0x00
        Transceiver type                          : Ethernet: 1000BASE-SX
        Transceiver type                          : FC: intermediate distance (I)
        Transceiver type                          : FC: Shortwave laser w/o OFC (SN)
        Transceiver type                          : FC: Multimode, 62.5um (M6)
        Transceiver type                          : FC: Multimode, 50um (M5)
        Transceiver type                          : FC: 200 MBytes/sec
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 2100MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 0km
        Length (SMF)                              : 0m
        Length (50um)                             : 300m
        Length (62.5um)                           : 150m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 850nm
        Vendor name                               : SumitomoElectric
        Vendor OUI                                : 00:00:5f
        Vendor PN                                 : SCP6F86-A6-CWH
        Vendor rev                                : C
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : EXLGCN07095408
        Date code                                 : 070927
        Optical diagnostics support               : Yes
        Laser bias current                        : 3.990 mA
        Laser output power                        : 0.2562 mW / -5.91 dBm
        Receiver signal average optical power     : 0.0010 mW / -20.10 dBm
        Module temperature                        : 36.57 degrees C / 97.83 degrees F
        Module voltage                            : 3.3281 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : On
        Laser rx power high warning               : Off
        Laser rx power low warning                : On
        Laser bias current high alarm threshold   : 10.000 mA
        Laser bias current low alarm threshold    : 1.000 mA
        Laser bias current high warning threshold : 9.000 mA
        Laser bias current low warning threshold  : 2.000 mA
        Laser output power high alarm threshold   : 0.8000 mW / -0.97 dBm
        Laser output power low alarm threshold    : 0.1000 mW / -10.00 dBm
        Laser output power high warning threshold : 0.6000 mW / -2.22 dBm
        Laser output power low warning threshold  : 0.2000 mW / -6.99 dBm
        Module temperature high alarm threshold   : 90.00 degrees C / 194.00 degrees F
        Module temperature low alarm threshold    : -40.00 degrees C / -40.00 degrees F
        Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 4.0000 V
        Module voltage low alarm threshold        : 0.0000 V
        Module voltage high warning threshold     : 3.6449 V
        Module voltage low warning threshold      : 2.9550 V
        Laser rx power high alarm threshold       : 1.6000 mW / 2.04 dBm
        Laser rx power low alarm threshold        : 0.0100 mW / -20.00 dBm
        Laser rx power high warning threshold     : 1.0000 mW / 0.00 dBm
        Laser rx power low warning threshold      : 0.0200 mW / -16.99 dBm
root@BananaPi_BPi-R3 /root [#]#

20. Sumitomo Electric SCP6G94-L4-CME - 1.25G 1550nm 80km LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 6103.387405] sfp sfp-2: module SumitomoElectric SCP6G94-L4-CME   rev N    sn 38T732601121     dc 130830
[ 6103.396905] mt7530-mdio mdio-bus:1f sfp2: switched to inband/1000base-x link mode
[ 6103.436529] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 6132.480187] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 6132.488465] br-lan: port 5(sfp2) entered blocking state
[ 6132.493687] br-lan: port 5(sfp2) entered forwarding state
[ 6135.497520] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 6135.507691] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 6135.517790] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 80km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : SumitomoElectric
        Vendor OUI                                : 00:00:5f
        Vendor PN                                 : SCP6G94-L4-CME
        Vendor rev                                : N
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 38T732601121
        Date code                                 : 130830
        Optical diagnostics support               : Yes
        Laser bias current                        : 16.634 mA
        Laser output power                        : 1.7463 mW / 2.42 dBm
        Receiver signal average optical power     : 1.5631 mW / 1.94 dBm
        Module temperature                        : 43.81 degrees C / 110.86 degrees F
        Module voltage                            : 3.2999 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 70.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 60.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 6.3095 mW / 8.00 dBm
        Laser output power low alarm threshold    : 0.5011 mW / -3.00 dBm
        Laser output power high warning threshold : 3.9810 mW / 6.00 dBm
        Laser output power low warning threshold  : 0.7943 mW / -1.00 dBm
        Module temperature high alarm threshold   : 97.00 degrees C / 206.60 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 95.00 degrees C / 203.00 degrees F
        Module temperature low warning threshold  : -15.00 degrees C / 5.00 degrees F
        Module voltage high alarm threshold       : 4.0000 V
        Module voltage low alarm threshold        : 2.8000 V
        Module voltage high warning threshold     : 3.6000 V
        Module voltage low warning threshold      : 3.0000 V
        Laser rx power high alarm threshold       : 6.5535 mW / 8.16 dBm
        Laser rx power low alarm threshold        : 0.0000 mW / -inf dBm
        Laser rx power high warning threshold     : 6.5535 mW / 8.16 dBm
        Laser rx power low warning threshold      : 0.0000 mW / -inf dBm
root@BananaPi_BPi-R3 /root [#]#

21. NOKIA 3FE25774AA 01 - 1.25G 1310nm 10km LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.78 #0 SMP Mon Feb 19 20:40:06 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 7476.514440] sfp sfp-2: module WTD              RTXM191-404      rev 3.0  sn WHTDCN17299294   dc 170915
[ 7476.563588] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 7487.205756] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7487.214033] br-lan: port 5(sfp2) entered blocking state
[ 7487.219254] br-lan: port 5(sfp2) entered forwarding state
[ 7491.580391] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 7495.001056] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 7495.011201] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x42 0x00 0x01 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: short distance (S)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : WTD
        Vendor OUI                                : 00:1c:ad
        Vendor PN                                 : RTXM191-404
        Vendor rev                                : 3.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : WHTDCN17299294
        Date code                                 : 170915
        Optical diagnostics support               : Yes
        Laser bias current                        : 12.824 mA
        Laser output power                        : 0.3204 mW / -4.94 dBm
        Receiver signal average optical power     : 0.3973 mW / -4.01 dBm
        Module temperature                        : 42.84 degrees C / 109.12 degrees F
        Module voltage                            : 3.3064 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : On
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 62.720 mA
        Laser bias current low alarm threshold    : 2.272 mA
        Laser bias current high warning threshold : 52.720 mA
        Laser bias current low warning threshold  : 2.840 mA
        Laser output power high alarm threshold   : 0.5020 mW / -2.99 dBm
        Laser output power low alarm threshold    : 0.1998 mW / -6.99 dBm
        Laser output power high warning threshold : 0.3988 mW / -3.99 dBm
        Laser output power low warning threshold  : 0.2516 mW / -5.99 dBm
        Module temperature high alarm threshold   : 100.00 degrees C / 212.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 90.00 degrees C / 194.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.5011 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0099 mW / -20.04 dBm
        Laser rx power high warning threshold     : 0.2511 mW / -6.00 dBm
        Laser rx power low warning threshold      : 0.0199 mW / -17.01 dBm
root@BananaPi_BPi-R3 /root [#]#

22. ciena GE LX/FC100 SM/FC200 SM NTTP06CFE6 05 - 1.25G 1310nm 10km LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.78 #0 SMP Mon Feb 19 20:40:06 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 8564.528718] sfp sfp-2: module WHTD             RTXM192-408NT    rev      sn WHTDCN1223012264 dc 120612
[ 8564.577836] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 8573.891427] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 8573.899708] br-lan: port 5(sfp2) entered blocking state
[ 8573.904938] br-lan: port 5(sfp2) entered forwarding state
[ 8574.072475] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 8574.082577] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 8574.472003] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x05 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 200 MBytes/sec
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 2100MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : WHTD
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : RTXM192-408NT
        Vendor rev                                :
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : WHTDCN1223012264
        Date code                                 : 120612
        Optical diagnostics support               : Yes
        Laser bias current                        : 9.280 mA
        Laser output power                        : 0.3172 mW / -4.99 dBm
        Receiver signal average optical power     : 0.3469 mW / -4.60 dBm
        Module temperature                        : 43.34 degrees C / 110.02 degrees F
        Module voltage                            : 3.3080 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 56.656 mA
        Laser bias current low alarm threshold    : 2.082 mA
        Laser bias current high warning threshold : 46.656 mA
        Laser bias current low warning threshold  : 4.164 mA
        Laser output power high alarm threshold   : 0.7943 mW / -1.00 dBm
        Laser output power low alarm threshold    : 0.0707 mW / -11.51 dBm
        Laser output power high warning threshold : 0.6309 mW / -2.00 dBm
        Laser output power low warning threshold  : 0.0891 mW / -10.50 dBm
        Module temperature high alarm threshold   : 93.00 degrees C / 199.40 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 88.00 degrees C / 190.40 degrees F
        Module temperature low warning threshold  : -5.00 degrees C / 23.00 degrees F
        Module voltage high alarm threshold       : 3.5650 V
        Module voltage low alarm threshold        : 3.0350 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.7942 mW / -1.00 dBm
        Laser rx power low alarm threshold        : 0.0062 mW / -22.08 dBm
        Laser rx power high warning threshold     : 0.6309 mW / -2.00 dBm
        Laser rx power low warning threshold      : 0.0079 mW / -21.02 dBm
root@BananaPi_BPi-R3 /root [#]#

23. WTD RTXM191-500 - 1.25G-1550nm-40km-SM-ESFP LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.78 #0 SMP Mon Feb 19 20:40:06 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 9182.106219] sfp sfp-2: module WTD              RTXM191-500      rev 3.0  sn 100199880508     dc 120208
[ 9182.155317] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 9193.077462] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9193.085739] br-lan: port 5(sfp2) entered blocking state
[ 9193.090965] br-lan: port 5(sfp2) entered forwarding state
[ 9194.254620] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 9194.384343] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 9194.394511] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x22 0x10 0x01 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: intermediate distance (I)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Longwave laser (LL)
        Transceiver type                          : FC: Single Mode (SM)
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 1200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 40km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : WTD
        Vendor OUI                                : 00:1c:ad
        Vendor PN                                 : RTXM191-500
        Vendor rev                                : 3.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 100199880508
        Date code                                 : 120208
        Optical diagnostics support               : Yes
        Laser bias current                        : 8.976 mA
        Laser output power                        : 0.6352 mW / -1.97 dBm
        Receiver signal average optical power     : 0.4333 mW / -3.63 dBm
        Module temperature                        : 38.66 degrees C / 101.58 degrees F
        Module voltage                            : 3.3144 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 39.992 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 29.990 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 1.2594 mW / 1.00 dBm
        Laser output power low alarm threshold    : 0.3163 mW / -5.00 dBm
        Laser output power high warning threshold : 1.0003 mW / 0.00 dBm
        Laser output power low warning threshold  : 0.3982 mW / -4.00 dBm
        Module temperature high alarm threshold   : 85.00 degrees C / 185.00 degrees F
        Module temperature low alarm threshold    : -5.00 degrees C / 23.00 degrees F
        Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
        Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.5011 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0062 mW / -22.08 dBm
        Laser rx power high warning threshold     : 0.5011 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0062 mW / -22.08 dBm
root@BananaPi_BPi-R3 /root [#]#

23. OCP TRPAG1ZXIBGS-HWS - 1.25G-1550nm-80km-SM-ESFP LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.78 #0 SMP Mon Feb 19 20:40:06 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 9443.408566] sfp sfp-2: module OCP              TRPAG1ZXIBGS-HWS rev 0000 sn 6254213          dc 120109
[ 9443.457737] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 9443.469295] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9443.477558] br-lan: port 5(sfp2) entered blocking state
[ 9443.482779] br-lan: port 5(sfp2) entered forwarding state
[ 9444.302038] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 9444.312215] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)
[ 9444.322316] br-lan: received packet on sfp2 with own address as source address (addr:a2:1d:43:f7:0f:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 80km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : OCP
        Vendor OUI                                : 00:0a:1d
        Vendor PN                                 : TRPAG1ZXIBGS-HWS
        Vendor rev                                : 0000
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 6254213
        Date code                                 : 120109
        Optical diagnostics support               : Yes
        Laser bias current                        : 22.204 mA
        Laser output power                        : 1.5044 mW / 1.77 dBm
        Receiver signal average optical power     : 0.5021 mW / -2.99 dBm
        Module temperature                        : 44.91 degrees C / 112.85 degrees F
        Module voltage                            : 3.3255 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 77.000 mA
        Laser bias current low alarm threshold    : 4.500 mA
        Laser bias current high warning threshold : 70.000 mA
        Laser bias current low warning threshold  : 5.500 mA
        Laser output power high alarm threshold   : 3.5481 mW / 5.50 dBm
        Laser output power low alarm threshold    : 0.8913 mW / -0.50 dBm
        Laser output power high warning threshold : 3.1623 mW / 5.00 dBm
        Laser output power low warning threshold  : 1.0000 mW / 0.00 dBm
        Module temperature high alarm threshold   : 87.00 degrees C / 188.60 degrees F
        Module temperature low alarm threshold    : -8.00 degrees C / 17.60 degrees F
        Module temperature high warning threshold : 83.00 degrees C / 181.40 degrees F
        Module temperature low warning threshold  : -7.00 degrees C / 19.40 degrees F
        Module voltage high alarm threshold       : 3.5100 V
        Module voltage low alarm threshold        : 3.1000 V
        Module voltage high warning threshold     : 3.4950 V
        Module voltage low warning threshold      : 3.1150 V
        Laser rx power high alarm threshold       : 0.7079 mW / -1.50 dBm
        Laser rx power low alarm threshold        : 0.0020 mW / -26.99 dBm
        Laser rx power high warning threshold     : 0.6310 mW / -2.00 dBm
        Laser rx power low warning threshold      : 0.0025 mW / -26.02 dBm
root@BananaPi_BPi-R3 /root [#]#

Wkładki SFP, które NIE działają w BPi-R3

1. HG Genuine MXPD-033S - 155M-1310nm-15km-SM-ESFP  LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[24593.593476] sfp sfp-2: module HG GENUINE       MXPD-033S        rev  sn MA11070111803    dc 111214
[24593.602613] mt7530-mdio mdio-bus:1f sfp2: unsupported SFP module: no common interface modes
[24593.652632] hwmon hwmon5: temp1_input not attached to any thermal zone

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: no
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x10 0x02 0x00 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : SONET: SONET reach specifier bit 1
        Transceiver type                          : SONET: OC-3, single mode, inter. reach
        Encoding                                  : 0x05 (SONET Scrambled)
        BR, Nominal                               : 100MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 15km
        Length (SMF)                              : 15000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : HG GENUINE
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : MXPD-033S
        Vendor rev                                : ____
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : MA11070111803
        Date code                                 : 111214
        Optical diagnostics support               : Yes
        Laser bias current                        : 6.960 mA
        Laser output power                        : 0.0854 mW / -10.69 dBm
        Receiver signal average optical power     : 0.1006 mW / -9.97 dBm
        Module temperature                        : 45.16 degrees C / 113.28 degrees F
        Module voltage                            : 3.3280 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 24.030 mA
        Laser bias current low alarm threshold    : 1.602 mA
        Laser bias current high warning threshold : 20.024 mA
        Laser bias current low warning threshold  : 1.602 mA
        Laser output power high alarm threshold   : 0.1697 mW / -7.70 dBm
        Laser output power low alarm threshold    : 0.0426 mW / -13.71 dBm
        Laser output power high warning threshold : 0.1348 mW / -8.70 dBm
        Laser output power low warning threshold  : 0.0536 mW / -12.71 dBm
        Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
        Module temperature low warning threshold  : -5.00 degrees C / 23.00 degrees F
        Module voltage high alarm threshold       : 3.7000 V
        Module voltage low alarm threshold        : 2.8500 V
        Module voltage high warning threshold     : 3.6300 V
        Module voltage low warning threshold      : 2.9700 V
        Laser rx power high alarm threshold       : 0.1563 mW / -8.06 dBm
        Laser rx power low alarm threshold        : 0.0016 mW / -27.96 dBm
        Laser rx power high warning threshold     : 0.1563 mW / -8.06 dBm
        Laser rx power low warning threshold      : 0.0016 mW / -27.96 dBm
root@BananaPi_BPi-R3 /root [#]#

2. WTD RTXM139-400 - 155M-1310nm-15km-SM-ESFP  LC/PC

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 8524.963793] sfp sfp-2: module WTD              RTXM139-400      rev 3.0  sn 112106420509     dc 110530
[ 8524.973281] mt7530-mdio mdio-bus:1f sfp2: unsupported SFP module: no common interface modes
[ 8525.012696] hwmon hwmon5: temp1_input not attached to any thermal zone

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ MII ]
        Supported link modes:   2500baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: no
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x10 0x02 0x10 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : SONET: SONET reach specifier bit 1
        Transceiver type                          : SONET: OC-3, single mode, inter. reach
        Transceiver type                          : Ethernet: 100BASE-LX/LX10
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 100MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 15km
        Length (SMF)                              : 15000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : WTD
        Vendor OUI                                : 00:1c:ad
        Vendor PN                                 : RTXM139-400
        Vendor rev                                : 3.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 70%
        BR margin, min                            : 90%
        Vendor SN                                 : 112106420509
        Date code                                 : 110530
        Optical diagnostics support               : Yes
        Laser bias current                        : 6.440 mA
        Laser output power                        : 0.0888 mW / -10.52 dBm
        Receiver signal average optical power     : 0.0839 mW / -10.76 dBm
        Module temperature                        : 44.91 degrees C / 112.83 degrees F
        Module voltage                            : 3.3280 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 33.512 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 23.512 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 0.1787 mW / -7.48 dBm
        Laser output power low alarm threshold    : 0.0449 mW / -13.48 dBm
        Laser output power high warning threshold : 0.1420 mW / -8.48 dBm
        Laser output power low warning threshold  : 0.0565 mW / -12.48 dBm
        Module temperature high alarm threshold   : 85.00 degrees C / 185.00 degrees F
        Module temperature low alarm threshold    : -5.00 degrees C / 23.00 degrees F
        Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
        Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.1584 mW / -8.00 dBm
        Laser rx power low alarm threshold        : 0.0015 mW / -28.24 dBm
        Laser rx power high warning threshold     : 0.1584 mW / -8.00 dBm
        Laser rx power low warning threshold      : 0.0015 mW / -28.24 dBm
root@BananaPi_BPi-R3 /root [#]#

3. GBC PHOTONICS SF-CP100C-GP - 10/100/1000Base-T RJ45 100m

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[24940.472376] sfp sfp-2: module OEM              SF-CP100C-GP     rev A    sn TD9U888267       dc 131112
[24940.567646] mt7530-mdio mdio-bus:1f sfp2: validation with support 00000000,00000000,00000000 failed: -EINVAL
[24940.577556] sfp sfp-2: sfp_add_phy failed: -EINVAL

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: no
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x08 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-T
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 0km
        Length (SMF)                              : 0m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 100m
        Length (OM3)                              : 0m
        Laser wavelength                          : 0nm
        Vendor name                               : OEM
        Vendor OUI                                : 00:53:4f
        Vendor PN                                 : SF-CP100C-GP
        Vendor rev                                : A
        Option values                             : 0x00 0x00
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : TD9U888267
        Date code                                 : 131112
root@BananaPi_BPi-R3 /root [#]#

Podsumowując -> jestem pod wrażeniem, duża ilość dostępnych wkładek SFP, zróżnicowanych producentów 2.5Gbps i 1Gbps Ethernet działa poprawnie w BPi-R3 wink Generalnie nie działają wkładki 100Mbit/s, pomimo że obsługują Ethernet.

Kolejne przetestowane wkładki SFP niebawem jak będę miał dostępne wink

Ciąg dalszy poprzedniego posta ...


8. Alcatel-Lucent 3HE00028CA MFGR P/N: SP-GB-LX-IDFN-AL - 1.25G 1310nm 10km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[23374.870157] sfp sfp-2: module SOURCEPHOTONICS  SPGBLXIDFNAL     rev 10   sn C4O2224689       dc 120306
[23374.919301] hwmon hwmon5: temp1_input not attached to any thermal zone
[23385.198743] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[23385.207019] br-lan: port 5(sfp2) entered blocking state
[23385.212243] br-lan: port 5(sfp2) entered forwarding state
[23388.851815] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[23388.861958] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[23388.872080] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : SOURCEPHOTONICS
        Vendor OUI                                : 00:1f:22
        Vendor PN                                 : SPGBLXIDFNAL
        Vendor rev                                : 10
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : C4O2224689
        Date code                                 : 120306
        Optical diagnostics support               : Yes
        Laser bias current                        : 17.152 mA
        Laser output power                        : 0.2464 mW / -6.08 dBm
        Receiver signal average optical power     : 0.3030 mW / -5.19 dBm
        Module temperature                        : 47.69 degrees C / 117.84 degrees F
        Module voltage                            : 3.2904 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 70.000 mA
        Laser bias current low alarm threshold    : 0.100 mA
        Laser bias current high warning threshold : 60.000 mA
        Laser bias current low warning threshold  : 0.200 mA
        Laser output power high alarm threshold   : 0.6310 mW / -2.00 dBm
        Laser output power low alarm threshold    : 0.1000 mW / -10.00 dBm
        Laser output power high warning threshold : 0.5012 mW / -3.00 dBm
        Laser output power low warning threshold  : 0.1259 mW / -9.00 dBm
        Module temperature high alarm threshold   : 100.00 degrees C / 212.00 degrees F
        Module temperature low alarm threshold    : -40.00 degrees C / -40.00 degrees F
        Module temperature high warning threshold : 95.00 degrees C / 203.00 degrees F
        Module temperature low warning threshold  : -35.00 degrees C / -31.00 degrees F
        Module voltage high alarm threshold       : 3.7000 V
        Module voltage low alarm threshold        : 2.9000 V
        Module voltage high warning threshold     : 3.6000 V
        Module voltage low warning threshold      : 3.0000 V
        Laser rx power high alarm threshold       : 0.6310 mW / -2.00 dBm
        Laser rx power low alarm threshold        : 0.0063 mW / -22.01 dBm
        Laser rx power high warning threshold     : 0.5012 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0079 mW / -21.02 dBm
root@BananaPi_BPi-R3 /root [#]#

9. Alcatel-Lucent 3HE00029CA 01 SCP6G94-A8-AWH - 1.25G 1550nm 80km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[23817.246370] sfp sfp-2: module SumitomoElectric SCP6G94-A8-AWH   rev A    sn 23T721622974     dc 120421
[23817.295553] hwmon hwmon5: temp1_input not attached to any thermal zone
[23825.648661] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[23825.656938] br-lan: port 5(sfp2) entered blocking state
[23825.662163] br-lan: port 5(sfp2) entered forwarding state
[23828.543251] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[23828.553386] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[23828.563473] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 80km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : SumitomoElectric
        Vendor OUI                                : 00:00:5f
        Vendor PN                                 : SCP6G94-A8-AWH
        Vendor rev                                : A
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 23T721622974
        Date code                                 : 120421
        Optical diagnostics support               : Yes
        Laser bias current                        : 12.632 mA
        Laser output power                        : 1.7399 mW / 2.41 dBm
        Receiver signal average optical power     : 1.6646 mW / -7.21 dBm
        Module temperature                        : 35.14 degrees C / 95.25 degrees F
        Module voltage                            : 3.3101 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 70.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 60.000 mA
        Laser bias current low warning threshold  : 0.100 mA
        Laser output power high alarm threshold   : 6.3095 mW / 8.00 dBm
        Laser output power low alarm threshold    : 0.5011 mW / -3.00 dBm
        Laser output power high warning threshold : 3.9810 mW / 6.00 dBm
        Laser output power low warning threshold  : 0.7943 mW / -1.00 dBm
        Module temperature high alarm threshold   : 98.00 degrees C / 208.40 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 88.00 degrees C / 190.40 degrees F
        Module temperature low warning threshold  : -43.00 degrees C / -45.40 degrees F
        Module voltage high alarm threshold       : 4.1200 V
        Module voltage low alarm threshold        : 2.8000 V
        Module voltage high warning threshold     : 3.6000 V
        Module voltage low warning threshold      : 3.0000 V
        Laser rx power high alarm threshold       : 1.0000 mW / 0.00 dBm
        Laser rx power low alarm threshold        : 0.0040 mW / -23.98 dBm
        Laser rx power high warning threshold     : 0.7944 mW / -1.00 dBm
        Laser rx power low warning threshold      : 0.0051 mW / -22.92 dBm
root@BananaPi_BPi-R3 /root [#]#

10. SUMITOMO ELECTRIC SCP6G44-H2-BWE - 1.25G-1310nm-10km-SM-ESFP

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[24221.226079] sfp sfp-2: module SumitomoElectric SCP6G44-H2-BWE   rev A    sn 07T442633358     dc 130722
[24221.275236] hwmon hwmon5: temp1_input not attached to any thermal zone
[24229.777201] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[24229.785479] br-lan: port 5(sfp2) entered blocking state
[24229.790705] br-lan: port 5(sfp2) entered forwarding state
[24238.258395] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[24238.268532] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[24238.278622] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 550m
        Length (62.5um)                           : 550m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : SumitomoElectric
        Vendor OUI                                : 00:00:5f
        Vendor PN                                 : SCP6G44-H2-BWE
        Vendor rev                                : A
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 07T442633358
        Date code                                 : 130722
        Optical diagnostics support               : Yes
        Laser bias current                        : 6.130 mA
        Laser output power                        : 0.1867 mW / -7.29 dBm
        Receiver signal average optical power     : 0.1880 mW / -7.26 dBm
        Module temperature                        : 36.97 degrees C / 98.55 degrees F
        Module voltage                            : 3.3050 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 60.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 50.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 1.0000 mW / 0.00 dBm
        Laser output power low alarm threshold    : 0.0630 mW / -12.01 dBm
        Laser output power high warning threshold : 0.5011 mW / -3.00 dBm
        Laser output power low warning threshold  : 0.1258 mW / -9.00 dBm
        Module temperature high alarm threshold   : 105.00 degrees C / 221.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 95.00 degrees C / 203.00 degrees F
        Module temperature low warning threshold  : -45.00 degrees C / -49.00 degrees F
        Module voltage high alarm threshold       : 4.0000 V
        Module voltage low alarm threshold        : 2.8000 V
        Module voltage high warning threshold     : 3.6000 V
        Module voltage low warning threshold      : 3.0000 V
        Laser rx power high alarm threshold       : 0.5012 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0126 mW / -19.00 dBm
        Laser rx power high warning threshold     : 0.5012 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0126 mW / -19.00 dBm
root@BananaPi_BPi-R3 /root [#]#

11. HUAWEI MXPD-243S - 1.25G-1310nm-10km-SM-ESFP

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 9336.273625] sfp sfp-2: module HG GENUINE       MXPD-243S        rev  sn HB16550891481    dc 160320
[ 9336.282772] mt7530-mdio mdio-bus:1f sfp2: switched to inband/1000base-x link mode
[ 9336.332748] hwmon hwmon6: temp1_input not attached to any thermal zone
[ 9344.585668] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9344.593944] br-lan: port 5(sfp2) entered blocking state
[ 9344.599167] br-lan: port 5(sfp2) entered forwarding state
[ 9345.629753] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 9345.639845] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 9345.830380] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : HG GENUINE
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : MXPD-243S
        Vendor rev                                : ____
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : HB16550891481
        Date code                                 : 160320
        Optical diagnostics support               : Yes
        Laser bias current                        : 15.006 mA
        Laser output power                        : 0.2249 mW / -6.48 dBm
        Receiver signal average optical power     : 0.2524 mW / -5.98 dBm
        Module temperature                        : 30.33 degrees C / 86.59 degrees F
        Module voltage                            : 3.3912 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 60.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 50.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 0.7943 mW / -1.00 dBm
        Laser output power low alarm threshold    : 0.0794 mW / -11.00 dBm
        Laser output power high warning threshold : 0.5012 mW / -3.00 dBm
        Laser output power low warning threshold  : 0.1259 mW / -9.00 dBm
        Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 70.00 degrees C / 158.00 degrees F
        Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
        Module voltage high alarm threshold       : 3.6300 V
        Module voltage low alarm threshold        : 2.9700 V
        Module voltage high warning threshold     : 3.4650 V
        Module voltage low warning threshold      : 3.1350 V
        Laser rx power high alarm threshold       : 0.7943 mW / -1.00 dBm
        Laser rx power low alarm threshold        : 0.0063 mW / -22.01 dBm
        Laser rx power high warning threshold     : 0.5012 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0100 mW / -20.00 dBm
root@BananaPi_BPi-R3 /root [#]#

12. NeoPhotonics PT7620-51-3W - 1.25G 1550nm 80km SM ESFP

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[11247.968422] sfp sfp-2: module NEOPHOTONICS     PT7620-51-3W     rev 1.0  sn A0613643570      dc 130715
[11248.017513] hwmon hwmon6: temp1_input not attached to any thermal zone
[11260.316099] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[11260.324372] br-lan: port 5(sfp2) entered blocking state
[11260.329595] br-lan: port 5(sfp2) entered forwarding state
[11261.481804] net_ratelimit: 8 callbacks suppressed
[11261.481818] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[11261.496729] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[11261.506831] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 80km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : NEOPHOTONICS
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : PT7620-51-3W
        Vendor rev                                : 1.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : A0613643570
        Date code                                 : 130715
        Optical diagnostics support               : Yes
        Laser bias current                        : 14.740 mA
        Laser output power                        : 1.8419 mW / 2.65 dBm
        Receiver signal average optical power     : 0.0343 mW / -14.65 dBm
        Module temperature                        : 67.03 degrees C / 152.66 degrees F
        Module voltage                            : 3.3196 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 69.996 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 60.002 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 3.6483 mW / 5.62 dBm
        Laser output power low alarm threshold    : 0.9167 mW / -0.38 dBm
        Laser output power high warning threshold : 2.8975 mW / 4.62 dBm
        Laser output power low warning threshold  : 1.1537 mW / 0.62 dBm
        Module temperature high alarm threshold   : 100.00 degrees C / 212.00 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 95.00 degrees C / 203.00 degrees F
        Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
        Module voltage high alarm threshold       : 3.5000 V
        Module voltage low alarm threshold        : 3.1000 V
        Module voltage high warning threshold     : 3.4500 V
        Module voltage low warning threshold      : 3.1500 V
        Laser rx power high alarm threshold       : 0.5011 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0049 mW / -23.10 dBm
        Laser rx power high warning threshold     : 0.5011 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0049 mW / -23.10 dBm
root@BananaPi_BPi-R3 /root [#]#

13. SUMITOMO ELECTRIC SCP6894-GL-AW - 1.25G 1550nm 80km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[13399.202168] sfp sfp-2: module SumitomoElectric SCP6894-GL-AW    rev D    sn 790022D01138     dc 070128
[13406.675383] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[13406.683661] br-lan: port 5(sfp2) entered blocking state
[13406.688884] br-lan: port 5(sfp2) entered forwarding state
[13410.188458] net_ratelimit: 2 callbacks suppressed
[13410.188472] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13410.203321] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13410.213458] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 80km
        Length (SMF)                              : 25500m
        Length (50um)                             : 550m
        Length (62.5um)                           : 550m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : SumitomoElectric
        Vendor OUI                                : 00:00:5f
        Vendor PN                                 : SCP6894-GL-AW
        Vendor rev                                : D
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 790022D01138
        Date code                                 : 070128
root@BananaPi_BPi-R3 /root [#]#

14. NORTEL GE LX/FC100 SM/FC200 NTTP06CFE6 05 - 1.25G 1310nm 10km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[13848.997580] sfp sfp-2: module WHTD             RTXM192-408NT    rev      sn BE0929640123     dc 090712
[13849.046710] hwmon hwmon6: temp1_input not attached to any thermal zone
[13853.403976] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[13853.412255] br-lan: port 5(sfp2) entered blocking state
[13853.417479] br-lan: port 5(sfp2) entered forwarding state
[13854.107706] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13854.117797] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13854.127865] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x05 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 200 MBytes/sec
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 2100MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : WHTD
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : RTXM192-408NT
        Vendor rev                                :
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : BE0929640123
        Date code                                 : 090712__
        Optical diagnostics support               : Yes
        Laser bias current                        : 8.128 mA
        Laser output power                        : 0.3112 mW / -5.07 dBm
        Receiver signal average optical power     : 0.3490 mW / -4.57 dBm
        Module temperature                        : 40.25 degrees C / 104.45 degrees F
        Module voltage                            : 3.3032 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 55.232 mA
        Laser bias current low alarm threshold    : 1.904 mA
        Laser bias current high warning threshold : 45.232 mA
        Laser bias current low warning threshold  : 3.808 mA
        Laser output power high alarm threshold   : 0.7943 mW / -1.00 dBm
        Laser output power low alarm threshold    : 0.0707 mW / -11.51 dBm
        Laser output power high warning threshold : 0.6309 mW / -2.00 dBm
        Laser output power low warning threshold  : 0.0891 mW / -10.50 dBm
        Module temperature high alarm threshold   : 93.00 degrees C / 199.40 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 88.00 degrees C / 190.40 degrees F
        Module temperature low warning threshold  : -5.00 degrees C / 23.00 degrees F
        Module voltage high alarm threshold       : 3.5650 V
        Module voltage low alarm threshold        : 3.0350 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.7942 mW / -1.00 dBm
        Laser rx power low alarm threshold        : 0.0062 mW / -22.08 dBm
        Laser rx power high warning threshold     : 0.6309 mW / -2.00 dBm
        Laser rx power low warning threshold      : 0.0079 mW / -21.02 dBm
root@BananaPi_BPi-R3 /root [#]#

15. STRATOS SPLC-20-4-2M-BH-R6 - 1.25G 1310nm 10km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[14389.817550] sfp sfp-2: module StratosLightwave SPLC2042MBHR6    rev      sn G710341258       dc 07022900
[14404.032256] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[14404.040534] br-lan: port 5(sfp2) entered blocking state
[14404.045759] br-lan: port 5(sfp2) entered forwarding state
[14404.270289] net_ratelimit: 17 callbacks suppressed
[14404.270301] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[14404.285273] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[14404.295368] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x00 (unspecified)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : StratosLightwave
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : SPLC2042MBHR6
        Vendor rev                                :
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : G710341258
        Date code                                 : 07022900
root@BananaPi_BPi-R3 /root [#]#

16. HUAWEI LTD1303-BC+1 - 1.25G-1310nm-10km-SM-ESFP

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[  758.603399] sfp sfp-2: module Hisense          LTD1302-BC+1     rev V1.3 sn J3365052678      dc 160329
[  758.612896] mt7530-mdio mdio-bus:1f sfp2: switched to inband/1000base-x link mode
[  758.652561] hwmon hwmon5: temp1_input not attached to any thermal zone
[  770.024037] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[  770.032314] br-lan: port 5(sfp2) entered blocking state
[  770.037543] br-lan: port 5(sfp2) entered forwarding state
[  772.500365] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[  773.539044] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[  777.214978] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 1200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : Hisense
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : LTD1302-BC+1
        Vendor rev                                : V1.3
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : J3365052678
        Date code                                 : 160329
        Optical diagnostics support               : Yes
        Laser bias current                        : 8.960 mA
        Laser output power                        : 0.3180 mW / -4.98 dBm
        Receiver signal average optical power     : 0.2617 mW / -5.82 dBm
        Module temperature                        : 35.16 degrees C / 95.28 degrees F
        Module voltage                            : 3.3800 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 70.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 65.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 0.7943 mW / -1.00 dBm
        Laser output power low alarm threshold    : 0.0794 mW / -11.00 dBm
        Laser output power high warning threshold : 0.5012 mW / -3.00 dBm
        Laser output power low warning threshold  : 0.1259 mW / -9.00 dBm
        Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 70.00 degrees C / 158.00 degrees F
        Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
        Module voltage high alarm threshold       : 3.6300 V
        Module voltage low alarm threshold        : 2.9700 V
        Module voltage high warning threshold     : 3.4650 V
        Module voltage low warning threshold      : 3.1350 V
        Laser rx power high alarm threshold       : 0.8000 mW / -0.97 dBm
        Laser rx power low alarm threshold        : 0.0063 mW / -22.01 dBm
        Laser rx power high warning threshold     : 0.5048 mW / -2.97 dBm
        Laser rx power low warning threshold      : 0.0100 mW / -20.00 dBm
root@BananaPi_BPi-R3 /root [#]#

17. OPNEXT TRF7765AALB2S3 - 1.25G 1550nm 80km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 1009.008141] sfp sfp-2: module OPNEXT INC       TRF7765AALB2S3   rev B1A  sn C08A54171        dc 080407
[ 1049.473182] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1049.481461] br-lan: port 5(sfp2) entered blocking state
[ 1049.486685] br-lan: port 5(sfp2) entered forwarding state
[ 1057.470987] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 1057.481157] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 1057.491255] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x80 0x10 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: very long distance (V)
        Transceiver type                          : FC: Longwave laser (LL)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 80km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : OPNEXT INC
        Vendor OUI                                : 00:0b:40
        Vendor PN                                 : TRF7765AALB2S3
        Vendor rev                                : B1A
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : C08A54171
        Date code                                 : 080407
root@BananaPi_BPi-R3 /root [#]#

18. RAD UN600024731 SFP-6 - 1.25G 1310nm 10km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[ 1732.273597] sfp sfp-2: module RAD Data Comm.   SFP-6            rev 1.1  sn EO140218072033   dc 140725
[ 1741.374404] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1741.382680] br-lan: port 5(sfp2) entered blocking state
[ 1741.387904] br-lan: port 5(sfp2) entered forwarding state
[ 1746.915599] net_ratelimit: 1 callbacks suppressed
[ 1746.915613] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 1746.930447] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[ 1746.940563] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x01 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : RAD Data Comm.
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : SFP-6
        Vendor rev                                : 1.1
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : EO140218072033
        Date code                                 : 140725
root@BananaPi_BPi-R3 /root [#]#

Ciąg dalszy w następnym poście, tu już się nie mieści ... wink

Obiecane testy różnych wkładek SFP.

Testy obejmują:
uname -a (na jakiej wersji kernela)
ethtool eth1 (jak wkładka konfiguruje interfejs eth porty sfp1 lub sfp2)
ethtool -m eth1 (odczyt parametrów wkładki I2C oraz jeśli dostępne monitorowania DDM)
ping -c 5 -I sfp2 10.0.0.1 (ping na pętli patchcordem, jeśli możliwe)

----------------------------------------------------------------------------------------------------------------------


Wkładki jednowłóknowe SFP GPON ONT - działające z BPi-R3

1.) Nokia G-010S-A 3FE46541AACA - SC/APC

root@OBanana_Pi_BPI-R3:/# uname -a
Linux OpenWrt 6.1.64 #0 SMP Sat Dec  2 20:57:38 2023 aarch64 GNU/Linux

root@Banana_Pi_BPI-R3:~# dmesg | tail
...
[ 2135.882296] sfp sfp-1: module ALCATELLUCENT    3FE46541AA       rev 0001 sn ALCLF95613A7     dc 190327
[ 2135.891791] sfp sfp-1: Unknown/unsupported extended compliance code: 0x20
[ 2186.310727] hwmon hwmon4: temp1_input not attached to any thermal zone
root@Banana_Pi_BPI-R3:~#

root@Banana_Pi_BPI-R3:~# ethtool eth1
Settings for eth1:
        Supported ports: [ FIBRE ]
        Supported link modes:   2500baseX/Full
                                1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
        Link detected: yes
root@Banana_Pi_BPI-R3:~# ethtool -m eth1
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x01 (SC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x20
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : Extended: 100G SWDM4
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 3200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 40km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : ALCATELLUCENT
        Vendor OUI                                : 20:20:20
        Vendor PN                                 : 3FE46541AA
        Vendor rev                                : 0001
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : ALCLF95613A7
        Date code                                 : 190327
        Optical diagnostics support               : Yes
        Laser bias current                        : 9.916 mA
        Laser output power                        : 1.5592 mW / 1.93 dBm
        Receiver signal average optical power     : 0.0057 mW / -22.44 dBm
        Module temperature                        : 50.85 degrees C / 123.53 degrees F
        Module voltage                            : 3.2999 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 40.000 mA
        Laser bias current low alarm threshold    : 2.800 mA
        Laser bias current high warning threshold : 40.000 mA
        Laser bias current low warning threshold  : 2.800 mA
        Laser output power high alarm threshold   : 3.2000 mW / 5.05 dBm
        Laser output power low alarm threshold    : 1.1220 mW / 0.50 dBm
        Laser output power high warning threshold : 3.2000 mW / 5.05 dBm
        Laser output power low warning threshold  : 1.1220 mW / 0.50 dBm
        Module temperature high alarm threshold   : 85.00 degrees C / 185.00 degrees F
        Module temperature low alarm threshold    : -40.00 degrees C / -40.00 degrees F
        Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 3.4650 V
        Module voltage low alarm threshold        : 3.0410 V
        Module voltage high warning threshold     : 3.4650 V
        Module voltage low warning threshold      : 3.0410 V
        Laser rx power high alarm threshold       : 0.1600 mW / -7.96 dBm
        Laser rx power low alarm threshold        : 0.0015 mW / -28.24 dBm
        Laser rx power high warning threshold     : 0.1600 mW / -7.96 dBm
        Laser rx power low warning threshold      : 0.0015 mW / -28.24 dBm
root@Banana_Pi_BPI-R3:~#

2.) Leox GPON LXT-010S-H - SC/PC - testy i uruchomienie dzięki @RafalB -> https://eko.one.pl/forum/viewtopic.php?id=23477

root@OpenWrt:/# uname -a
Linux OpenWrt 6.1.64 #0 SMP Sat Dec  2 20:57:38 2023 aarch64 GNU/Linux

root@OpenWrt:/# dmesg | tail
[  121.422499] sfp sfp-1: module removed
[  165.951942] sfp sfp-1: module Hisense-Leox     LXT-010S-H       rev 1.0  sn LEOXD10000F7     dc 221104
[  165.961435] mtk_soc_eth 15100000.ethernet eth1: switched to inband/1000base-x link mode
[  166.000919] hwmon hwmon4: temp1_input not attached to any thermal zone

root@OpenWrt:/# ethtool eth1
Settings for eth1:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
        Link detected: yes

root@OpenWrt:/# ethtool -m eth1
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x01 (SC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 20km
        Length (SMF)                              : 20000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : Hisense-Leox
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : LXT-010S-H
        Vendor rev                                : 1.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : LEOXD10000F7
        Date code                                 : 221104
        Optical diagnostics support               : Yes
        Laser bias current                        : 9.336 mA
        Laser output power                        : 1.8451 mW / 2.66 dBm
        Receiver signal average optical power     : 0.0126 mW / -19.00 dBm
        Module temperature                        : 54.39 degrees C / 129.90 degrees F
        Module voltage                            : 3.3231 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 100.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 80.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 3.9811 mW / 6.00 dBm
        Laser output power low alarm threshold    : 0.7943 mW / -1.00 dBm
        Laser output power high warning threshold : 3.1623 mW / 5.00 dBm
        Laser output power low warning threshold  : 1.0000 mW / 0.00 dBm
        Module temperature high alarm threshold   : 110.00 degrees C / 230.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 105.00 degrees C / 221.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.1995 mW / -7.00 dBm
        Laser rx power low alarm threshold        : 0.0013 mW / -28.86 dBm
        Laser rx power high warning threshold     : 0.1585 mW / -8.00 dBm
        Laser rx power low warning threshold      : 0.0016 mW / -27.96 dBm

Wkładki SFP 2.5Gbps dwuwłóknowe LC/PC - działające z BPi-R3

1. FIBRAIN FTS-R27G-S31L-020D-HU SFP 155MB-2.67GB - 2.67G 1310nm 20km

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[11699.270518] sfp sfp-2: module FIBRAIN          FTSR27GS31L020DH rev 3.0  sn HUC23330156      dc 230922
[11699.319608] hwmon hwmon5: temp1_input not attached to any thermal zone
[11749.570175] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 2.5Gbps/Full - flow control off
[11749.578290] br-lan: port 5(sfp2) entered blocking state
[11749.583508] br-lan: port 5(sfp2) entered forwarding state
[11753.039911] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[11758.850180] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[11758.860346] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   2500baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x12 0x00 0x00 0x22 0x90 0x01 0x00 0x00
        Transceiver type                          : SONET: SONET reach specifier bit 1
        Transceiver type                          : SONET: OC-48, intermediate reach
        Transceiver type                          : FC: intermediate distance (I)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Electrical intra-enclosure (EL)
        Transceiver type                          : FC: Longwave laser (LL)
        Transceiver type                          : FC: Single Mode (SM)
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 2500MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 20km
        Length (SMF)                              : 20000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : FIBRAIN
        Vendor OUI                                : 00:1b:c5
        Vendor PN                                 : FTSR27GS31L020DH
        Vendor rev                                : 3.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : HUC23330156
        Date code                                 : 230922
        Optical diagnostics support               : Yes
        Laser bias current                        : 17.466 mA
        Laser output power                        : 0.5687 mW / -2.45 dBm
        Receiver signal average optical power     : 0.5766 mW / -2.39 dBm
        Module temperature                        : 55.93 degrees C / 132.68 degrees F
        Module voltage                            : 3.2682 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 90.000 mA
        Laser bias current low alarm threshold    : 0.500 mA
        Laser bias current high warning threshold : 80.000 mA
        Laser bias current low warning threshold  : 1.000 mA
        Laser output power high alarm threshold   : 1.2589 mW / 1.00 dBm
        Laser output power low alarm threshold    : 0.2512 mW / -6.00 dBm
        Laser output power high warning threshold : 1.0000 mW / 0.00 dBm
        Laser output power low warning threshold  : 0.3162 mW / -5.00 dBm
        Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
        Module temperature low warning threshold  : -5.00 degrees C / 23.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 2.9000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.0000 V
        Laser rx power high alarm threshold       : 1.5850 mW / 2.00 dBm
        Laser rx power low alarm threshold        : 0.0100 mW / -20.00 dBm
        Laser rx power high warning threshold     : 1.0000 mW / 0.00 dBm
        Laser rx power low warning threshold      : 0.0158 mW / -18.01 dBm
root@BananaPi_BPi-R3 /root [#]#

Wkładki SFP 1Gbps dwuwłóknowe LC/PC - działające z BPi-R3

1. Finisar FTLF1318P2BTL-HW Class 1 21CFR1040.10 - 1.25G-1310nm-20km-SM-eSFP

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
[13470.883933] sfp sfp-2: module FINISAR CORP.    FTLF1318P2BTL-HW rev A    sn PR685XQ          dc 140913
[13470.893429] mt7530-mdio mdio-bus:1f sfp2: switched to inband/1000base-x link mode
[13470.933053] hwmon hwmon5: temp1_input not attached to any thermal zone
[13480.225406] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[13480.233687] br-lan: port 5(sfp2) entered blocking state
[13480.238915] br-lan: port 5(sfp2) entered forwarding state
[13483.631567] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13487.839888] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13487.850041] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x10 0x01 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Longwave laser (LL)
        Transceiver type                          : FC: Single Mode (SM)
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : FINISAR CORP.
        Vendor OUI                                : 00:90:65
        Vendor PN                                 : FTLF1318P2BTL-HW
        Vendor rev                                : A
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : PR685XQ
        Date code                                 : 140913
        Optical diagnostics support               : Yes
        Laser bias current                        : 9.320 mA
        Laser output power                        : 0.2775 mW / -5.57 dBm
        Receiver signal average optical power     : 0.3060 mW / -5.14 dBm
        Module temperature                        : 51.18 degrees C / 124.13 degrees F
        Module voltage                            : 3.3154 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 39.436 mA
        Laser bias current low alarm threshold    : 2.430 mA
        Laser bias current high warning threshold : 29.436 mA
        Laser bias current low warning threshold  : 2.430 mA
        Laser output power high alarm threshold   : 0.6310 mW / -2.00 dBm
        Laser output power low alarm threshold    : 0.0708 mW / -11.50 dBm
        Laser output power high warning threshold : 0.5012 mW / -3.00 dBm
        Laser output power low warning threshold  : 0.1122 mW / -9.50 dBm
        Module temperature high alarm threshold   : 90.00 degrees C / 194.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 3.7000 V
        Module voltage low alarm threshold        : 2.9000 V
        Module voltage high warning threshold     : 3.6000 V
        Module voltage low warning threshold      : 3.0000 V
        Laser rx power high alarm threshold       : 0.5012 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0126 mW / -19.00 dBm
        Laser rx power high warning threshold     : 0.5012 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0126 mW / -19.00 dBm
root@BananaPi_BPi-R3 /root [#]#

2. GBC PHOTONICS SF-SM31020D-GP - 1.25G 20km 1310nm DDM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[12786.192465] sfp sfp-2: module GBC PHOTONICS    SF-SM31020D-GP   rev A0   sn GPE2002158183    dc 201215
[12786.201962] mt7530-mdio mdio-bus:1f sfp2: switched to inband/1000base-x link mode
[12786.251634] hwmon hwmon5: temp1_input not attached to any thermal zone
[12795.583402] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[12795.591681] br-lan: port 5(sfp2) entered blocking state
[12795.596903] br-lan: port 5(sfp2) entered forwarding state
[12795.768646] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[12795.778820] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[12795.788916] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x12 0x00 0x0d 0x01 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: long distance (L)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Multimode, 62.5um (M6)
        Transceiver type                          : FC: Multimode, 50um (M5)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 550m
        Length (62.5um)                           : 550m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : GBC PHOTONICS
        Vendor OUI                                : 00:53:4f
        Vendor PN                                 : SF-SM31020D-GP
        Vendor rev                                : A0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : GPE2002158183
        Date code                                 : 201215
        Optical diagnostics support               : Yes
        Laser bias current                        : 19.364 mA
        Laser output power                        : 0.2913 mW / -5.36 dBm
        Receiver signal average optical power     : 0.2560 mW / -5.92 dBm
        Module temperature                        : 45.23 degrees C / 113.41 degrees F
        Module voltage                            : 3.3278 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 80.000 mA
        Laser bias current low alarm threshold    : 2.000 mA
        Laser bias current high warning threshold : 70.000 mA
        Laser bias current low warning threshold  : 3.000 mA
        Laser output power high alarm threshold   : 0.5012 mW / -3.00 dBm
        Laser output power low alarm threshold    : 0.1585 mW / -8.00 dBm
        Laser output power high warning threshold : 0.4467 mW / -3.50 dBm
        Laser output power low warning threshold  : 0.1778 mW / -7.50 dBm
        Module temperature high alarm threshold   : 110.00 degrees C / 230.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 95.00 degrees C / 203.00 degrees F
        Module temperature low warning threshold  : -42.00 degrees C / -43.60 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.0500 V
        Laser rx power high alarm threshold       : 0.5012 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0063 mW / -22.01 dBm
        Laser rx power high warning threshold     : 0.4467 mW / -3.50 dBm
        Laser rx power low warning threshold      : 0.0071 mW / -21.49 dBm
root@BananaPi_BPi-R3 /root [#]#

3. NOKIA 3FE26774AA 01 MFGR P/N: APS31123IDL10NK - 1G SFP SM 1310nm 10km I-Temp

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[13586.197091] sfp sfp-2: module ATOP             APS31123IDL10NK  rev 01   sn ATOPCN21485695   dc 201201
[13586.246117] hwmon hwmon5: temp1_input not attached to any thermal zone
[13595.537283] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[13595.545559] br-lan: port 5(sfp2) entered blocking state
[13595.550784] br-lan: port 5(sfp2) entered forwarding state
[13605.118860] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13605.129040] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[13605.139142] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : ATOP
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : APS31123IDL10NK
        Vendor rev                                : 01
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : ATOPCN21485695
        Date code                                 : 201201
        Optical diagnostics support               : Yes
        Laser bias current                        : 22.550 mA
        Laser output power                        : 0.2385 mW / -6.23 dBm
        Receiver signal average optical power     : 0.1997 mW / -7.00 dBm
        Module temperature                        : 43.47 degrees C / 110.25 degrees F
        Module voltage                            : 3.2960 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 60.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 50.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 0.5012 mW / -3.00 dBm
        Laser output power low alarm threshold    : 0.1259 mW / -9.00 dBm
        Laser output power high warning threshold : 0.4074 mW / -3.90 dBm
        Laser output power low warning threshold  : 0.1549 mW / -8.10 dBm
        Module temperature high alarm threshold   : 85.00 degrees C / 185.00 degrees F
        Module temperature low alarm threshold    : -40.00 degrees C / -40.00 degrees F
        Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
        Module temperature low warning threshold  : -30.00 degrees C / -22.00 degrees F
        Module voltage high alarm threshold       : 3.8000 V
        Module voltage low alarm threshold        : 2.7999 V
        Module voltage high warning threshold     : 3.7000 V
        Module voltage low warning threshold      : 2.8999 V
        Laser rx power high alarm threshold       : 0.5012 mW / -3.00 dBm
        Laser rx power low alarm threshold        : 0.0100 mW / -20.00 dBm
        Laser rx power high warning threshold     : 0.3162 mW / -5.00 dBm
        Laser rx power low warning threshold      : 0.0158 mW / -18.01 dBm
root@BananaPi_BPi-R3 /root [#]#

4. HUAWEI RTXM191-400 (466101) Class 1  - 1.25G-1310nm-10km-SM-ESFP

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[14201.969043] sfp sfp-2: module WTD              RTXM191-400      rev 3.0  sn EC163400400110   dc 160821
[14202.018092] hwmon hwmon5: temp1_input not attached to any thermal zone
[14209.601313] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[14209.609591] br-lan: port 5(sfp2) entered blocking state
[14209.614815] br-lan: port 5(sfp2) entered forwarding state
[14211.119182] net_ratelimit: 4 callbacks suppressed
[14211.119195] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[14212.157973] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[14213.196808] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x42 0x10 0x01 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: short distance (S)
        Transceiver type                          : FC: Longwave laser (LC)
        Transceiver type                          : FC: Longwave laser (LL)
        Transceiver type                          : FC: Single Mode (SM)
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 1200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : WTD
        Vendor OUI                                : 00:1c:ad
        Vendor PN                                 : RTXM191-400
        Vendor rev                                : 3.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : EC163400400110
        Date code                                 : 160821
        Optical diagnostics support               : Yes
        Laser bias current                        : 11.760 mA
        Laser output power                        : 0.2575 mW / -5.89 dBm
        Receiver signal average optical power     : 0.2313 mW / -6.36 dBm
        Module temperature                        : 37.45 degrees C / 99.41 degrees F
        Module voltage                            : 3.3022 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 60.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 60.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 0.7943 mW / -1.00 dBm
        Laser output power low alarm threshold    : 0.0794 mW / -11.00 dBm
        Laser output power high warning threshold : 0.5011 mW / -3.00 dBm
        Laser output power low warning threshold  : 0.1258 mW / -9.00 dBm
        Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
        Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
        Module temperature high warning threshold : 70.00 degrees C / 158.00 degrees F
        Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
        Module voltage high alarm threshold       : 3.6300 V
        Module voltage low alarm threshold        : 2.9700 V
        Module voltage high warning threshold     : 3.4650 V
        Module voltage low warning threshold      : 3.1350 V
        Laser rx power high alarm threshold       : 0.7943 mW / -1.00 dBm
        Laser rx power low alarm threshold        : 0.0063 mW / -22.01 dBm
        Laser rx power high warning threshold     : 0.5011 mW / -3.00 dBm
        Laser rx power low warning threshold      : 0.0100 mW / -20.00 dBm
root@BananaPi_BPi-R3 /root [#]#

5. CISCO GLC-LH-SM SFCT-5798PZ CLASS 1 - 1.25G 1310nm 10km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[22068.830292] sfp sfp-2: module CISCO-AVAGO      SFCT-5798PZ      rev 0000 sn AGC1137U37A      dc 07091601
[22076.143470] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[22076.151747] br-lan: port 5(sfp2) entered blocking state
[22076.156970] br-lan: port 5(sfp2) entered forwarding state
[22079.563036] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[22079.573202] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[22079.583304] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 550m
        Length (62.5um)                           : 550m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : CISCO-AVAGO
        Vendor OUI                                : 00:17:6a
        Vendor PN                                 : SFCT-5798PZ
        Vendor rev                                : 0000
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : AGC1137U37A
        Date code                                 : 07091601
root@BananaPi_BPi-R3 /root [#]#

6. CISCO SYSTEMS GLC-LH-SM CLASS 1 - 1.25G 1310nm 10km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[22557.294273] sfp sfp-2: module CISCO-FINISAR    FTLF1318P2BCL-CS rev 0000 sn FNS114111YT      dc 071108
[22566.513130] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[22566.521408] br-lan: port 5(sfp2) entered blocking state
[22566.526632] br-lan: port 5(sfp2) entered forwarding state
[22569.279003] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[22569.289168] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[22569.299265] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 550m
        Length (62.5um)                           : 550m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : CISCO-FINISAR
        Vendor OUI                                : 00:90:65
        Vendor PN                                 : FTLF1318P2BCL-CS
        Vendor rev                                : 0000
        Option values                             : 0x00 0x12
        Option                                    : RX_LOS implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : FNS114111YT
        Date code                                 : 071108
root@BananaPi_BPi-R3 /root [#]#

7. CISCO SYSTEMS GLC-ZX-SM CLASS 1 - 1.25G 1550nm 80km SM

root@BananaPi_BPi-R3 /root [#]# uname -a
Linux BananaPi_BPi-R3 6.1.77 #0 SMP Fri Feb 16 13:10:11 2024 aarch64 GNU/Linux

root@BananaPi_BPi-R3 /root [#]# dmesg | tail
...
[22850.220070] sfp sfp-2: module CISCO-FINISAR    FTRJ1519P1BCL-CS rev A    sn FNS222240U8R      dc 070612
[22850.269181] hwmon hwmon5: temp1_input not attached to any thermal zone
[22858.444281] mt7530-mdio mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx
[22858.452557] br-lan: port 5(sfp2) entered blocking state
[22858.457781] br-lan: port 5(sfp2) entered forwarding state
[22859.117681] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[22859.127847] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)
[22859.137945] br-lan: received packet on sfp2 with own address as source address (addr:a6:bb:0f:ed:50:d6, vlan:0)

root@BananaPi_BPi-R3 /root [#]# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@BananaPi_BPi-R3 /root [#]# ethtool -m sfp2
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x80 0x10 0x01 0x05 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : FC: very long distance (V)
        Transceiver type                          : FC: Longwave laser (LL)
        Transceiver type                          : FC: Single Mode (SM)
        Transceiver type                          : FC: 200 MBytes/sec
        Transceiver type                          : FC: 100 MBytes/sec
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 2500MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 76km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1550nm
        Vendor name                               : CISCO-FINISAR
        Vendor OUI                                : 00:90:65
        Vendor PN                                 : FTRJ1519P1BCL-CS
        Vendor rev                                : A
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : FNS22240U8R
        Date code                                 : 070612
        Optical diagnostics support               : Yes
        Laser bias current                        : 22.444 mA
        Laser output power                        : 2.0309 mW / 3.08 dBm
        Receiver signal average optical power     : 1.2438 mW / -9.95 dBm
        Module temperature                        : 48.29 degrees C / 118.92 degrees F
        Module voltage                            : 3.3312 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 84.000 mA
        Laser bias current low alarm threshold    : 2.000 mA
        Laser bias current high warning threshold : 70.000 mA
        Laser bias current low warning threshold  : 4.000 mA
        Laser output power high alarm threshold   : 6.5407 mW / 8.16 dBm
        Laser output power low alarm threshold    : 0.3974 mW / -4.01 dBm
        Laser output power high warning threshold : 5.0047 mW / 6.99 dBm
        Laser output power low warning threshold  : 0.6300 mW / -2.01 dBm
        Module temperature high alarm threshold   : 110.00 degrees C / 230.00 degrees F
        Module temperature low alarm threshold    : -9.00 degrees C / 15.80 degrees F
        Module temperature high warning threshold : 93.00 degrees C / 199.40 degrees F
        Module temperature low warning threshold  : -3.00 degrees C / 26.60 degrees F
        Module voltage high alarm threshold       : 4.0000 V
        Module voltage low alarm threshold        : 2.8000 V
        Module voltage high warning threshold     : 3.7000 V
        Module voltage low warning threshold      : 2.9000 V
        Laser rx power high alarm threshold       : 1.1940 mW / 0.77 dBm
        Laser rx power low alarm threshold        : 0.0039 mW / -24.09 dBm
        Laser rx power high warning threshold     : 0.7942 mW / -1.00 dBm
        Laser rx power low warning threshold      : 0.0099 mW / -20.04 dBm
root@BananaPi_BPi-R3 /root [#]#

Kolejne 1Gbps poniżej, bo się nie mieszczą w jednym poście ...

Ok, skompilowałem ze swoimi pakietami co używam dzisiejszy snapshot:

Wersja kernela:6.1.77
Model:Bananapi BPI-R3
Architektura:ARMv8 Processor rev 4
Wersja firmware:OpenWrt SNAPSHOT r25210-b0b8fd436f

No wszystko bangla bardzo dobrze, modem Fibocom L860-GL ruszył od strzału, wkładka GPON ONT  Nokia G-010S-A 3FE46541AACA z FW: 3FE46398BFGB18 wg opisu powyżej (nie widać jakiejś znaczącej różnicy), także bardzo dobrze.

Zauważalny jest nowy uboot, który się zainstalował 2024.01 i teraz jest tak:

...
[    5.155998] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    5.163339] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    5.169613] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    5.185021] mmc0: host does not support reading read-only switch, assuming write-enable
[    5.196087] mmc0: new high speed SDHC card at address aaaa
[    5.202405] mmcblk0: mmc0:aaaa SD32G 29.7 GiB
[    5.210250] Alternate GPT is invalid, using primary GPT.
[    5.216063]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    5.519323] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    5.528122] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[    5.535883] FIT: Detected U-Boot 2024.01-OpenWrt-r25210-b0b8fd436f
[    5.542062] FIT: Selected configuration: "config-mt7986a-bananapi-bpi-r3" (OpenWrt bananapi_bpi-r3)
[    5.551095] FIT:           kernel sub-image 0x00001000..0x0056d2a0 "kernel-1" (ARM64 OpenWrt Linux-6.1.77)
[    5.560820] FIT:          flat_dt sub-image 0x0056e000..0x00575cda "fdt-1" (ARM64 OpenWrt bananapi_bpi-r3 device tree blob)
[    5.572020] FIT:          flat_dt sub-image 0x00576000..0x005763dd "fdt-mt7986a-bananapi-bpi-r3-emmc" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc)
[    5.588333] FIT:          flat_dt sub-image 0x00577000..0x0057748f "fdt-mt7986a-bananapi-bpi-r3-nand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand)
[    5.604647] FIT:          flat_dt sub-image 0x00578000..0x005784bd "fdt-mt7986a-bananapi-bpi-r3-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nor)
[    5.620786] FIT:          flat_dt sub-image 0x00579000..0x00579343 "fdt-mt7986a-bananapi-bpi-r3-sd" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-sd)
[    5.636753] FIT:          flat_dt sub-image 0x0057a000..0x0057a555 "fdt-mt7986a-bananapi-bpi-r3-respeaker-2mics" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-respeaker-2mics)
[    5.654971] FIT:       filesystem sub-image 0x0057b000..0x010cffff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r3 rootfs)
[    5.665923] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    5.673722] block mmcblk0p7: mapped remaing space as /dev/fitrw
[    5.701826] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    5.710865] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
...

root@BananaPi_BPi-R3:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                11.5M     11.5M         0 100% /rom
tmpfs                   996.2M      2.6M    993.6M   0% /tmp
/dev/fitrw               76.2M      1.7M     68.4M   2% /overlay
overlayfs:/overlay       76.2M      1.7M     68.4M   2% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@BananaPi_BPi-R3:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 07e00000 00020000 "ubi"
mtd1: 00200000 00020000 "bl2"
root@BananaPi_BPi-R3:~#

Na plus wydaje mi się, że szybciej sią płytka BPI-R3 bootuje z SD ...

Pozdr,

Cezary napisał/a:

Poczekaj jeszcze chwilę, niech builder przebuduje nowe obrazy.

Spoko, rzecz jasna potestuję Twój build wieczorkiem ...
Przy okazji przetestuję potem też gdzieś 12 typów i modeli różnych wkładek SFP dwuwłóknowych (LC/PC) od różnych producentów 1Gbit/s i 2,5Bbit/s co mam dostępne i ich kompatybilność, współpracę z BPI-R3 i wrzucę do tego wątku wyniki ...

Rozumiem,  że masz na myśli ten snapshot z OpenWRT do BPI-R3 - > SNAPSHOT (r25154-f3cbdaec29) 2024-02-15 15:00:33 -> https://downloads.openwrt.org/snapshots … ard.img.gz

Wgram wieczorem na inną kartę SD i potestuję ...

Ok, jestem po testach na kernelu 6.1.64 kompilacji @Cezarego. Wkładka SFP Nokia G-010S-A 3FE46541AACA GPON ONT  działa OK, analogicznie jak Leox u @RafalB. Jednakże aby tak było w OpenWRT w BPI-R3 trzeba używać oryginalnego firmware we wkładce - ja używam FW -> 3FE46398BFGB18 w banku image1. ethtool wówczas raportuje wszysko poprawnie. Działa ok, prędkości max jakie daje provider bez problemów (1Gbps/100Mbps u mnie).
Jeśli włączymy we wkładce konsolę na uart asc0 (fw_setenv bootdelay 5; fw_setenv asc0 0; fw_setenv preboot) to kończy transmisję do OS OpenWRT i nie widać nic po włożeniu/wyjęciu wkładki w BPI-R3 w dmesg i nie działa poprawnie. Aby to naprawić trzeba przywrócić z backup partycję mtd1 (uboot_env), warto też przed zmianami zrobić sobie backup wszystkich partycji.  Załadowałem też modowane softy OpenWRT 7.5.3. Działają bardzo dobrze w media konwerterze i switchu z L3 ale w OpenWRT BPI-R3 wkładka nie podnosi interfejsu i nie działa. No i u mnie przepisał ten modowany soft EEPROM'a wkładki (musiałem go przywracać z backup .bin), po włożeniu wkładki z tym softem do BPI-R3 zgłaszała w dmesg: 'EEPROM checksum error' - także nie polecam do BPI-R3 tego modowanego softu OpenWRT 7.5.3, choć ma wszystkie opcje do ustawiania GPON i współpracy z OLT w Web-GUI (LuCi) łącznie z VLAN. W switchu i media konweterze wkładka z tym modowanym softem działa super (łatwa konfiguracja).

Podsumowując Nokia G-010S-A 3FE46541AACA z FW: 3FE46398BFGB18 działa dobrze w BPI-R3, po ok 70 sekundach od włączenia zasilania interfejs eth1 dostaje IP i podnosi link. Do Web-GUI i SSH wkładki podobnie jak w Leox nie ma dostępu z poziomu BPI-R3 (trzeba ją skonfigurować wcześniej w media konwerterze lub switchu z komend z konsoli wg -> https://hack-gpon.org/ont-nokia-g-010s-a/ i przełożyć do BPI-R3, nie ma tu problemów bo to się robi raz). W BPI-R3 później konfigurujemy VLAN i eth1 (br-wan) zależnie od tego jaką mamy autoryzację u dostawcy FTTH/GPON.

Testów ciąg dalszy ...
Teraz z wpiętym światłowodem (ale jeszcze nie skonfigurowana wkładka dla Operatora)

root@Banana_Pi_BPI-R3:~# ethtool eth1
Settings for eth1:
        Supported ports: [ FIBRE ]
        Supported link modes:   2500baseX/Full
                                1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
        Link detected: no
root@Banana_Pi_BPI-R3:~# ethtool -m eth1
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x01 (SC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x20
        Transceiver type                          : Ethernet: 1000BASE-LX
        Transceiver type                          : Extended: 100G SWDM4
        Encoding                                  : 0x03 (NRZ)
        BR, Nominal                               : 3200MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 40km
        Length (SMF)                              : 25500m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : ALCATELLUCENT
        Vendor OUI                                : 20:20:20
        Vendor PN                                 : 3FE46541AA
        Vendor rev                                : 0001
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : ALCLF95613A7
        Date code                                 : 190327
        Optical diagnostics support               : Yes
        Laser bias current                        : 9.916 mA
        Laser output power                        : 1.5592 mW / 1.93 dBm
        Receiver signal average optical power     : 0.0057 mW / -22.44 dBm
        Module temperature                        : 50.85 degrees C / 123.53 degrees F
        Module voltage                            : 3.2999 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : Off
        Laser bias current high warning           : Off
        Laser bias current low warning            : Off
        Laser output power high alarm             : Off
        Laser output power low alarm              : Off
        Laser output power high warning           : Off
        Laser output power low warning            : Off
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : Off
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 40.000 mA
        Laser bias current low alarm threshold    : 2.800 mA
        Laser bias current high warning threshold : 40.000 mA
        Laser bias current low warning threshold  : 2.800 mA
        Laser output power high alarm threshold   : 3.2000 mW / 5.05 dBm
        Laser output power low alarm threshold    : 1.1220 mW / 0.50 dBm
        Laser output power high warning threshold : 3.2000 mW / 5.05 dBm
        Laser output power low warning threshold  : 1.1220 mW / 0.50 dBm
        Module temperature high alarm threshold   : 85.00 degrees C / 185.00 degrees F
        Module temperature low alarm threshold    : -40.00 degrees C / -40.00 degrees F
        Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 3.4650 V
        Module voltage low alarm threshold        : 3.0410 V
        Module voltage high warning threshold     : 3.4650 V
        Module voltage low warning threshold      : 3.0410 V
        Laser rx power high alarm threshold       : 0.1600 mW / -7.96 dBm
        Laser rx power low alarm threshold        : 0.0015 mW / -28.24 dBm
        Laser rx power high warning threshold     : 0.1600 mW / -7.96 dBm
        Laser rx power low warning threshold      : 0.0015 mW / -28.24 dBm
root@Banana_Pi_BPI-R3:~#
root@Banana_Pi_BPI-R3:~# dmesg | grep eth1
[    1.211933] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009500000, irq 123
[   20.912268] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
[   20.923565] br-wan: port 1(eth1) entered blocking state
[   20.928843] br-wan: port 1(eth1) entered disabled state
[   20.934391] device eth1 entered promiscuous mode
root@Banana_Pi_BPI-R3:~# dmesg | grep sfp-1
[   13.039436] sfp sfp-1: Host maximum power 3.0W
[   13.388470] sfp sfp-1: module ALCATELLUCENT    3FE46541AA       rev 0001 sn ALCLF95613A7     dc 190327
[   13.397954] sfp sfp-1: Unknown/unsupported extended compliance code: 0x20
root@Banana_Pi_BPI-R3:~#

Sama wkładka działa na kernelu 6.1, ale też nie ma dostępu do niej z ssh i web-gui jak siedzi w routerze. Pobawię się w skonfigurowanie w mediakonwerterze i załadowanie do niej modowanego softu OpenWRT 7.5.3 aby działała z moim dostawcą GPON.
Dam znać jak będzie progres ...

224

(48 odpowiedzi, napisanych Sprzęt / Hardware)

Na kompilacji testowej BPI-R3 snapschot'a z kernelem 6.1.64 @Cezarego -> https://dl.eko.one.pl/test/bananapi-rpi … k/filogic/
modem działa także poprawnie na nowszym kernelu.

A masz wkładkę dostępną z jakiegoś interfejsu np. sfp_gpon  coby móc coś zobaczyć na niej  jak siedzi w routerze ?
Pokaż proszę loga z dmesg jak wstaje Twoja wkładka jak jest gotowa do pracy i ma link optyczny wpięty.
Oraz prośba o info jak masz dodany interfejs z VLAN i proto na GPON.