LoRaGo PORT not working

I have been trying to get the LoRaGo PORT (which is supposedly supported) to work on my Raspberry Pi 3 with the base version of GatewayOS 3.6.0 to no avail. I have found a close issue on GitHub that simply stated that the issue could not be reproduced. I opened another issue there, but decided to also ask the question here in case anyone has any more ideas.

No LEDs start on the device whatsoever. I have configured it using gateway-config and even tried setting the reset pin to a few that I found online (22 and 25 respectively), but that did not help either. Running chirpstack-concentratord-sx1301 yields the following error:

2022-09-19 09:33:42,671 INFO  [libconcentratord::reset] Configuring reset pin, chip: 0, pin: 17
2022-09-19 09:33:42,671 INFO  [chirpstack_concentratord_sx1301::cmd::root] Starting Concentratord SX1301 (version: 3.3.2, docs: https://www.chirpstack.io/concentratord/)
2022-09-19 09:33:42,671 INFO  [libconcentratord::reset] Triggering concentrator reset
2022-09-19 09:33:42,871 INFO  [chirpstack_concentratord_sx1301::concentrator] Setting spi device path, spidev_path: /dev/spidev0.0
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Setting board configuration, lorawan_public: true, clock_source: 1
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Setting up concentrator radios
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1257
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1257
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Setting up concentrator channels
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
2022-09-19 09:33:42,872 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
2022-09-19 09:33:42,873 INFO  [chirpstack_concentratord_sx1301::concentrator] Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
2022-09-19 09:33:42,874 INFO  [chirpstack_concentratord_sx1301::concentrator] Starting the concentrator
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "lgw_start failed"', chirpstack-concentratord-sx1301/src/main.rs:108:80
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The reset pin here stays the same (always at 17) regardless of what I type in the concentratord config. I saw some instructions somewhere that required you to execute the /etc/init.d/sx1301-reset command, but that doesn’t appear to be available on my install.

/var/log/messages shows the following output:

Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
Sep 19 09:03:58 raspberrypi3 user.info chirpstack-concentratord-sx1301[942]: Starting the concentrator
Sep 19 09:04:00 raspberrypi3 user.err chirpstack-gateway-bridge[592]: time="2022-09-19T09:04:00.913589202Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial un
Sep 19 09:04:04 raspberrypi3 user.err chirpstack-gateway-bridge[592]: time="2022-09-19T09:04:04.427206744Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial un
Sep 19 09:04:07 raspberrypi3 user.err chirpstack-gateway-bridge[592]: time="2022-09-19T09:04:07.940586578Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial un
Sep 19 09:04:08 raspberrypi3 user.err monit[430]: 'chirpstack-concentratord' process is not running
Sep 19 09:04:08 raspberrypi3 user.info monit[430]: 'chirpstack-concentratord' trying to restart
Sep 19 09:04:08 raspberrypi3 user.info monit[430]: 'chirpstack-concentratord' start: '/etc/init.d/chirpstack-concentratord start'
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring reset pin, chip: 0, pin: 0
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Starting Concentratord SX1301 (version: 3.3.2, docs: https://www.chirpstack.io/concentratord/)
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Triggering concentrator reset
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Setting spi device path, spidev_path: /dev/spidev0.0
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Setting board configuration, lorawan_public: true, clock_source: 1
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Setting up concentrator radios
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1257
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1257
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Setting up concentrator channels
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
Sep 19 09:04:08 raspberrypi3 user.info chirpstack-concentratord-sx1301[949]: Starting the concentrator
Sep 19 09:04:11 raspberrypi3 user.err chirpstack-gateway-bridge[592]: time="2022-09-19T09:04:11.453818289Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial un
Sep 19 09:04:14 raspberrypi3 user.err chirpstack-gateway-bridge[592]: time="2022-09-19T09:04:14.966808536Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial un

I would really appreciate some help here.

So after trying some more stuff, what finally worked was using the configuration for the iC880A and setting the reset pin to be 25. Not entirely sure why the default configuration for the LoRaGo PORT doesn’t work; maybe something needs to be changed in the configuration for it?

I decided to upgrade to version 4.0.0 and still could not get the LoRaPort GO to work. However, by selecting the iC880A gateway configuration in gateway-config and then manually setting the reset_pin in /etc/chirpstack-concentratord/sx1301/concentratord.toml and then restarting concentratord through gateway-config, I was able to consistently get the LoRaPort GO shields I have working. Setting the reset pin through the TUI of gateway-config and does not anything. It worked only after manually setting the value of reset_pin in the above-mentioned configuration file to 25

It really seems like there is a misconfigured reset pin somewhere in the default config for the LoRaPort GO; though that would not explain how setting a reset pin through gateway-config did not work.