Skip to content

start.sh uses deprecated GPIO interface for reset #101

@octal-ip

Description

@octal-ip

The start.sh script uses a deprecated method of toggling GPIOs to reset the iC880a. This no longer works on current versions of Debian (bookworm) - it causes error messages to be shown, and the RAK5146 PiHAT module will not operate.

I suggest replacing lines 6 through 14 with the following, which resolves the problem:

gpioset gpiochip0 $SX1301_RESET_BCM_PIN=0
sleep 0.1
gpioset gpiochip0 $SX1301_RESET_BCM_PIN=1
sleep 0.1
gpioset gpiochip0 $SX1301_RESET_BCM_PIN=0
sleep 0.1

Edit: I've found that https://github.com/RAKWireless/rak_common_for_gateway/blob/master/lora/rak5146/reset_lgw.sh has the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions