×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Ekos & INDI Development Thread

1 month 1 week ago
dean
Junior Boarder
Junior Boarder
Posts: 33
More
Ekos & INDI Development Thread #56050
I am wondering if the pegasus power box advance (PPBA ) driver can incorporate USB hub per-port power control.
From the readme on the git repo github.com/mvp/uhubctl , it looks like Windows users may be out of luck.
If so, would that preclude developing the driver further so that hub control is available for linux users ? I received
this info from Evans as Pegasus Astro:

the USB Hub supports ON/OFF for each port in software.
You can check more about that here: github.com/mvp/uhubctl

Example

$ uhubctl
Current status for hub 20-14, vendor 2109:2813, 4 ports
Port 1: 0103 power enable connect [0403:6015 Pegasus Astro PPBA revA PPBA4ZNGNY]
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0100 power

E.g I want to turn off port 2:

ubctl -p2 -a 0
Current status for hub 20-14, vendor 2109:2813, 4 ports
Port 2: 0000 off
Sent power off request
New status for hub 20-14, vendor 2109:2813, 4 ports
Port 2: 0000 off

Verification

$ uhubctl
Current status for hub 20-14, vendor 2109:2813, 4 ports
Port 1: 0103 power enable connect [0403:6015 Pegasus Astro PPBA revA PPBA4ZNGNY]
Port 2: 0000 off
Port 3: 0100 power
Port 4: 0100 power

- Dean

HEQ5 (belt mod), Lynx USB direct
ASI385MC-Cool, ASI120MM-mini
Meade LX90 8" SCT (deforked), Orion 60mm
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3
Raspberry Pi 3B+, Pi4B+ 8Gb
Kstars/Ekos/Stellarmate OS

Please Log in or Create an account to join the conversation.

Time to create page: 0.327 seconds