×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos & INDI Development Thread

  • Posts: 91
  • Thank you received: 18

Replied by Dean on topic Ekos Development Thread

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
3 years 9 months ago #56050

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

Time to create page: 0.500 seconds