Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #21  
Old 10-09-2015, 06:12 PM
Octane's Avatar
Octane (Humayun)
IIS Member #671

Octane is offline
 
Join Date: Dec 2005
Location: Canberra
Posts: 11,159
I'm building from source at the moment. Looks to be good.

Will check your links, Rowland, cheers.

H
Reply With Quote
  #22  
Old 11-09-2015, 01:06 PM
NeilW
Registered User

NeilW is offline
 
Join Date: Feb 2006
Location: Adelaide
Posts: 307
Guys, my Linux knowledge is a bit rusty these days. I have an HEQ5 with a serial/USB adapter cable. KStars/Indi says it can't find the telescope (defaults to /ttyS0), and it just hangs when trying to search for the scope on available ports. Any hints would be welcome (might have to dust off Linux for Dummies )

Last edited by NeilW; 11-09-2015 at 04:01 PM. Reason: spelling
Reply With Quote
  #23  
Old 11-09-2015, 03:22 PM
Octane's Avatar
Octane (Humayun)
IIS Member #671

Octane is offline
 
Join Date: Dec 2005
Location: Canberra
Posts: 11,159
Don't you have to change the ttyS0 to usb0? I thought I saw it on their forum somewhere.

Or, maybe it is ttyS0? Not sure! I'm still stuck while building from source. Need to try another version of gcc/g++ tonight.

H
Reply With Quote
  #24  
Old 11-09-2015, 04:00 PM
rcheshire's Avatar
rcheshire (Rowland)
Registered User

rcheshire is offline
 
Join Date: Apr 2010
Location: Geelong
Posts: 2,617
Xephem is not as pretty but uses INDI and accepts lx200 connections either serial or usb.
Reply With Quote
  #25  
Old 11-09-2015, 05:18 PM
NeilW
Registered User

NeilW is offline
 
Join Date: Feb 2006
Location: Adelaide
Posts: 307
When I first played around with Linux years ago my computer didn't even have a USB port!
Reply With Quote
  #26  
Old 11-09-2015, 05:40 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,760
Quote:
Originally Posted by NeilW View Post
When I first played around with Linux years ago my computer didn't even have a USB port!
I can identify with that. Over the past 25 years or so, I have loaded and unloaded a parade of Linux distros so many times, I could not even guess at the number. In the early days, with command-line only, the flirtation was usually brief but then the GUIs came along and it took longer for me to get frustrated and abandon the effort. I had a brief fling with Astro Distros 1 and 2 last year and actually got INDI/Ekos/KStars going but found that the INDI library still lacked support for some of my gear (SX cameras in particular - at that time). I always hoped that the developers would come up with a GUI/interface that didn't have so many dependencies and require such a large commitment in effort and time to learn. Hell, I/m still struggling with PI.

But I'm a tiger for punishment and have decided to dive in again - this time with an Intel Computer-on-a-stick device running Ubuntu. Ah, the irrepressible urge to fiddle around will never go away!.

Peter
Reply With Quote
  #27  
Old 13-09-2015, 12:04 PM
gary
Registered User

gary is offline
 
Join Date: Apr 2005
Location: Mt. Kuring-Gai
Posts: 5,999
Quote:
Originally Posted by NeilW View Post
Guys, my Linux knowledge is a bit rusty these days. I have an HEQ5 with a serial/USB adapter cable. KStars/Indi says it can't find the telescope (defaults to /ttyS0), and it just hangs when trying to search for the scope on available ports. Any hints would be welcome (might have to dust off Linux for Dummies )
Hi Neil,

USB serial devices are often instantiated as /dev/ttyUSB0, /dev/ttyUSB1
and so on.

If you still have trouble and are using something like a FTDI USB
Serial converter device, see if the driver is loaded by doing
an lsmod.

For example -

Code:
% lsmod | grep ft
ftdi_sio               50508  0
usbserial              36296  1 ftdi_sio
usbcore               185584  8ftdi_sio,usbserial,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
Best Regards

Gary Kopff
Mt Kuring-Gai
(Using UNIX/Linux nearly every day continually since 1976 and still learning)
Reply With Quote
  #28  
Old 14-09-2015, 11:55 AM
NeilW
Registered User

NeilW is offline
 
Join Date: Feb 2006
Location: Adelaide
Posts: 307
Thanks Gary, I'll give that a try. Spent several hours on the weekend trying to get KStars/Indi to see my HEQ5 without success. Doing an "lsusb" suggests that the system is recognizing that the Serial/USB is there. I'll keep trying
Reply With Quote
  #29  
Old 15-09-2015, 06:40 AM
rcheshire's Avatar
rcheshire (Rowland)
Registered User

rcheshire is offline
 
Join Date: Apr 2010
Location: Geelong
Posts: 2,617
Does this type of hardware require a special udev rule or is it likely to be covered under the generic usb stuff?
Reply With Quote
  #30  
Old 15-09-2015, 02:01 PM
gary
Registered User

gary is offline
 
Join Date: Apr 2005
Location: Mt. Kuring-Gai
Posts: 5,999
Quote:
Originally Posted by rcheshire View Post
Does this type of hardware require a special udev rule or is it likely to be covered under the generic usb stuff?
Hi Rowland,

In the following I am talking generic Linux here. I am not familiar with
the kernel these guys might be using with their Raspberry PI boards.
But given it is likely to be a reasonably up to date version of the kernel,
the following should hopefully still hold true.

Firstly, you would need to check if
CONFIG_USB_SERIAL_FTDI_SIO=y
is in the running kernel.

You can do that from within a running system -
# zcat /proc/config.gz | grep CONFIG_USB_SERIAL_FTDI_SIO

If it were not set, you would need to set it in the .config file of the
kernel source, do a make, go drink coffee for a while and
when the image is ready, load the new kernel.

When you insert the FTDI USB Serial device and type
# dmesg

somewhere toward the bottom you should see a message of the type -

[ 60.123920] usb 1-1.1: Detected FT232RL
[ 60.127866] usb 1-1.1: Number of endpoints 2
[ 60.132156] usb 1-1.1: Endpoint 1 MaxPacketSize 64
[ 60.136982] usb 1-1.1: Endpoint 2 MaxPacketSize 64
[ 60.141823] usb 1-1.1: Setting MaxPacketSize 64
[ 60.150705] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0

If you do a
# ls /dev/ttyUSB*
you should also see the device instantiated there.

Now, if that was the only USB Serial device you ever used, you
could always access it via /dev/ttyUSB0.

If you had more than one and sometimes the various ttyUSBn's got
mixed around, you might then want to add a udev rule to create
a persistent name.

Here is a link on how to do that -
http://hintshop.ludvig.co.nz/show/pe...erial-devices/

In the example on that web page, the author exploits the unique
identification number of each adapter. As long as you kept the same
adapter coupled to the same telescope port or whatever, then you
can then address your peripherals using your own symbolic names.

All the above is probably of help to Neil, assuming he is using a FTDI
device and assuming whatever kernel he was running didn't have
FTDI support compiled in.

Best Regards

Gary
Reply With Quote
  #31  
Old 15-09-2015, 07:49 PM
rcheshire's Avatar
rcheshire (Rowland)
Registered User

rcheshire is offline
 
Join Date: Apr 2010
Location: Geelong
Posts: 2,617
Hi Gary. That's a trip down memory lane. It's been a long while since I compiled my own kernels and drivers and wrote a udev rule. I recall now, udev can be used to create a persistent name for the device.
Reply With Quote
  #32  
Old 31-01-2016, 02:22 PM
phomer (Paul)
Registered User

phomer is offline
 
Join Date: Nov 2009
Location: Maribyrnong
Posts: 160
Grady,

How did you go with your INDI efforts, I am setting up a Raspberry PI 2 with Raspbian at the moment. It also has a Wi Pi and a Raspberry Pi case. Quite snazzy but not particularly water resistant but fairly responsive.

So far I have only performed some tests with my QSI 583 but I also want to set up PHd2 guiding to run my lodestar.

Regards

Paul






Quote:
Originally Posted by stanlite View Post
Well I have been investigating the means by which I will control my telescope once I move into my new house in (hopefully) mid October. As such I have decided to run the gauntlet of switching over to Linux based image capture.

So far I have set-up a dual boot OS on my image processing machine and installed Kstars with Ekos and Indi libraries. The simulations so far have been promising.

One reason I am considering Linux is because of the ability to run the indi library as a remote server. This means that I will be able to use a Raspberry Pi (i am using a Pi2 but pi 1's work) as a server host at the scope that I can remote into with Ekos from inside the house using either wireless or Ethernet. Best of all the Pi runs of the same USB hub my other equipment will be plugged into. Not bad for only $35

This means that provided the wireless connection works in my location works I would be able to reduce cabling running up the mount to only one (power). I got the Pi today and have loaded the operating system and Indi server on to it and will be testing the remote server with some of my equipment in the coming days.

I will keep you advise of how it goes.
Reply With Quote
  #33  
Old 31-01-2016, 07:20 PM
kens (Ken)
Registered User

kens is offline
 
Join Date: Oct 2014
Location: Melbourne, Australia
Posts: 314
I installed Ubuntu Mate 15.10 on my Pi2. Then you can install PHD2 easily from https://launchpad.net/~pch/+archive/ubuntu/phd2
I'm now looking at Ekos which uses an adaptation of linguider. Also trying to work out how to run PHD2 on the desktop with the camera connected to the Pi2.
Another advantage of Indi is that you can run multiple noes. So for instance you could have the imaging cam on a different Pi from the guidecam.
I found the Ekos tutorial video at http://www.indilib.org/about/ekos/video-tutorials.html very informative
Reply With Quote
  #34  
Old 02-02-2016, 08:57 PM
phomer (Paul)
Registered User

phomer is offline
 
Join Date: Nov 2009
Location: Maribyrnong
Posts: 160
My problem is that when running Ekos I can control my guide camera through the kstars INDI control panel but cannot work out how to connect PHD2 to the camera through INDI. I select INDI camera in PHD2 but keep getting a socket: connection refused.

I have tried doing this with INDI connected and disconnected from the camera but it makes no difference. A dialogue window pops up showing INDI Server, hostname: localhost, Port: 7624, with a connect button beneath.

Camera shows as Driver: empty, CCD: Guider, Port: empty.

There are no dropdown options with driver.

This is running under Raspbian with PHD2 built by me.

Regards

Paul


Quote:
Originally Posted by kens View Post
I installed Ubuntu Mate 15.10 on my Pi2. Then you can install PHD2 easily from https://launchpad.net/~pch/+archive/ubuntu/phd2
I'm now looking at Ekos which uses an adaptation of linguider. Also trying to work out how to run PHD2 on the desktop with the camera connected to the Pi2.
Another advantage of Indi is that you can run multiple noes. So for instance you could have the imaging cam on a different Pi from the guidecam.
I found the Ekos tutorial video at http://www.indilib.org/about/ekos/video-tutorials.html very informative
Reply With Quote
  #35  
Old 03-02-2016, 03:45 PM
The_bluester's Avatar
The_bluester (Paul)
Registered User

The_bluester is offline
 
Join Date: Feb 2011
Location: Kilmore, Australia
Posts: 3,365
Interesting to see this. I was thinking of building an Intel NUC for much this purpose (As I commented in another thread) but for use at home near my network if a Pi can do the remote work while another PC does the gruntwork it could be a great option. Plus cheap, small and low power consumption even compared to a NUC.

I believe the Pi2 is around six times the processor power of the original. I am using one as a home theater PC in my shed.
Reply With Quote
  #36  
Old 03-02-2016, 07:13 PM
kens (Ken)
Registered User

kens is offline
 
Join Date: Oct 2014
Location: Melbourne, Australia
Posts: 314
Quote:
Originally Posted by phomer View Post
My problem is that when running Ekos I can control my guide camera through the kstars INDI control panel but cannot work out how to connect PHD2 to the camera through INDI. I select INDI camera in PHD2 but keep getting a socket: connection refused.

I have tried doing this with INDI connected and disconnected from the camera but it makes no difference. A dialogue window pops up showing INDI Server, hostname: localhost, Port: 7624, with a connect button beneath.

Camera shows as Driver: empty, CCD: Guider, Port: empty.

There are no dropdown options with driver.

This is running under Raspbian with PHD2 built by me.

Regards

Paul
Try changing CCD to Main Imager. Guider is for a camera connected to the ST4 port
I have both Ekos and PHD connected in my setup.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 06:25 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Astrophotography Prize
Advertisement