Venus OS 3.85 regression – VE.Direct USB devices repeatedly disappear on Raspberry Pi 3

Title: Venus OS 3.85 regression – VE.Direct USB devices repeatedly disappear on Raspberry Pi 3

I am running Venus OS on a Raspberry Pi 3 with multiple Victron VE.Direct-to-USB devices connected through a passive (unpowered) USB hub.

The system worked reliably on Venus OS 3.75.

After upgrading to Venus OS 3.85, the solar chargers and battery monitor repeatedly disappeared completely from the Device List.

I downgraded to Venus OS 3.75, and all devices immediately reappeared and seem to be working reliably again, without any hardware or wiring changes.

This strongly suggests a regression between versions 3.75 and 3.85, possibly related to USB device detection, USB power management or serial device handling.

Has anyone else experienced this issue? Are there known changes in USB handling between these versions?

I am happy to provide additional diagnostic information if needed.

I have the exact same problem; it drops out anywhere from 4 hours to 5 days, and only a reboot brings the devices back.

I as well, but worse. Here’s my build: RPi 3B+ 2GB with OEM Pi 7" touch display, 1 BMV 712, 2 BlueSolar 100/30 MPPTs (only configuring 1 now until I sort this) and OEM Victron VE.USB cables. In my case I started on 3.85.

Symptoms are: Nothing is shown as autodetected in the UI, no matter the boot order of the Pi and periphs. I do see that /dev/serial-starter and /dev/serial are properly populated. And I can also connect to either dongle from an ssh session into the OS, via screen as such: “screen /dev/[device-name-here] 115200 8 n 1” and watch the legible data scroll by. I’ve also tried this test on both, omiting the serial parameters or forcing other speeds and the dongle seems to negotiate that every time just fine. Checksums (is this a header?) in either stream appear encoded, and that is an assumption on my part. Maybe I’m seeing noise? But the Venus UI shows nothing.

Ex: screen session

Checksum
PID 0xA383
V 13241
I -2607
P -35
CE -8604
SOC 965
TTG 2889
Alarm OFF
Relay OFF
AR 0
BMV 712 Smart
FW 0420
MON 0

“noisy” checksum?

Checksum ��ּNE@
�f�P
ꈄL$�\J:C}�B$�D

I’ve seen many mentions of a regression issue in 3.85 and have flashed another card with 3.75, configured again, etc. and still nothing. And the same troubleshooting steps produce the same results. And yes, I’ve checked versions to be certain I didn’t mix the lil’ buggers up.

The only other thing I can add is that on both versions the /dev/serial* dirs are faithfully reproduced after reboots and populated with the correct symlinks and I’ve verified the roots of those are also showing up reliably in the file system. Plug/unplug while tailing messages logs goes fine as well.

On 3.85, I had applied some mods the night before in preparation to a physical installation, but those were just the Pi screensaver/blackout and the prerequisite SystemHelper packages. I may have the name wrong, but it appears to be a requisite for any 3rd party packages. On the 3.75 build I left everything box-stock for simplifying my TSing. I have also tried both “Large” and standard images, and ensured I grabbed the right ones for a Pi3B+ (same as RPi2 images). I am truly stumped. The only suggestion I haven’t tried is swapping out the power supply. It’s a dc-dc that terminates to micro-usb, and it’s been “field tested”, meaning it powered a busy PI 4 fine for some time. And I’m not seeing any evidence of brownouts when he CPU spins up, for one example. But I must say, I feel I’m missing a step, vs encountering something buggy. I will try another PSU (I have a known good 120VAC) in case I’ve misplaced some faith into that dc-dc I mentioned.

Is there any consideration to be made regarding the Victron cables I bought? Like a particular sku is too old or something like that?

Any help is much appreciated and I too can run more diags and report if desired. I am truly stumped. All the underlying things are in order, I belive.

Update: I do believe that this may be an ID10T error :confused: Long story short, those cables are not OEM.

I kept poking around and found that if I pointed screen at them at slower speeds, the checksum part of the packets became more orderly. Odd. So I pulled up my Amazon history and had a look at what I did. When I ordered, the first product I looked at in depth, and those were definitely Victron cables, but they were something like 3 plus weeks out on delivery. When I backed out a page, there was a following card, nearly the same price and only a week and a half away. I didn’t drill into the description though. They looked pretty much identical in the thumbnail and the wording was simply Victron ve.direct USB cable. The sticker on the dongles I have were a bit odd, no real logo or branding, just blue with a similar graphic. The housing and connectors appear to be the same, or very similar. After a closer look, meaning I read BOTH descriptions, my mistake became very obvious. The description of the alternate cable claims compatibility with my BMV and the charge controllers, and clearly stated “NOT compatible with GX devices”. These are also claimed to be isolated.

My running hypothesis is RPi Venus is essentially a GX device. I can’t speak to the underlying hardware but I have to assume it’s likely the same code base and therefore kernel drivers for USB, also assuming some USB chips are somewhat common. I’ll know fairly soon, as I have now ordered the correct ones this time and they’re a week away.

As for power supply, that wasn’t the issue. The dc-dc unit, and I checked its current and voltage, output and that was fine, and an official Pi AC adapter made no difference when I gave that a go.

If I’m right about this then the morale of the story is buyer beware. And possibly another example that what Victron claims about their cables (or building our own) absolutely needs to be adhered to.

I’ll report back once I’ve gotten the new cables and tried them. I suspect what I have now would be good enough for an HA instance and as an aside, I may try that just to satisfy my curiosity. They weren’t much less in coast, about $1 less I think, so there’s no advantage in that regard. I wasn’t trying to save a dollar, I simply didn’t pay close enough attention. Doh!