Menu

Linux /indilib compability

2015-03-13
2015-03-19
  • Milen Velinov

    Milen Velinov - 2015-03-13

    I've build the focuser and it works like magic under Windows/Ascom.
    My field laptop on other hand is with Linux and Im using it with KStars and Ekos/indilib quite successfully. I've tried to run the focuser with the indi moonlite driver.It connects, reads the states but nothing more. Is there any chance for driver for linux?

     
  • brownrb

    brownrb - 2015-03-13

    Hi Milen
    Please post or send me a picture of your build, would really like to see it.

    Congrats on getting things working.

    Though I used to teach Unix system admin, sockets programming and a heap of other stuff way back in the day, I dont have the environment or tools to write an app for Linux. I guess it could be done with the Lazarus Pascal Free Compiler? I think I still have the original Lazarus code (admittedly Win based) for the focuser.

    Writing an app shouldnt be too difficult as the protocol is well documented and it works over serial, so if the Linux machine has access to a serial port then this is really a no brainer. Just needs someone with the time and skills and sw/hw to do it (at this stage that would not be me - but I will help any way I can to whoever might want to do it).

    I suspect the indi moonlite driver is doing something different, if you have the source or can find the source send it me to me and I'll see if any changes can be done to the arduino code that might make it work.

    Best solution is to write a linux app though. What Linux version are you using? (Just in case I get some spare time to look at it)
    Please use my email to communicate - it will be quicker

     
  • brownrb

    brownrb - 2015-03-14

    Have you used the latest reset circuitry on your build - the 47uf electrolytic capacitor between RST and VCC? Can you try this with the INDI driver and report back?

    When you say " reads the states but nothing more" what does that mean?

     
  • brownrb

    brownrb - 2015-03-17

    If anyone can test it on INDI with moonlite driver - please enable the debug driver option and send me the debug logfile that would be appreciated.

     
  • Milen Velinov

    Milen Velinov - 2015-03-19

    Hello Robert,
    I've tested it with INDI with debug on. There was no errors at all except time out on the first connect , but that happens with all my arduinos under Linux. Everything works fine except there is only support for full and half step.
    Thanks again.

     
  • brownrb

    brownrb - 2015-03-19

    Hi Milen,
    Many thanks for your efforts in testing this. The moonlite driver will only support full or half steps so that is expected. The timeout on the first connect should be overcome by using the reset circuitry.
    Once again thanks, at least now its going,
    Cheers
    Robert

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.