View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001129 | SkyChart | 1-Software | public | 13-01-27 14:53 | 14-03-29 17:55 |
| Reporter | Ferran Casarramona | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86 Mac OS 10.8 | OS | OSX | OS Version | 10.8 |
| Product Version | 3.6 | ||||
| Target Version | 3.10 | Fixed in Version | 3.9 SVN | ||
| Summary | 0001129: LX200 interface don't work under OSX | ||||
| Description | When connecting to a LX200 telescope with the LX200 interface (not INDI interface) the program shows the error "Port /dev/cu.serialport-A1000zbJ cannot be opened! Not a typewriter" The same hardware configuration works Ok with INDI. | ||||
| Steps To Reproduce | Select LX200 interface for telescope. Open telescope control panel and configure the appropriate port. Push the connect button. | ||||
| Additional Information | In BSD like operating systems (like OSX) serial ports behave a bit different than in Linux. For every serial port there exist 2 devices, one starts with tty (like Linux ones) an another starts with cu, for exemple, in my computer I have /dev/tty.usbserial-A1000zbJ and /dev/cu.usbserial-A1000zbJ. For legacy reasons tty devices are used as a "dial-in" device for modems. That is, when open a tty device it looks for carrier signal until a entry call is detected. On the other hand cu devices are used for "dial-out" devices, and it behaves like a Linux tty device. This architecture allows one process to "listen" in a serial port without blocking the "dial-out" device, and other process can use it if needed. See: http://freebsd.active-venture.com/faq/serial.html#ACCESS-SERIAL-PORTS So for a telescope control on OSX cu device is need, but the LX200 interface seems is checking the device must start with tty. If you configure the port as the tty, the "Not a typewriter" error don't appear and the program hangs because the operating system don't return from the open port command until a dial-in call is detected. | ||||
| Tags | No tags attached. | ||||
|
|
Yes, this part is totally untested on the Mac. I find a lot of thing to change for using correctly the serial port on the Mac, both with the Synaser library and Freepascal. But unfortunately I not have a configuration available for testing right now, I let my usb-serial converter at the observatory, 400km from home. Will try to find another one. In the mean time I have disabled this option for the Mac beta version to avoid people lost time to try to configure it. |
|
|
This is fixed in revision 2511: https://sourceforge.net/p/skychart/code/2511 For me it now work with both /dev/cu.usbserial... and /dev/tty.usbserial... |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 13-01-27 14:53 | Ferran Casarramona | New Issue | |
| 13-01-27 16:13 | Patrick Chevalley | Note Added: 0002441 | |
| 13-01-27 16:13 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 13-01-27 16:13 | Patrick Chevalley | Status | new => assigned |
| 13-01-27 16:13 | Patrick Chevalley | Target Version | 0.3.0 => 3.10 |
| 13-04-28 18:05 | Patrick Chevalley | Note Added: 0002516 | |
| 13-04-28 18:05 | Patrick Chevalley | Status | assigned => resolved |
| 13-04-28 18:05 | Patrick Chevalley | Resolution | open => fixed |
| 13-04-28 18:05 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.9 SVN |
| 14-03-29 17:55 | Patrick Chevalley | Status | resolved => closed |