Skip to content

dmdserver fails to connect over USB to ZeDMD on 5.1.2 firmware #32

@DaveBullet1050

Description

@DaveBullet1050

Hi there

The latest dmdserver fails to connect when using the latest 5.1.2 firmware. Here's the error:

# /usr/bin/dmdserver -l -v -c /userdata/system/configs/dmdserver/config.ini

Loaded config file
Opening DMDServer, listening for TCP connections on localhost:6789
Searching for ZeDMD...
ZeDMD candidate: device=/dev/ttyUSB0
Unable to find ZeDMD
No DMD displays found.

When I re-flash 5.1.1 I get:

# /usr/bin/dmdserver -l -v -c /userdata/system/configs/dmdserver/config.ini
Loaded config file
Opening DMDServer, listening for TCP connections on localhost:6789
Searching for ZeDMD...
ZeDMD candidate: device=/dev/ttyUSB0
ZeDMD 5.1.1 found: device=/dev/ttyUSB0, width=128, height=32
ZeDMDComm run thread starting

In both cases - the only change is the firmware. To get the error, I am using the following:

  1. Recompiled master (https://github.com/vpinball/libdmdutil) for dmdserver - I used the vpinball version as the PPUC fork was behind a few commits when I compiled on Feb 2nd
  2. Latest 5.1.2 firmware for a 128x32 SD panel (https://github.com/PPUC/ZeDMD/releases/download/v5.1.2/ZeDMD-128x32.zip)
  3. Latest libzedmd.so.0.9.1 (https://github.com/PPUC/libzedmd/releases/tag/v0.9.1)

I've recompiled all from source code on a Raspberry Pi 3b+ with this aarch64 kernel

Linux alarm 6.13.0-2-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Wed Jan 22 07:01:59 MST 2025 aarch64 GNU/Linux

Here's my /userdata/system/configs/dmdserver/config.ini I am using when launching dmdserver:

[DMDServer]
AltColor = 1

[ZeDMD]
SaveSettings = 0
Brightness = 15
RGBOrder = 0

[ZeDMD-WiFi]
Enabled = 0
WiFiAddr = 192.168.1.19

[Pixelcade]
Enabled = 0

My runtime host is Batocera V41

No other client / process is using /dev/ttyUSB0 (ZeDMD), so it isn't a failure to open the port due to being exclusively used by another process.

Thanks,
David.

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