Setting up WM1302 with Pi Hat on Raspberry Pi 4B (Bullseye)

I’m following the instructions on the wiki here. When I get to the step that says to run:

./lora_pkt_fwd -c global_conf.json.sx1250.US915

I see this in the output:

WARNING: [main] impossible to open /dev/ttyS0 for GPS sync (check permissions)

… when I do ls -la /dev/ttyS0 I see this output:

crw-rw---- 1 root dialout 4, 64 Jan 13 14:58 /dev/ttyS0

So I added my user to the dialout group for good measure, by doing sudo usermod -aG dialout $USER but still get that warning.

Then I tried:

cat /dev/ttyS0
cat: /dev/ttyS0: Input/output error

and I tried minicom -D /dev/ttyS0 -b 9600 but got no output at all

What am I missing?

1 Like