Serial device not added correctly - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4) +--- Thread: Serial device not added correctly (/showthread.php?tid=4675) |
RE: Serial device not added correctly - baltika_no_9 - 2023-06-22 (2023-06-22, 04:25 AM)Techstyle Wrote: I believe I have the same issue as @yvereg. .... I get very similar stuff to yvereg in Signal K - number of sats shows 10, Date/Time is correct and messages are current but Lat/Long is null, as is COG and Mag. var. That is not what yvereg is reporting as a problem as far as I am aware from reading his posts, the screenshots in the thread where lat/long, COG and Mag var are showing as null are mine not his. That's because the USB GPS module is sitting on my desk with no view of the sky. His problem is that he can't successfully install his GPS so isn't getting any messages in Signal K at all, null or otherwise. The problem is as he reports "no such file or directory cannot open /dev/ttyOP_gnss, not connected" and "no alias created". He can fix that by manually creating a symlink. RE: Serial device not added correctly - Techstyle - 2023-06-22 (2023-06-22, 09:06 AM)baltika_no_9 Wrote:(2023-06-22, 04:25 AM)Techstyle Wrote: I believe I have the same issue as @yvereg. .... I get very similar stuff to yvereg in Signal K - number of sats shows 10, Date/Time is correct and messages are current but Lat/Long is null, as is COG and Mag. var. When I get back to the boat I will report the error message I am getting on startup and then the Data browser info. I am seeing 10-12 satellites but my USB hub may have been shorted out by a water event (well a 53 mile double handed race with 35kt winds and 10ft waves). Not sure if this would have reset the BU-353? RE: Serial device not added correctly - baltika_no_9 - 2023-06-22 (2023-06-22, 09:22 AM)Techstyle Wrote:(2023-06-22, 09:06 AM)baltika_no_9 Wrote:(2023-06-22, 04:25 AM)Techstyle Wrote: I believe I have the same issue as @yvereg. .... I get very similar stuff to yvereg in Signal K - number of sats shows 10, Date/Time is correct and messages are current but Lat/Long is null, as is COG and Mag. var. That's a good idea but i still think that's a different problem, it certain needs investigation I agree. This thread is specifically about a problem where it is not possible to successfully add a serial device (GPS, multiplexer input, RS422 whatever). The only problem I have ever seen with my BU-353 is that for some reason it once switched from nmea to SIRF protocol. No idea why. Anyway, good luck. I hope you did well in the race! RE: Serial device not added correctly - Sailoog - 2023-06-27 I found the problem! I do not why but the way we were extracting the id vendor ad the id product to identify the device no longer works and udev rules with wrong id vendor and id product are generated, probably due to a change in udev or pyudev. I'm looking into the best way to fix this... RE: Serial device not added correctly - baltika_no_9 - 2023-06-27 (2023-06-27, 03:35 PM)Sailoog Wrote: I found the problem! Great work, thank you. RE: Serial device not added correctly - Techstyle - 2023-06-27 (2023-06-22, 09:32 AM)baltika_no_9 Wrote: Anyway, good luck. I hope you did well in the race! 41 boats started the race, only 17 finished - steering, rigging and sail damage to some. we finished first in our class! I was back at the boat last night training a new crew for a race on Friday (67 NM across Lake Michigan), I didn't see an error message and the GPS is working, it may have re acquired the position now, not sure. I have to do some more waterproofiing for everything now RE: Serial device not added correctly - Sailoog - 2023-06-28 Fixed in OpenPlotter Serial v3.2.8!!! Update and report please. RE: Serial device not added correctly - TVR - 2023-06-28 (2023-06-28, 07:16 PM)Sailoog Wrote: Fixed in OpenPlotter Serial v3.2.8!!! Works perfectly, thanks Sailoog! "Remember device by vendor" is working again, I can add devices and move them between different ports with no issues. RE: Serial device not added correctly - baltika_no_9 - 2023-06-28 Excellent work, thank you I notice that in the new 3.2.8 panel, the variables displayed include vendor,product,model whereas before it was vendor,product,serial. The latter ties in with the option to remember device (by vendor, product, serial). If I put two similar devices in, the vendor,product,model will be identical but even though the serial numbers are not displayed is it still possible to differentiate those on the basis of different serial numbers? The two devices do have distinct serial numbers of course: Code: Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC I've answered my own question, the answer is no, it cannot differentiate between two identical devices so we cannot Remember a device by vendor,product,serial any more only vendor,product (and probably model because as the following screenshot shows I have two devices enabled with identical vendor,product hence the message Device with duplicate vendor and product must be set to "Remember port" is incorrect). I will check to see if it worked that way before the change. RE: Serial device not added correctly - baltika_no_9 - 2023-06-28 I've checked with Serial version 3.2.0 and I definitely could add both devices even though they had identical vendor, product. It was possible to discriminate on the basis of serial numbers. |