Hello - first post trying to get things sorted out before getting out under stars.
I think I have everything functioning except for GPS. I have a GlobalSat BU353S4. It is connected to dev/ttyUSB1, in a terminal if I type 'gpsmon /dev/ttyUSB1' everything spits back perfectly so I know it is sending messages.
If I had to guess, I think it's some sort of conflict with my mount connected to dev/ttyUSB0, but both show up as PL2303 USB-serial devices.
Also, because the GPS is non functional, EQMODmount keeps continually returning invalid date messages. No matter what I type into UTC offset, it defaults to 2.7e-26.
Please verify with cgps if you really have the fix.
The usb devices may be of some concern but unlikely.
The gpsd driver uses gpsd daemon api to get the fix. It is *not* reading the gps device directly.
OTOH the logic of the driver may be a bit confusing at times.
Please post few last lines of the 'gpspipe -r' output here for us to inspect.
Warning: there will be your location there so if you are concerned with that skip this step.
gpsmon uses different access method to cgps and gpsd indi driver.
As I suspected your gpsd daemon is not configured to use ttyUSB1 as a source.
Try to use
in /etc/default/gpsd config file or any appropriate config file for your distro.
Generally you need usb hot-plug support in your gpsd.
You need to set DEVICES variable, If your GPS device is /dev/ttyUSB1 set:
Make sure that a user you're running indiserver with is in a dialout group. For example is your username is ubuntu:
1) in your terminal type: id ubuntu
2) check the content of groups=
3) if dialout is not there add your user to the group by typing: sudo usermod -a -G dialout ubuntu
4) recheck 1) and 2)
| Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
I'm in dialout. I'll try setting the gpsd device, but first I'm attempting to make udev rules to properly differentiate between my two Prolific PL2303 devices, the GPS and my mount. I want to call one, /dev/mount and the other /dev/gps. Otherwise, whichever one gets recognized first becomes /dev/ttyUSB0. Then I can relatively safely say to gpsd use device 'x'.
But now the moment I launch INDI it says, "KStars detected INDI driver indi_eqmod_telescope crashed. Please check INDI server log in the Device Manager." With or without my rule creating /dev/mount. One step forward two steps back.
Well, I've spent a lot of time under the hood and learned how to write UDEV rules. Unfortunately I've also learned the hard way what NOT to do. I was trying to differentiate between my SkyWatcher AZ-EQ 5 GT, and a GlobalSat BU 353 S4. Ubuntu saw them both as Prolific PL2303 devices. The only differentiation was the USB device, exactly the thing I wanted to lock down. I could have made udev rules by bus number and device number, but I thought I'd get smart...
So I downloaded the Prolific EEPROM writer and tried to write a serial number, starting with the GPS. It wrote successfully, but did not show up as an attribute in udev. So here is where I made my fatal mistake. I thought I would change the product ID on one of them from 2303 to 2304. Surely they would now be different correct? They are, and Windows can't recognize a Prolific PL2304 and now the windows EEPROM writer can't write it back...
Udev isn't too happy about a Prolific PL2304 either. It's now a blinking brick that properly receives GPS satellite data, but can't send it anywhere.
So now I'm wiser, and hindsight being 20/20 thankful I hosed the $30 item rather than the $1300 one! I'll order another one, and I'll simply have to plug it into another port so it shows up on a different bus rather than just plugging it into the USB hub.
I suggest you do not give up. You should be able to modify the Linux driver to accept a different device ID. It should be fairly easy. The device table is usually at the top of the driver. Look also for the Linux writing app. Maybe there is one. It is usually easier to do such hacks in Linux. Regarding the device detection. You should be able to use info from GPSd to assign additional device links based on what GPSd detected as the gps and assign /Dev/scope to the other device.