Skip to content

Ragtech driver: Easy Pro 3200VA GT CBU-TI — no reply to initial status poll #3500

Description

@LanayAlves

Device Information

  • Manufacturer: Ragtech Sistemas de Energia
  • Model: Easy Pro 3200VA GT CBU-TI
  • Firmware: bcdDevice 1.00
  • USB VID/PID: 04d8:000a
  • iManufacturer: Ragtech Sistemas de Energia
  • iProduct: USB Serial Port
  • USB Speed: Full Speed (12Mbps)
  • Port: /dev/ttyACM0

System

  • OS: Debian Trixie (Linux 6.18.33 aarch64)
  • Hardware: Raspberry Pi 4 Model B 8GB
  • NUT version: 2.8.5.534 (built from source, commit 9b8e1c0)

ups.conf

[easyPro]
    driver = ragtech
    port = /dev/ttyACM0
    desc = "Ragtech Easy Pro 3200VA"

Serial port settings

speed 9600 baud; cs8; hupcl; clocal; -crtscts

icrnl ixon; opost onlcr

strace analysis

The driver sends handshake and poll correctly but receives no response:
write(4, "\xff\xfe\x00\x8e\x01\x8f", 6) ← handshake sent
ioctl(4, TCFLSH, TCIOFLUSH) ← buffer flushed
write(4, "\xaa\x04\x00\x80\x1e\x9e", 6) ← poll sent
ioctl(4, TCSBRK, 1) ← drain
→no read() from UPS follows ← no response

Observation

The TCFLSH/TCIOFLUSH after the handshake may be discarding the
UPS response before it is read. The UPS works correctly with
Ragtech Supervise 8 on Windows (confirmed via exported CSV log
showing voltage ~120V, frequency 59.6Hz, battery ~26.7V,
temperature ~48°C, load ~11%).

Increasing RAGTECH_POST_OPEN_MS from 200ms to 3000ms did not help.

Question

Is TCIOFLUSH intentional after the handshake? Could it be
discarding the UPS reply on this model? Would it be possible
to test with TCIFLUSH (input only) or removing the flush
before the read?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)RagtechDevices made by Ragtech Sistemas de EnergiaUSB

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions