Skip to content

Conversation

@baro666
Copy link
Contributor

@baro666 baro666 commented Jan 20, 2026

I’m proposing a new INDI core driver to control the StarTech 7-port managed industrial USB 3.2 Gen 1 USB Hub (5G7AINDRM-USB-A-HUB https://www.startech.com/en-us/usb-hubs/5g7aindrm-usb-a-hub).

What this driver does:
Switch individual ports ON/OFF
Switch all ports ON/OFF
Provides port aliases in the INDI Control Panel
Persists configuration through standard INDI config save/load

StarTech provides a small CLI tool for hub management, but no public SDK/API. I wanted to avoid depending on vendor software (closed-source and not always available on all targets), so this driver talks to the hub directly via its serial management interface, using the device protocol.
The driver was build and tested extensively on Linux with KStars/Ekos and real 5G7AINDRM-USB-A-HUB hardware.

Implementation notes:
Direct serial communication (no external vendor dependencies)
Follows INDI core structure and conventions as closely as possible but I'm not a programmer so...
Tested in KStars/Ekos on Linux with real hardware

Most of the code was written with the help of AI tooling, and while the driver is working well in my environment, I’d appreciate an experienced maintainer review for code quality and INDI style compliance.

If this is a useful addition, I’m happy to support further testing and iterate on requested changes.

Thanks,
Massimo

@knro
Copy link
Contributor

knro commented Jan 21, 2026

Thank you. Please also submit an entry to INDI Drivers Documentation repository as it is a requirements for new drivers.

@baro666 baro666 marked this pull request as ready for review January 23, 2026 00:23
@knro
Copy link
Contributor

knro commented Jan 25, 2026

Hello @baro666 , just wanted to check if you had time to submit the driver documentation?

@baro666
Copy link
Contributor Author

baro666 commented Jan 25, 2026

Hello @baro666 , just wanted to check if you had time to submit the driver documentation?

Hi @knro I submitted the docs at https://github.com/indilib/drivers-docs/pulls. Hope I got it right...

@knro knro merged commit 7c42727 into indilib:master Jan 26, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants