-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB-to-Radio CAT Control not working (wine-mono System.IO.Ports.SerialPort not implemented) #17
Comments
I tried several things to make the serial ports work, but it failed. |
Until we find & fix the problem in wine-mono, you might be able to work around this by installing .NET 4.6 (to replace wine-mono). EDIT: First, upgrade box86 to a newer build
Then run this command in the terminal: If the installation completes but then the terminal gets stuck for more than an hour, open a new terminal window and type |
After testing the dotnet46 option a bit more: ARDOP may not work |
After many try to install dotnet46, it fails. |
Thank you for testing things out. I'll try to get an install method for dotnet46 worked into the winelink script pretty soon to make this easier. This COM port issue is my top priority now that we understand where the HF Channel Selection Browser crash is coming from, but it may take some time to track down and then fix the error (maybe a few weeks or so). |
It works now. |
I think my dummy load may take some time to arrive in the mail. I'm new to Denver, but just realized there's an HRO in the city, so I might take a trip down there and play with a Pactor modem for a while if they have any to connect to do some software testing. It may take some time to get an opportunity to make a trip though. In the meantime, I'll try to see what I can find out without trying CAT PTT on my FT-891. I'll try to see if maybe wine-mono just isn't seeing com ports at all or something like that. |
I found a way to install .NET 4.6 silently, so I'm re-implementing the use of .NET instead of wine-mono for now in 16bdc65 until we can fix more bugs in wine-mono. One downside to this is that ARDOP doesn't work yet... but try testing this new version of the install script and see if COM ports work again. EDIT: The Channel Selection Browser seems to crash again with .NET4.6. My dummy load arrives on the 14th though, so I’ll be able to keep tracking bugs in wine-mono when that comes in. EDIT 12/15/2021: J/k it's arriving on the 21st. I'm excited to test it out though. EDIT 12/23/2021: Dummy load arrived and I confirmed its SWR yesterday. Holiday stuff might delay testing, but I'll post when I have more info EDIT: If you want to go back to the wine-mono version instead of the .NET4.6 version, you can still download the older winelink script with this terminal command: |
Just a small update: I've re-created the error on my end (in wine-mono) & confirmed that the PTT /channel-selection (CAT control to FT-891) do work on Debian 10 in wine + .NET 4.6 + ARDOP. Next step is to trace the problem in wine-mono and type up a report for Esme (madewokherd). |
I think I found the error. This pops up in wine-mono right when Winlink reports that the com port is not accessible:
Asking wine-mono for more detail on the function that's not implemented gives me this extra info
The same COM port works in .NET 4.6 (and I know that this COM port is connected to the radio via checking symlinks in I'll report this in to Esme to see what they think! Also just posting my other debugging notes here for future reference:
Edit: Here's a picture of the COM port error in wine-mono (doesn't happen in .NET 4.6 - .NET 4.6 can key the radio and change radio frequency over USB aka "CAT control") Edit: Bugreport submitted to winehq Bugzilla |
Esme has fixed the PTT problem with RMS Express in wine-mono. I'll update the Winelink script again soon with the new wine-mono version instead of .NET (for quicker install, and for more testing) |
Use newer wine-mono with COM port fix (for #17)
I'm excited to say I've merged Esme's wine-mono fix into Winelink and switched to wine-mono again (instead of .NET 4.6) to speed up install. @djecom1 & @KD2ROS, would you be able to try re-installing and testing your equipment again? Thank you for your patience! Edit: I just found some new troubles with running Winelink on Raspberry Pi OS bullseye (I never tried it before now) and am trying to fix that at the moment. I also realized that I need to test to see if |
Okay....good news is that the channel selection/propagation screen when using VARA HF works completely! However, the one problem I have found is that Winlink cannot open the command port (8300) when starting a session in either VARA FM or VARA HF....Winlink packet works like a champ... I can open a session in both VARA's and set up the rig, soundcards, ptt, etc...you can successfully ping a Winlink node and autotune in VARA FM and rig control works to select and tune to a channel on VARA HF...the trouble starts when you press "Start" to intiate the communications...I am attaching a pic of the errror message from VARA FM.. |
Strange ... updating to wine-devel-7.1 doesn't fix the connection errors between VARA and RMS Express. I don't think it's a wine-mono problem though since everything works on my Debian 10 VM. I'll keep looking into this. More trouble-shootingEDIT: I'm also noticing that the VARA log says that MYCALL KI7POL is being received by VARA for some reason on the Pi, but not in DebianVM (and VARA has KI7POL on its banner in DebianVM, but not on the Pi). Netstat says that ports are open. Changing bigblock in box86 doesn't seem to help. So here's what we know. - wine-6.19+wine-mono-nightly, RMS 1.4.x.x, VARA 4.5.x, bullseye, Pi4+box86_Jan31: VARA finds TCP, doesn't work - wine-6.19+wine-mono-nightly, RMS 1.4.x.x, VARA 4.5.7, bullseye, Pi4+box86_Jan31: VARA finds TCP, doesn't work - wine-6.19+wine-mono-nightly, RMS 1.6.0.0, VARA 4.5.7, bullseye, Pi4+box86_Jan31: VARA finds TCP, doesn't work - wine-7.1+wine-mono-nightly, RMS 1.6.0.0, VARA 4.5.7, bullseye, Pi4+box86_Jan31: VARA finds TCP, receives garbled data - wine-7.0+wine-mono-nightly, RMS 1.4.x.x, VARA 4.5.x, buster, DebianVM: VARA finds TCP, receives data - wine-7.0+wine-mono-nightly, RMS 1.4.x.x, VARA 4.5.7, buster, DebianVM: VARA finds TCP, receives data - wine-7.1+wine-mono-nightly, RMS 1.6.0.0, VARA 4.5.7, buster, DebianVM: VARA finds TCP, receives dataI might try trying different versions of box86 and/or trying to install buster on the Pi again to test that. Here's VARA's error message on the Pi4, which doesn't appear on the DebianVM
EDIT2: VARAChat also seems to be connecting to TCP but sending wrong data
VARAChat still runs after uninstalling wine-mono, so this is for sure not a wine-mono problem at this point. EDIT3: box86 Jan 01 2021 works! VARA Chat also triggers PTT and sends tones (if I use the FT-991 settings with RTS+DTR for my FT-891). I'll find the latest version of box86 that works, let Seb know, and email the VARA Chat authors to let them know that the FT-991 settings work for the FT-891. EDIT4: Just trying to track down the box86 error still
|
- Bump wine version to 7.1 - Re-enable wine window manager since VARA graphics glitches are gone in newer versions of wine (tested wine-devel-7.1) - Go back to older version of box86 (versions after ed8e01ea cause wine7.1 errors and TCP connection issues with VARA) - Maps work again (fixed by either newer wine or different box86)
Ok ... I think it's fixed now lol. Maybe give it one more shot with another re-install. It would be amazing if we could test RMS Express with this new wine-mono fix with lots of different hardware too to see if USB ports are working in general. |
Works !!! |
Thank you for letting us know and for posting your hardware setup! |
New import of System.IO.Ports.SerialPort from corefx (in madewokherd/mono@03d7efb) has now been merged into madewokherd/wine-mono@31df919 |
Success with VARA FM, VARA HF and Packet Winlink!!!! Re installed Winelink after the new import of System,IO.Ports.SerialPort…System: RPi 4 8GB, IC7100, native IC7100 sound card for both VARA FM and VARA HF and a bluetooth Mobilink’d TNC3 for Packet Winlink…
Nice work Eric and Esme!!! Thank you!!!!
73 de KD2ROS
Kate
… On Feb 3, 2022, at 11:41 AM, Eric Wiessner (KI7POL) ***@***.***> wrote:
New import of System.IO.Ports.SerialPort from corefx (in ***@***.*** <madewokherd/mono@03d7efb>) has now been merged into ***@***.*** <madewokherd/wine-mono@31df919>
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQ7BOY57GGHWZ5JRZ57K4G3UZKV4BANCNFSM5JSQNHGQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
Wonderful! Thank you for all of your alpha testing and patience. I really appreciate your help. I’ll close this issue and report some bugs to winehq to try to help the TCP issues (VARA/ARDOP-to-RMS communication) |
[x] Order a dummyload to test radio PTT with
The text was updated successfully, but these errors were encountered: