John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 2 months ago

OK, so I updated Indi last night and now it seems to be connecting fine again. So it probably was a mixed version or corrupted file like PDB suggested. I will double check the firmware version, but I'm pretty sure I did update to 1.4 already. Maybe this was a symptom of a corrupted file also. Big thanks to you guys for helping!

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 2 months ago

Sorry - I forgot to mention that one possibility is that I changed the variable voltage setting to '8.2' instead of '8' in the Indi driver. Looking at the windows UPB utility, it appears that it only can accept whole integers 1-12 (volts) - maybe related?

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 2 months ago

Now I'm getting consistent crashes every time I try to connect the Indi driver to the UPBv2.

Any ideas what the problem is?

[2020-06-16T14:04:02.082 EDT INFO ][           org.kde.kstars.ekos] - "Pegasus UPB" Version: "1.3" Interface: 32904 is connected.
[2020-06-16T14:04:02.082 EDT DEBG ][           org.kde.kstars.ekos] - 1  devices connected out of  3
[2020-06-16T14:04:02.983 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-06-16T18:04:02: Driver indi_pegasus_upb: terminate called after throwing an instance of 'std::invalid_argument'"
[2020-06-16T14:04:02.983 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-06-16T18:04:02: Driver indi_pegasus_upb:   what():  stol"
[2020-06-16T14:04:02.984 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-06-16T14:04:02.984 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  "Child process 13009 died"
[2020-06-16T14:04:02.984 EDT DEBG ][           org.kde.kstars.indi] - Removing device "Pegasus UPB"
[2020-06-16T14:04:02.984 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-06-16T18:04:02: Driver indi_pegasus_upb: stderr EOF"
[2020-06-16T14:04:02.984 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  "<delProperty device=\"Pegasus UPB\"/>"
[2020-06-16T14:04:02.985 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-06-16T18:04:02: Driver indi_pegasus_upb: Terminated after #0 restarts."
[2020-06-16T14:04:02.985 EDT DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-06-16T14:04:02.985 EDT CRIT ][           org.kde.kstars.indi] - INDI driver  "indi_pegasus_upb"  crashed!
[2020-06-16T14:04:03.011 EDT DEBG ][           org.kde.kstars.indi] - INDIListener: Removing device "Pegasus UPB"
[2020-06-16T14:04:03.012 EDT INFO ][           org.kde.kstars.ekos] - "Pegasus UPB is offline." [attachment=8072]log_14-03-45.txt

File Attachment:

File Name: log_14-03-45_2020-06-16.txt
File Size: 19 KB


Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 3 months ago

OK, I updated the UPBv2 firmware and it all works now. :woohoo:

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 3 months ago

So I switched to the Ubuntu bleeding edge/ nightly build, and updated everything. I still can't see the control to adjust voltage for the variable voltage port. Am I missing something?

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 3 months ago

Thanks for the input. Which version of the driver are people using? Should I be using the nightly build?

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 3 months ago

Hi - can anyone tell me if the adjustable voltage output is working now? I can't seem to even find the tab with the setting anymore... Thanks!

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 10 months ago

I entered this line into the /lib/udev/rules.d/99-observatory.rules file as shown in the tutorial. There was no other identical device, so I skipped the serial number.

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="0666", SYMLINK+="UPBv2"

So is it legal use the device symlink /dev/UPBv2 in the Indi driver port field?

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 10 months ago

Wow - thanks knro! Your help is much appreciated!

OK so I will go ahead and make a udev rule for it. Maybe I have a bunch of USB devices that should also have persistent mapping. :unsure:

How can I tell if a USB device is using a serial to usb adapter internally?

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 10 months ago

Thanks for the tip. I'm using Kstars/Ekos on a headless mini PC/ Ubuntu 18.04. I read some of the posts on persistent port mapping, but thought that this was only for USB-to-serial converters. Would the same technique (/lib/udev/rules.d/) work for regular USB devices?

Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 10 months ago

OK, here are a few UPBv2 logs from this evening. Just for clarity, my system is off-grid with a solar panel/12V battery setup. It is completely powered down between sessions, so I am always starting from a cold boot.

The first log went well. I left all the USB devices plugged in and powered up the mini pc and UPB at the same time. I started Kstars and Ekos - Ekos connected to all the Indi devices automatically. I was able to turn the dew heaters on and off at various levels everything looked great.

Then the troubles started. I disconnected and rebooted. When Ekos tried to connect to the UPB it could not find an open port. It tried automatic cycling and I tried manually as well. I disconnected other devices and tinkered around for a while. Eventually the driver crashed. It crashed many times even after a reboot. Finally I cut power to both the mini pc and the UPB and restarted everthing. I turned off the auto-connect in the Indi settings and manually connected the UPB first, and then added the other devices one by one. That seemed to work.

It seems like I'm having USB conflicts that are different each boot. Not sure at all if it is related to the UPBv2 Indi driver or just my Newbie-ness with Linux. Hopefully this helps a bit :-)

File Attachment:

File Name: indi_pegasus_upb_03_37_30.log
File Size: 1 KB

File Attachment:

File Name: indi_pegasus_upb_03_33_58.log
File Size: 5 KB

File Attachment:

File Name: indi_pegasus_upb_03_44_56.log
File Size: 2 KB

File Attachment:

File Name: indi_pegasus_upb_03_50_22.log
File Size: 1 KB

File Attachment:

File Name: indi_pegasus_upb_03_50_41.log
File Size: 116 KB

File Attachment:

File Name: indi_pegasus_upb_03_38_37.log
File Size: 2 KB

File Attachment:

File Name: indi_pegasus_upb_03_39_28.log
File Size: 2 KB

File Attachment:

File Name: indi_pegasus_upb_03_15_12.log
File Size: 126 KB


Read More...

John Braun replied to the topic 'Ultimate Powerbox v2 - connectivity issues?' in the forum. 11 months ago

In case it is a help, I was able to get current off of all three dew channels using the current stable driver.

I'll attach my log as soon as I get a chance test it again tonight.

Read More...