2023-09-11, 03:52 PM
I am having a very similar issue with Openplotter on a Raspberry PI 4, 4GB. The serial devices show, then don't show -- at least some of them. I'm pluggin in a Maiana AIS device. It has a USB dongle. It shows up. I configured it, it worked... until it didn't. The device showed on lsusb results, until it didn't. I swapped USB dongles thinking I might have a defective one. It showed up! Then it didn't. I even tried a 3rd separate USB device (powered from NMEA2000 network instead of straight to 12V power on the boat). It showed up! Then it didn't.
Since I've tried THREE separate USB devices and they all showed the same behavior I'm pretty much convinced the issue isn't the Maiana USB devices but is rather something going on with the PI board (and it's usb connectivity) or the operating system itself.
I've read online a number of complaints of intermittent USB issues on 4GB+ PI 4's because something in the system overwrote the USB devices when using more than 3GB of RAM. This was back in 2020/2021 though so I'd think the newer kernels being distributed would have dealt with those patches.
I think when I get back to the boat this week I'm going to burn a 32bit image and see if that solves it. I'll also try every update I can run to see if I can get the USB listings to show properly. I'll also try sudo usb-devices to see if it's a permissions thing.
I've also purchased (but not yet received) another RPI4 to see if it's the specific device I'm using. That said, I've tried multiple USB mouse/keyboard setups and those seem to work consistently so I'm not sure why the three other devices I have are failing to be recognized. I've also got an NGT-1 to install which has a USB connection so I'll be able to confirm if that device has the same issue as the three Maiana devices...
Since I've tried THREE separate USB devices and they all showed the same behavior I'm pretty much convinced the issue isn't the Maiana USB devices but is rather something going on with the PI board (and it's usb connectivity) or the operating system itself.
I've read online a number of complaints of intermittent USB issues on 4GB+ PI 4's because something in the system overwrote the USB devices when using more than 3GB of RAM. This was back in 2020/2021 though so I'd think the newer kernels being distributed would have dealt with those patches.
I think when I get back to the boat this week I'm going to burn a 32bit image and see if that solves it. I'll also try every update I can run to see if I can get the USB listings to show properly. I'll also try sudo usb-devices to see if it's a permissions thing.
I've also purchased (but not yet received) another RPI4 to see if it's the specific device I'm using. That said, I've tried multiple USB mouse/keyboard setups and those seem to work consistently so I'm not sure why the three other devices I have are failing to be recognized. I've also got an NGT-1 to install which has a USB connection so I'll be able to confirm if that device has the same issue as the three Maiana devices...