Return to the Cloudy Nights Telescope Reviews home page


Speciality Forums >> Astronomy Software & Computers

Pages: 1
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Updating Synscan firmware in Linux
      #5409905 - 09/08/12 11:25 AM Attachment (29 downloads)

Recently I bought a used 10" Newtonian on an EQ6Pro mount - for just C$1200.

The instruction manual indicated that the Synscan version was 3.03 but the controller itself indicated v.3.12 and had a number of menu entries not in the manual. The mount also came with what turned out to be a GPS mouse on a PS/2 / mini Din6 cord (male), along with a PS/2 (female) to RJ-11 cord to plug it into the controller. Additionally included was a PS/2 (female) to USB cable with a small inline circuit box, presumably for using the GPS unit with a computer. The previous owner was apparently unaware of what this stuff was (as was I initially), he having bought it used himself. My guess is that the initial owner had added the GPS equipment and had done the firmware update on the controller.

Unfortunately, what the mount did not come with was the RJ-11 to DB9 cable for connecting the controller to a computer.

So I visited my friends down at Focus Scientific here in Ottawa and by sheer luck they had a spare RJ-11 to PS/2 (male) cable from Sky Watcher in stock, as they had been sent an extra some time ago. What this would allow is to plug that new cable into the USB converter cable, thus I could connect the controller with a computer.

Edited by Aurneth (09/08/12 11:28 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409910 - 09/08/12 11:29 AM Attachment (29 downloads)

Since I use Linux I looked into both Stellarium and KStars, and for that I would have to see that there was a driver for the converter and what device it was using.

So I plugged it in to a USB port and issued the following command:

Code:
~# lsusb 



Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409913 - 09/08/12 11:32 AM Attachment (33 downloads)

So the device was found, and it was the apparently fairly common PL2303 USB to Serial converter.

Next I checked where the device was located on the system and if it had a driver (module) loaded yet:

Code:
~# dmesg 



Post Extras: Print Post   Remind Me!   Notify Moderator  
rmollise
Postmaster
*****

Reged: 07/06/07

Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409923 - 09/08/12 11:38 AM

Well, that's all fine, but unless you plan to run the SynScan firmware updater with an emulator, I don't see how you plan to update the HC firmware with this rig...

Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409937 - 09/08/12 11:43 AM Attachment (34 downloads)

And happily the system loaded a driver module and the device is unsurprisingly located at /dev/ttyUSB0.

I used this information to set the mount up in both Stellarium and KStars.

However, I also wanted to update the firmware. This could be a bit more challenging since the updater from Skywatcher is a Windows program.

I have access to a Windows 2000 machine and I tried and tried to install a driver for the USB Serial cable, but to no avail (contrast that to the instant installation by my Debian Linux OS). I just couldn't get rid of the yellow warning sign in the Hardware Manager and the updater software couldn't find the controller when attached.

So I decided to give wine a go.

The biggest thing you actually have to do is create a symlink to the linux device in a way wine and the updater software can understand (its looking for COM ports), but fortunately WineHQ has the way to do it:
http://www.winehq.org/docs/wineusr-guide/misc-things-to-configure

Code:
cd ~/.wine/dosdevices

ln -s /dev/ttyUSB0 com3



As you can see, I also added a pair of serial devices as well, just for completeness.

Edited by Aurneth (09/08/12 12:20 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409949 - 09/08/12 11:49 AM Attachment (29 downloads)

Now on to seeing if it would work:

Code:
$ wine SynScanFirmwareLoader_Ver3.0/SynScanFirmwareLoader.exe 



And here we are, the SynScan Firmware Loader running under wine in Linux.

I pressed the HC. Version button to confirm that it had detected the controller, which it had.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409953 - 09/08/12 11:50 AM Attachment (30 downloads)

Next, accessing the update file:

Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409955 - 09/08/12 11:51 AM Attachment (30 downloads)

And the file itself:

Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409960 - 09/08/12 11:53 AM Attachment (30 downloads)

Now for the moment of truth: will it actually work? It's one thing to find the device and probe it a bit, quite another to actually do something.

Here it is at the beginning of the erase cycle (I just missed getting the screenshot of that in the status area).


Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409961 - 09/08/12 11:54 AM Attachment (33 downloads)

Success! The update is complete.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409964 - 09/08/12 11:57 AM Attachment (31 downloads)

Finally, back to the mount itself to plug it in and power it up.

As you can see, the firmware has indeed been updated to v3.27.


I prepared this little article in case anyone else using Linux was wondering how to update their Synscan firmware with Wine when they don't have recourse to a Windows box that actually functions properly...


Post Extras: Print Post   Remind Me!   Notify Moderator  
lambermo
sage


Reged: 07/16/07

Loc: .nl
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5409976 - 09/08/12 12:03 PM

Cool post.

Post Extras: Print Post   Remind Me!   Notify Moderator  
mclewis1
Thread Killer
*****

Reged: 02/25/06

Loc: New Brunswick, Canada
Re: Updating Synscan firmware in Linux new [Re: lambermo]
      #5410192 - 09/08/12 02:30 PM

Aurneth,

Yes, regardless of the update situation it's always interesting to hear from someone who's documented using USB-serial adapters and planetarium/scope control apps in Linux.

Thanks for the info.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Aurneth
member


Reged: 08/11/12

Loc: Ottawa, Canada
Re: Updating Synscan firmware in Linux new [Re: mclewis1]
      #5410530 - 09/08/12 06:10 PM

Mark,

I didn't think that using Planetarium/scope control apps in Linux was all that remarkable anymore. It was pretty straightforward, really. I suppose the USB-serial adaptor added an extra wrinkle but the OS dealt with that easily.

But updating the SynScan firmware in Linux is something I can't even find a reference for, so that's why I decided to document my attempt. Kudos to the Wine developers for making such a straightforward way of adding virtual COM ports because without that it would have gone nowhere fast.

David


Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Duncan, BC
Re: Updating Synscan firmware in Linux new [Re: Aurneth]
      #5413166 - 09/10/12 11:52 AM

We have 3 synscan mounts here, bunch of linux computers, and my wife uses a mac. We still have netbooks with xp on them specifically for the telescopes, but, will be moving to an all linux setup for the scopes over the next few months, so this is a very handy thing to know.

I just checked, and googling for 'update sysnscan firmware in linux' already returns a direct link to this thread, so, now it's 'out there' for anybody hunting, easily found.


Post Extras: Print Post   Remind Me!   Notify Moderator  
knro
member


Reged: 11/08/11

Loc: Kuwait
Re: Updating Synscan firmware in Linux new [Re: groz]
      #5421532 - 09/14/12 08:18 PM

Thanks for the detailed information. I just followed your instructions and successfully upgraded my synscan to 3.27! One _less_ reason to switch to Windows now :-)

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1


Extra information
1 registered and 6 anonymous users are browsing this forum.

Moderator:  Bowmoreman, richard7 

Print Thread

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled


Thread views: 763

Jump to

CN Forums Home




Cloudy Nights Sponsor: Astronomics