fcc-unlock 105b: Add support for Foxconn SDX55 running in USB mode

Signed-off-by: Kajetan Krykwiński <github@kitor.pl>
This commit is contained in:
Kajetan Krykwiński
2025-10-07 08:14:57 -05:00
committed by Dan Williams
parent 7b44ca740c
commit bf67727c1c
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -4,6 +4,7 @@
# 2021 Aleksander Morgado <aleksander@aleksander.es>
# 2022 Thilo-Alexander Ginkel <thilo@ginkel.com>
# 2022 Bjørn Mork <bjorn@mork.no>
# 2025 Kajetan Krykwiński <gitlab@kitor.pl>
#
# Foxconn SDX55 (Lenovo T99W175) FCC unlock operation
#
@@ -22,7 +23,8 @@ for PORT in "$@"; do
# match port type in Linux 5.14 and newer
grep -q MBIM "/sys/class/wwan/$PORT/type" 2>/dev/null ||
# match port name in Linux 5.13
echo "$PORT" | grep -qi MBIM && {
echo "$PORT" | grep -qi MBIM ||
echo "$PORT" | grep -q cdc-wdm && {
MBIM_PORT="$PORT"
break
}
+1
View File
@@ -27,6 +27,7 @@ install_data(
vidpids = {
'105b:e0ab': '105b',
'105b:e0c3': '105b',
'05c6:90d5': '105b',
'03f0:4e1d': '1199',
'1199:9079': '1199',
'413c:81a3': '1199',