root@wirenboard-AYWQBWBB:~# DEBUG=true wb-gsm on
DEBUG: main: Called from pid 4423 (bash)
DEBUG: guess_of_node: Got of_gsm_node: /soc/bus@2100000/usb@2184200/usb-hub@1/wbc-modem@2
DEBUG: ensure_on: switching on GSM modem using POWER FET
DEBUG: toggle: toggle GSM modem state using PWRKEY
DEBUG: ensure_on: Waiting for modem to start
DEBUG: init_usb_connection: Will wait up to 30s untill usb port becomes available
Turning OFF modem’s POWER FET
DEBUG: of_get_prop_gpio: /soc/bus@2100000/usb@2184200/usb-hub@1/wbc-modem@2 power-gpios
DEBUG: of_get_prop_gpio: gpio 33 4 0
DEBUG: of_gpio_to_num: Unpacked gpio 128:4:0 → 128+4
Force exit: no usb device after 30s
1: /usr/lib/wb-utils/wb-gsm-common.sh:518 init_usb_connection(…)
2: /usr/bin/wb-gsm:25 ensure_on(…)
Error in /usr/lib/wb-utils/wb-gsm-common.sh:71. ‘[[ -n $unlinked_ports ]]’ exited with status 0
Call tree:
1: /usr/lib/wb-utils/wb-gsm-common.sh:1 force_exit_handler(…)
2: /usr/lib/wb-utils/wb-gsm-common.sh:165 force_exit(…)
3: /usr/lib/wb-utils/wb-gsm-common.sh:518 init_usb_connection(…)
4: /usr/bin/wb-gsm:25 ensure_on(…)
Exiting with status 1
hardware.conf:
{
"slots": [
{
"id": "wb67-mod1",
"name": "Internal slot 1",
"compatible": [
"wbe2",
"wbe3-reduced"
],
"module": "",
"options": {}
},
{
"id": "wb67-mod2",
"name": "Internal slot 2",
"compatible": [
"wbe2",
"wbe3-reduced"
],
"module": "",
"options": {}
},
{
"id": "wb67-mod3",
"name": "Internal slot 3",
"compatible": [
"wbe2",
"wbe3-reduced"
],
"module": "",
"options": {}
},
{
"id": "wb67-mod4",
"name": "Internal slot 4",
"compatible": [
"wbe3",
"wbe3-reduced"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio1",
"name": "External I/O module 1",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio2",
"name": "External I/O module 2",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio3",
"name": "External I/O module 3",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio4",
"name": "External I/O module 4",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio5",
"name": "External I/O module 5",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio6",
"name": "External I/O module 6",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio7",
"name": "External I/O module 7",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb6-extio8",
"name": "External I/O module 8",
"compatible": [
"wb5-extio"
],
"module": "",
"options": {}
},
{
"id": "wb67-rs485-1",
"name": "RS485-1 interface config",
"compatible": [
"wb67-rs485"
],
"module": "wb67-can-rs485",
"options": {
"mode": "enabled",
"terminatorsMode": "enabled"
}
},
{
"id": "wb67-rs485-2",
"name": "RS485-2/CAN interface config",
"compatible": [
"wb67-rs485",
"wb67-can"
],
"module": "wb67-can-rs485",
"options": {
"mode": "enabled",
"terminatorsMode": "enabled"
}
},
{
"id": "wb67-wbc",
"name": "Modem slot",
"compatible": [
"wbc"
],
"module": "wbc-4g",
"options": {}
},
{
"id": "wb67-w1",
"name": "W1 terminal mode",
"compatible": [
"wb6-wx"
],
"module": "wb6-wx-1wire",
"options": {}
},
{
"id": "wb67-w2",
"name": "W2 terminal mode",
"compatible": [
"wb6-wx"
],
"module": "wb6-wx-1wire",
"options": {}
},
{
"id": "wb67-wbmz3",
"name": "Backup power supply",
"compatible": [
"wb67-wbmz3-power"
],
"module": "",
"options": {}
}
]
}