×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

PegasusAstro Pocket Powerbox Advance - INDI driver Ubuntu

  • Posts: 91
  • Thank you received: 18
indilib on github has a fix for the Pocket Power Box (PPB) driver to acknowledge connection to the PPBA during handshake.
However, there is no support for the 4 port USB3 hub. That feature set is part of the Ultimate Power Box. I have forked the indilib
repo and intend to write the driver for PPBA ... currently waiting for Pegasus Astro to provide the serial command table specifically
for PPBA.
HEQ5 (belt mod)
ASI533MC Pro, ASI385MC-Cool, ASI120MM-mini, ASI178MM
Meade LX65 6" ACF SCT (OTA), William Optics GT71, WO PFlatA6III, ZWO IR/UV cut
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3, ZWO EAF, ZWO OAG, Hercules OAG
Raspberry Pi 3B+, Pi4B+ 8Gb, Pegasus PPBA
Stellarmate OS
The following user(s) said Thank You: Craig, Jan
2 years 7 months ago #55883

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

  • Posts: 527
  • Thank you received: 138
Awesome. I've been thinking about getting one of these.
-Andrew
––––––––––
Mac Observatory - All about using the Mac for Astrophotography: www.macobservatory.com
Astrobin: www.astrobin.com/users/Lead_Weight/
2 years 7 months ago #55887

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

  • Posts: 170
  • Thank you received: 28
There is a UCH_Serial_Command_Table in Pegasus Astro website (pegasusastro.com/wp-content/uploads/2020...al_Command_Table.pdf). Is that what you need ?
Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90
Last edit: 2 years 7 months ago by Joaquin. Reason: Typo
2 years 7 months ago #55902

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

  • Posts: 91
  • Thank you received: 18
I have all the available command tables Pegasus Astro has posted and commands/responses in some cases
are different between devices. For example, PC command on the hub means print uptime in ms but on UPB it means
print power consumption, turning a port on or off on the hub is U1:b for example, but on UPB its PU:b .
HEQ5 (belt mod)
ASI533MC Pro, ASI385MC-Cool, ASI120MM-mini, ASI178MM
Meade LX65 6" ACF SCT (OTA), William Optics GT71, WO PFlatA6III, ZWO IR/UV cut
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3, ZWO EAF, ZWO OAG, Hercules OAG
Raspberry Pi 3B+, Pi4B+ 8Gb, Pegasus PPBA
Stellarmate OS
2 years 7 months ago #55909

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

  • Posts: 16
  • Thank you received: 1
It's great that you are working on this. Received my powerbox advanced today and can't wait to integrate it.
Thank you!
2 years 7 months ago #56020

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

  • Posts: 91
  • Thank you received: 18
actually, Anthony H beat me to it. It might be available on the bleeding edge nightly builds. you
can see the activity on github here: tinyurl.com/yb7qepfu
There are some other features not coded into the driver that could be added, including
detection of device on the I2C channel (temp/humid sensor, external motor controller) and
control of the USB hub.
HEQ5 (belt mod)
ASI533MC Pro, ASI385MC-Cool, ASI120MM-mini, ASI178MM
Meade LX65 6" ACF SCT (OTA), William Optics GT71, WO PFlatA6III, ZWO IR/UV cut
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3, ZWO EAF, ZWO OAG, Hercules OAG
Raspberry Pi 3B+, Pi4B+ 8Gb, Pegasus PPBA
Stellarmate OS
Last edit: 2 years 7 months ago by Dean. Reason: spelling
2 years 7 months ago #56025

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

  • Posts: 321
  • Thank you received: 19
Oh this is great news.
Actually i allready got mine and it is up and running.
Tried to use the driver provided in KStars 3.4.2 but this makes the system unstable, though it connects.

ATM the Box is working out of box, but it would be nice to controll the heater, since its a bit to warm right now.
And having controll over this very nice device would be great.

Greets!
Niki
Skywatcher EQ6-R | Lacerta 10" Carbon-Newton | Lacerta MFoc Motorfocus | Moravian G2 8300 Color | Canon EOS 5DMarkIIIa | Lodestar X2 guiding cam | KSTARS 3.4.3. on my outdoor-Laptop with KDE-Neon/Plasma | KSTARS 3.4.3. on Remote-IMac with Catalina | KSTARS 3.4.3 on Remote-Macbook Air with Catalina
The following user(s) said Thank You: Craig
2 years 7 months ago #56040
Attachments:

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

  • Posts: 91
  • Thank you received: 18
if you run kstars-bleeding on your OS and try the driver out, please do report any bugs with voluminous detail: either log files
or your observations. That way, we can all make it better ;)
HEQ5 (belt mod)
ASI533MC Pro, ASI385MC-Cool, ASI120MM-mini, ASI178MM
Meade LX65 6" ACF SCT (OTA), William Optics GT71, WO PFlatA6III, ZWO IR/UV cut
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3, ZWO EAF, ZWO OAG, Hercules OAG
Raspberry Pi 3B+, Pi4B+ 8Gb, Pegasus PPBA
Stellarmate OS
The following user(s) said Thank You: Craig
2 years 7 months ago #56072

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

  • Posts: 2
  • Thank you received: 1
There is a hidden feature in PPB Advance.

USB Hub is fully manageable (actually you can turn ON /OFF individually <strong>each USB2 or USB3 port)</strong>

Please check uhubctl project : github.com/mvp/uhubctl <- (it will be very neat if someone can use this library at Inidlib)


Example of listing all USB2 and USB3 ports of PPBADV:
evansg$ uhubctl
 
Current status for hub 20-7 [2109:0813 VIA Labs, Inc. USB3.0 Hub, USB 3.00, 4 ports]
  Port 1: 02a0 power 5gbps Rx.Detect
  Port 2: 02a0 power 5gbps Rx.Detect
  Port 3: 02a0 power 5gbps Rx.Detect
  Port 4: 02a0 power 5gbps Rx.Detect
Current status for hub 20-6 [2109:2813 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports]
  Port 1: 0103 power enable connect [0403:6015 Pegasus Astro PPB-ADV revA PPBA4PWG9Q]
  Port 2: 0100 power
  Port 3: 0100 power
  Port 4: 0100 power

Example of switching OFF USB port1:
$ uhubctl --ports 1 --action 0
Current status for hub 20-7 [2109:0813 VIA Labs, Inc. USB3.0 Hub, USB 3.00, 4 ports]
  Port 1: 02a0 power 5gbps Rx.Detect
Sent power off request
New status for hub 20-7 [2109:0813 VIA Labs, Inc. USB3.0 Hub, USB 3.00, 4 ports]
  Port 1: 0080 off
Current status for hub 20-6 [2109:2813 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports]
  Port 1: 0103 power enable connect [0403:6015 Pegasus Astro PPB-ADV revA PPBA4PWG9Q]
Sent power off request
New status for hub 20-6 [2109:2813 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports]
  Port 1: 0000 off
The following user(s) said Thank You: Craig
Last edit: 2 years 7 months ago by Evangelos Souglakos.
2 years 7 months ago #56158

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

  • Posts: 91
  • Thank you received: 18
From the github repo for uhubctl:
"While uhubctl compiles on Windows, USB power switching does not work on Windows because libusb is using winusb.sys driver,
which according to Microsoft does not support necessary USB control requests. This may be fixed if libusb starts supporting different driver on Windows"

likely this would mean that Win OS users will not get the benefit of USB on/off control. I don't see any rules
in the indi lib developer manual that precludes adding this for linux and mac platforms. Can someone with more
authority comment ?
HEQ5 (belt mod)
ASI533MC Pro, ASI385MC-Cool, ASI120MM-mini, ASI178MM
Meade LX65 6" ACF SCT (OTA), William Optics GT71, WO PFlatA6III, ZWO IR/UV cut
MoonLite CS 2" SCT, MoonLite High Res Stepper Motor V3, ZWO EAF, ZWO OAG, Hercules OAG
Raspberry Pi 3B+, Pi4B+ 8Gb, Pegasus PPBA
Stellarmate OS
2 years 6 months ago #56214

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

  • Posts: 284
  • Thank you received: 54
Awaiting my PPBA anytime soon (?). Thanks for all the effort.

I wonder if Pegasus will add USB on/off control in a future firmware upgrade as I am certain people would appreciate. That could affect their UPBV2 sales a bit though. At least there is an alternate solution for Linux users.
2 years 6 months ago #56221

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

  • Posts: 120
  • Thank you received: 11
I’ve got mine showing up in the next few days.

I’ve currently got v1.5.1 of StellarMate OS and it’s been really solid. Are any features it supports on this slightly older build?

Does the latest version of StellarMate OS support it yet?
Skywatcher EQ6R / EdgeHD 8" / ZWO 1600MC / 2600MC / ZWO 290mm / 120MM-S / StellarMate
2 years 6 months ago #56477

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

Time to create page: 1.748 seconds