Welcome, Guest. Please login or register.

Username: Password:

Author Topic: Connection in Linux  (Read 4116 times)

GigiG

  • Full Member
  • ***
  • Posts: 28
    • View Profile
Connection in Linux
« on: January 16, 2015, 17:33:39 »

I made a symbolic link with "sudo ln -s /dev/ttyACM0 /dev/ttyS80" as suggested. The Config tool works fine (reading and writing configuration also) but when I try to connect from Kstars via INDI control panel I got an error about a port that I don't know why INDI try to use (the first one showed in the panel, in a field that is not editable, see attached figure).
Regards.
Gigi

EDIT:
Solved. Sorry, just need to make the symbolic link as "sudo ln -s /dev/ttyACM0 /dev/ttyUSB0::) ... Now the board LEDs blinks as espected!
« Last Edit: January 16, 2015, 17:50:36 by GigiG »
Logged

velinoff

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Connection in Linux
« Reply #1 on: June 12, 2015, 01:36:16 »

I've got arduino focuser on top of the AstroEq and the linux assigned different port every time so had to update the udev rules with a new one - make a new file for exapmple 52-arduino.rules and put the following line in it : SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0042", ATTRS{serial}=="853343330323516091C1", SYMLINK+="ttyS80"

You can omit some of the attributes but in case you connecting 2 Megas can be sure that the correct one will be always ttyS80.
Logged