Welcome, Guest. Please login or register.

Username: Password:

Author Topic: config won't run on ubuntu  (Read 3825 times)

philip

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
config won't run on ubuntu
« on: August 04, 2017, 14:55:27 »

Hi  I've used my astroEQ for several years on Windows 7 and now want to use it on UBUNTU. First of all I found it difficult to find the AstroEQ config utility - LINUX. Could there be a link on the download page?  My problem is that when I press the config button absolutely nothing happens. This is what I know:  the ls command shows the files and I presumed I had to pick a number not shown. I tried four different numbers and none worked. When I went back to ls my numbers showed up.  (They disappeared after a reboot.) I could confirm that the AstroEQ appeared as /dev/ttyACM0. Synaptic showed AstroEQ as loaded but with a file size 0.  I am stuck  - can you offer any ideas?

Philip
Logged

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #1 on: August 09, 2017, 22:27:34 »

Hi Philip,

Apologies for the delay in responding.

The Linux version hadn't been updated for a while so I'd removed the link from the downloads page. I've since updated it to the most recent version but forgot to add the link back - I'll add it back to the downloads page when I get a moment.

You are correct in thinking you need to choose a ttyS## name that does not already exist. I'm not sure why the link would go away after reboot, but shouldn't matter.

As the serial ports are owned by the root user and the dialout group, you will either need to add yourself to the "dialout" group (best option) or run the config utility as root (best to avoid running things as root). Otherwise the config utility will not have permission to access the serial port and so will likely hang.

To add yourself to the dialout group, you would run the command below, replacing <username> with your Linux user name.

Code: [Select]
sudo adduser <username> dialout
I realise that info is missing from the readme, so I will update the readme with the extra info.

If that doesn't solve the issue, let me know and I will investigate further.

Kind Regards,
Tom.

Logged
Tom Carpenter (AstroEQ)

philip

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: config won't run on ubuntu
« Reply #2 on: August 14, 2017, 15:58:14 »

Hi Tom
I have always had dialout permission so that is not the problem. I uploaded the firmware in Ubuntu. I have rebooted back into Windows, downloaded the latest config file and everything works fine. The motors purr instead of growl. I would like eventually to use Ubuntu but in the meantime I can use Windows.

It cannot be a hardware problem and presumably it is some problem in software in Ubuntu.

Do you have any idea of what checks to make?

Thanks very much. Philip
Logged

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #3 on: August 16, 2017, 08:36:51 »

Hi Philip,

Are you running AstroEQ from the Terminal or from the ubuntu launcher?

If you're not running from the terminal, could you try doing so by running the command "astroequploader". When run from the terminal the utility will spit out debugging information which may shed some light on the issue - e.g. whether there is an unhandled exception somewhere that's crashing it.

Kind Regards,

Tom.
Logged
Tom Carpenter (AstroEQ)

philip

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: config won't run on ubuntu
« Reply #4 on: August 17, 2017, 11:53:17 »

Hi Tom
I have run it in terminal when I clicked on 'configure' and got the results attached, which showed up an error .
I will try and send it as an attachment.
Philip
Logged

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #5 on: August 17, 2017, 20:39:03 »

Hmm, seems to be some weird dependency issue with JSSC that's come to light since I switched to processing 3.2.4.

I'll have to investigate further. For now I guess just stick to Windows when running the config utility. Or try running the windows version under wine if you can.
Logged
Tom Carpenter (AstroEQ)

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #6 on: September 02, 2017, 19:56:27 »

Hi.

Just having a look into this. What version of libjssc-java do you have installed? Also what version of Ubuntu?

Tom.
Logged
Tom Carpenter (AstroEQ)

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #7 on: September 02, 2017, 20:29:23 »

Never mind, solved the problem.

This will be fixed when I release a new version of the config utility soon. I'm just working on another couple of Linux fixes at the same time.
Logged
Tom Carpenter (AstroEQ)

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #8 on: September 02, 2017, 21:40:56 »

I've update the Github repository with a new version. I've also added a Linux download link to the AstroEQ downloads page.

Let me know if you still face any problems.
Logged
Tom Carpenter (AstroEQ)

philip

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: config won't run on ubuntu
« Reply #9 on: September 06, 2017, 11:30:37 »

Hi Tom     on holiday,will try when I get back in two weeks many thanks philip
Logged

philip

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: config won't run on ubuntu
« Reply #10 on: September 30, 2017, 14:43:12 »

To install libjssc-java 2.8 I think I needed to upgrade my 16.04 LTS to 17.04.I did this and it failed to boot, I have had to delete the Ubuntu partition and reinstall 16.04. I think I'll wait for the next LTS version before trying again.In the mean time rebooting to windows when I want to use the scope works fine. just a little tedious.   Thanks for your help.  philip
Logged

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: config won't run on ubuntu
« Reply #11 on: September 30, 2017, 18:33:11 »

You shouldn't need 17.04 - I'm using 14.04 still on my VM. I just downloaded the .deb from: https://packages.ubuntu.com/artful/libjssc-java - seems to have no problems installing on older versions of ubuntu, it's just not in the apt cache.

But also you don't need to run the config utility every time you want to use the scope - it's only needed to update the configuration and firmware.
« Last Edit: September 30, 2017, 18:34:59 by TCWORLD »
Logged
Tom Carpenter (AstroEQ)

philip

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: config won't run on ubuntu
« Reply #12 on: January 15, 2018, 10:12:57 »

I've sorted what I have been doing wrong.For some reason Indistarter does not start indiserver but entering  the command in the terminal works fine.Although I have not been able to try the goto in a night session on a test it worked really well and went straight to the target.Whereas under win7 it oscillated about the target before stopping.So  Tom thank you very much for your time and effort and good luck with the Phd       Philip
Logged