Trying to get my RAK7391 talking with my RAK5146 USB version via Basicstation.
I can see the RAK5146 using lsusb
where I’m told it appears as:
Bus 003 Device 003: ID 0483:5740 STMicroelectronics Virtual COM Port
[email protected]:~/bs/basicstation/examples/aws $ lsusb
Bus 003 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 003 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 003 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 004: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
Bus 003 Device 003: ID 0483:5740 STMicroelectronics Virtual COM Port
Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I’ve confirmed that the STMicroelectronics
is assigned to /dev/ttyACM0
:
[email protected]:~/bs/basicstation/examples/aws $ udevadm info -a -n /dev/ttyACM0 | grep ATTRS{manufacturer}
ATTRS{manufacturer}=="STMicroelectronics"
ATTRS{manufacturer}=="Linux 5.15.74-v8+ dwc2_hsotg"
/dev/ttyACM0
is also the default value for GitHub - xoseperez/basicstation: Basics™ Station Packet Forward protocol using Docker when using a USB concentrator, so I thought I’d be good to go running Basicstation with that DEVICE assignment.
But unfortunately running sudo RADIODEV=usb:/dev/ttyACM0 ../../build-rpi-std/bin/station -f
Throws the error:
2023-01-25 17:47:16.765 [RAL:INFO] Station device: /dev/ttyACM0 (PPS capture disabled)
2023-01-25 17:47:16.766 [HAL:ERRO] [lgw_start:742] FAIL TO CONNECT BOARD
2023-01-25 17:47:16.767 [RAL:ERRO] Concentrator start failed: lgw_start
2023-01-25 17:47:16.767 [RAL:ERRO] ral_config failed with status 0x08
Now I’m not sure if this is a configuration error on my part, a missing setting in Basicstation, or if I’m wrong and the STMelectronics device is not in fact my RAK5146.
Any suggestions would be appreciated!