Winelink icon indicating copy to clipboard operation
Winelink copied to clipboard

VARA FM & soundmodem.exe can't find RA Board

Open mhnadler opened this issue 4 years ago • 49 comments

This issue may be the same root-cause as #9 -- when RA-board is picked in the VARA-FM PTT settings, it reports "RA-Board device not found".

mhnadler avatar Sep 14 '21 16:09 mhnadler

I believe you are correct and these both may be the same root issue. See if you can use the same debugging steps I detailed in #9 and possibly report your install method and hardware to Seb if it ends up being a box86 issue.

WheezyE avatar Sep 14 '21 17:09 WheezyE

I'm going to close this ticket for now due to inactivity. Please let me know if you have any other questions/ideas/comments/concerns though and I'll re-open this thread.

WheezyE avatar Oct 28 '21 19:10 WheezyE

Hey there. Sorry it's been so long, but we just got a new update from the wine-mono dev that fixed USB port connections and I thought if this issue. I'm not sure the new update would fix this, but if you had some time, would you be able to test it again with a new install of the script?

WheezyE avatar Feb 03 '22 01:02 WheezyE

I will try it again. It'll take a while to get that set up again.

About the other issue I filed, regarding Soundmodem and PTT.DLL. Do you know how to get Wine to pre-load a DLL? Soundmodem wants to load this PTT.DLL file that is located in the same directory as the Soundmodem executable. To my naive eyes, it looks like Soundmodem can't find the DLL. I'm not sure how to debug it. You suggested trying it out on a standard Linux box. Which I did & it failed, too. Which is why I gave up on that one.

I was hoping that maybe there was some other way to get PTT.DLL loaded.

On Wed, Feb 2, 2022 at 5:15 PM Eric Wiessner (KI7POL) < @.***> wrote:

Hey there. Sorry it's been so long, but we just got a new update from the wine-mono dev that fixed USB port connections and I thought if this issue. I'm not sure the new update would fix this, but if you had some time, would you be able to test it again with a new install of the script?

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1028511444, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKJ3DQXEWOP5AAF5TPDUZHJJZANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 03 '22 17:02 mhnadler

Experimental results are inconsistent. Used Raspberry PI Imager to create a new Bullseye image (their OS build date 1/28/2022). Then ran the wheezy/winelink install script. Everything seemed to go well. The DRA-70 soundcard was detected & reported as USB PNP device in winecfg. I selected it as the default audio.

Experiment #1 -- started VARA-FM. Entered my callsign, et.al., in the VARA setup. Soundcard settings showed the USB PNP selection already chosen. So far so good. PTT settings are default to VOX, I tried to select RA-board & it errored out with RA-board not found. Which is the problem I reported. I set it back to VOX.

-- the DRA-70 has a VOX mode. If one drives audio output enough, it will generate PTT on its own. I decided to test it. Hit the Ping function -- and it transmitted a ping to the remote station & received a weak signal back. This is sort of good.

From here on out results were inconsistent.

Winlink Express 1.6..0.0 comes up & runs. That's good news. Start a VARA FM session. The VARA FM window comes up, but the display is all black; no buttons, dials, or any mechanism for controlling the program. And it doesn't transmit when I hit the Start in the Winlink session. If I try to run VARA FM independently, I can't get Winlink to connect to it -- it says that VARA isn't found.

After giving up on Winlink, I restarted VARA-FM on its own. Now the USB PNP isn't selected in the Sound Setting, nor does it appear in the choices. I checked with winecfg & they don't appear here either. They do appear in the Raspbian Pulse Audio settings.

Tried fooling around with sound settings in VARA & all of a sudden the input dial perked back up. It could transmit, but now the reply wasn't being heard.

Tried winlink again. Now, when I start the VARA session, Winlink says it can't connect to VARA.

Gave up on that tried to run VARA-FM independently again. Now it does PTT and transmits, but doesn't hear the response.

Then, a reboot. Try VARA-FM independently. It PTTs, transmits AND hears response to its ping. Go figure...

This is why I say inconsistent results...

On Thu, Feb 3, 2022 at 9:11 AM Michael Nadler KI7QIB < @.***> wrote:

I will try it again. It'll take a while to get that set up again.

About the other issue I filed, regarding Soundmodem and PTT.DLL. Do you know how to get Wine to pre-load a DLL? Soundmodem wants to load this PTT.DLL file that is located in the same directory as the Soundmodem executable. To my naive eyes, it looks like Soundmodem can't find the DLL. I'm not sure how to debug it. You suggested trying it out on a standard Linux box. Which I did & it failed, too. Which is why I gave up on that one.

I was hoping that maybe there was some other way to get PTT.DLL loaded.

On Wed, Feb 2, 2022 at 5:15 PM Eric Wiessner (KI7POL) < @.***> wrote:

Hey there. Sorry it's been so long, but we just got a new update from the wine-mono dev that fixed USB port connections and I thought if this issue. I'm not sure the new update would fix this, but if you had some time, would you be able to test it again with a new install of the script?

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1028511444, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKJ3DQXEWOP5AAF5TPDUZHJJZANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 03 '22 20:02 mhnadler

Thank you for experimenting with this again. That's a bummer it's not working yet.

The inconsistent behavior you're getting with VARA is normal for now - it's the result of VARA having trouble finding RMS Express (it's a TCP port connection bug in Wine that I need to ask Wine about). If VARA isn't connecting to RMS Express, try closing RMS Express and trying it again.

Did these commands from https://github.com/WheezyE/Winelink/issues/9#issuecomment-919357520 help install the dll at all?

mkdir soundmodem && cd soundmodem
wget http://uz7.ho.ua/modem_beta/ptt-dll.zip
wget http://uz7.ho.ua/modem_beta/soundmodem113.zip 
7z x soundmodem113.zip
7z x ptt-dll.zip
cp *.dll ~/.wine/drive_c/windows/system32/
BOX86_NOBANNER=1 winetricks -q vb6run
wine soundmodem.exe

You can also run wine winecfg, go to the "Libraries" tab, and enter "ptt.dll" in the "New override for library" box, then push "Add" to make sure that Wine sees the dll.

EDIT: I just realized that cp line doesn't do anything helpful, but the rest of the commands are still good and should make PTT.DLL visible to soudnmodem.exe

WheezyE avatar Feb 04 '22 18:02 WheezyE

Good news & bad news.

First bad news: PTT.DLL still not found by Soundmodem. I didn't try VARA FM, as I didn't want to break something that was working ... see Good News. Also, when VARA FM window opened its window was all black. But it retained the configuration I'd set up yesterday. I guess it means that one would configure VARA independently, close it, then start it again via a Winlink session.

Good news: both VARA FM and Soundmodem hooked up with Winlink Express in Wine to send & receive messages with CMS. That is a first time ever for me.

Knowing that inconsistencies are to be expected gives me hope that there'll be better things to come.

On Fri, Feb 4, 2022 at 10:10 AM Eric Wiessner (KI7POL) < @.***> wrote:

Thank you for experimenting with this again. That's a bummer it's not working yet.

The inconsistent behavior you're getting with VARA is normal for now - it's the result of VARA having trouble finding RMS Express (it's a TCP port connection bug in Wine that I need to ask Wine about). If VARA isn't connecting to RMS Express, try closing RMS Express and trying it again.

Did these commands from #9 (comment) https://github.com/WheezyE/Winelink/issues/9#issuecomment-919357520 help install the dll at all?

mkdir soundmodem && cd soundmodem wget http://uz7.ho.ua/modem_beta/ptt-dll.zip wget http://uz7.ho.ua/modem_beta/soundmodem113.zip 7z x soundmodem113.zip 7z x ptt-dll.zip cp *.dll ~/.wine/drive_c/windows/system32/ BOX86_NOBANNER=1 winetricks -q vb6run wine soundmodem.exe

You can also run wine winecfg, go to the "Libraries" tab, and enter "ptt.dll" in the "New override for library" box, then push "Add" to make sure that Wine sees the dll.

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030229990, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKIA3LTRX6POUTASE43UZQJALANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 04 '22 21:02 mhnadler

Hm. Are you getting this error? image

If so, try running sudo apt install p7zip-full -y and the commands from above again.

WheezyE avatar Feb 05 '22 04:02 WheezyE

Not at computer right now, but I am pretty sure that is soundmodem's error indication. VARA says RA board not found, when I try to set that in the PTT settings.

On Fri, Feb 4, 2022, 8:06 PM Eric Wiessner (KI7POL) < @.***> wrote:

Hm. Are you getting this error? [image: image] https://user-images.githubusercontent.com/29649598/152628066-1c7a7834-a8a1-4b9f-8bdb-3c22fffe6c40.png

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030517640, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKNBYJIBOMHKMP5VPVTUZSO4RANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 05 '22 04:02 mhnadler

Ah ok, hm try this for VARA HF/FM's error messages:

sudo apt install p7zip-full -y
wget http://uz7.ho.ua/modem_beta/ptt-dll.zip
7z x ptt-dll.zip -o"$HOME/.wine/drive_c/VARA/"
7z x ptt-dll.zip -o"$HOME/.wine/drive_c/VARA FM/"

WheezyE avatar Feb 05 '22 04:02 WheezyE

EDIT: Don't forget to do the sudo apt install p7zip-full -y too for those last commands (I just edited my last post)

WheezyE avatar Feb 05 '22 04:02 WheezyE

I think you can also run these commands to make VARA not a black screen anymore:

        echo 'REGEDIT4'                                      >> override-x11.reg
        echo ''                                              >> override-x11.reg
        echo '[HKEY_CURRENT_USER\Software\Wine\X11 Driver]'  >> override-x11.reg
        echo '"Decorated"="Y"'                               >> override-x11.reg
        echo '"Managed"="N"'                                 >> override-x11.reg
        wine cmd /c regedit /s override-x11.reg
        rm override-x11.reg

I disabled this since I thought it was working in the newer version of Wine, but I think I was just using Debian bullseye instead of Debian buster which is why it appeared to work.

WheezyE avatar Feb 05 '22 04:02 WheezyE

I'll try all these soon.

Question: you said something about bullseye and buster. I installed winelink on top of a vanilla bullseye build. Should I have used buster?

On Fri, Feb 4, 2022, 8:42 PM Eric Wiessner (KI7POL) < @.***> wrote:

I think you can also run these commands to make VARA not a black screen anymore:

    echo 'REGEDIT4'                                      >> override-x11.reg
    echo ''                                              >> override-x11.reg
    echo '[HKEY_CURRENT_USER\Software\Wine\X11 Driver]'  >> override-x11.reg
    echo '"Decorated"="Y"'                               >> override-x11.reg
    echo '"Managed"="N"'                                 >> override-x11.reg
    wine cmd /c regedit /s override-x11.reg
    rm override-x11.reg

I disabled this since I thought it was working in the newer version of Wine, but I think I was just using Debian bullseye instead of Debian buster which is why it appeared to work.

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030524765, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKNDBC6E5UO4MGXJUSDUZSTFHANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 05 '22 04:02 mhnadler

Oh bullseye is great. I wasn't sure if the newer bullseye might have broken something (since I originally made the script for buster). I'm using bullseye too so our results should be the same.

Also no rush with the testing. I'm heading to bed soon. I'm very curious if soundmodem might work if the PTT.DLL and CAT.dll files are copied to the same folder as soundmodem.exe (that should make the error go away at least), but I'm not feeling confident about VARA HF/FM yet (not sure what the problem might be there) - just kind of guessing.

WheezyE avatar Feb 05 '22 05:02 WheezyE

Got a chance this morning to test some. BTW, I already had the latest 7z -- install_winelink.sh takes care of that :)

VARA FM window came up minimized, just the same as standard Windows. Un-minimize & the windows displays the gauges, et.al. Good!

Soundmodem now finds PTT.DLL. Hooray. However, the PTT.DLL doesn't see the PTT HID device, the C-Media chip in the DRA. Nerts. Here is output of lsusb, to show that the DRA is discovered:

@.***:/cloud/Wine $ lsusb Bus 002 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0d8c:013a C-Media Electronics, Inc. USB PnP Sound Device Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I don't have access to PTT.DLL source code to see how it detects things. Perhaps it relies on some Windows method that isn't handled by Wine? I am not very familiar with how Wine does its magic. If you haven't seen this writeup from the DRA creator: https://www.masterscommunications.com/products/radio-adapter/faq/ptt-soundmodem.html, he mentions what PTT.DLL does to toggle PTT -- using GPIO bits.

However, using the DRA VOX mode is working. Both for Soundmodem and VARA FM. This is good for me, as I have a DRA-70 that can do VOX. Other DRAs don't have this option & need PTT to function correctly.

On Fri, Feb 4, 2022 at 9:00 PM Eric Wiessner (KI7POL) < @.***> wrote:

Oh bullseye is great. I wasn't sure if the newer bullseye might have broken something (since I originally made the script for buster). I'm using bullseye too so our results should be the same.

Also no rush with the testing. I'm heading to bed soon. I'm very curious if soundmodem might work if the PTT.DLL and CAT.dll files are copied to the same folder as soundmodem.exe (that should make the error go away at least), but I'm not feeling confident about VARA HF/FM yet (not sure what the problem might be there) - just kind of guessing.

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030527293, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKMATTP5Z4QCHYGQRS3UZSVGDANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 05 '22 19:02 mhnadler

Ah ok, I think this might possibly be a problem with wine's reimplementation of hid.dll (hid.so) not being 'wrapped' in box86 yet. I'll ask box86's author, ptitSeb, about it.

Here's the box86_log1 of soundmodem with PTT.DLL
pi@raspberrypi:~/soundmodem $ BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee log1.txt

Debug level is 1
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="soundmodem.exe"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so
Debug level is 1
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="soundmodem.exe"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so
Debug level is 1
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/lib/wine/i386-unix/libwine.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernel32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernel32.so"/0x63840b47, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernelbase.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernelbase.so"/0x63848657, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/user32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/user32.so"/0x63851347, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/advapi32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/advapi32.so"/0x638522ff, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msvcrt.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msvcrt.so"/0x63852aef, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sechost.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sechost.so"/0x638525a7, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ucrtbase.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ucrtbase.so"/0x63850f8f, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/gdi32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/gdi32.so"/0x6385368f, 2)
Using emulated /home/pi/wine/lib/wine/i386-unix/win32u.so
Using native(wrapped) libm.so.6
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/setupapi.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/setupapi.so"/0x63861b47, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/rpcrt4.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/rpcrt4.so"/0x63853407, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/version.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/version.so"/0x6386261f, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oleaut32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oleaut32.so"/0x638626ff, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ole32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ole32.so"/0x63861cbf, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/combase.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/combase.so"/0x63864327, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comctl32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comctl32.so"/0x63864347, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/imm32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/imm32.so"/0x63864257, 2)
Using emulated /home/pi/wine/lib/wine/i386-unix/winspool.so
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shell32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shell32.so"/0x6386976f, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shlwapi.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shlwapi.so"/0x6386bf37, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shcore.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shcore.so"/0x6386976f, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comdlg32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comdlg32.so"/0x638698ef, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winmm.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winmm.so"/0x63866687, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msacm32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msacm32.so"/0x63866b6f, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/wsock32.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/wsock32.so"/0x63866b8f, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/iphlpapi.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/iphlpapi.so"/0x63866c1f, 2)
Using emulated /home/pi/wine/lib/wine/i386-unix/dnsapi.so
Using native(wrapped) libresolv.so.2
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/nsi.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/nsi.so"/0x638654df, 2)
Using emulated /home/pi/wine/lib/wine/i386-unix/ws2_32.so
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oledlg.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oledlg.so"/0x63877ab7, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x63899437, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x6389de07, 2)

Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/i386-unix/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winex11.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winex11.so"/0x63973d2f, 2)
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x63a31eff, 2)

Using native(wrapped) libcups.so.2

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/riched20.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/riched20.so"/0x63b953af, 2)
Error loading needed lib /home/pi/wine/lib/wine/i386-unix/usp10.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/usp10.so"/0x63b9a7bf, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x476f144f, 2)

0048:fixme:imm:ImeSetActiveContext (0x6c6f40, 0): stub
0048:fixme:imm:ImmReleaseContext (00010020, 006C6F40): stub


0024:fixme:richedit:editor_handle_message EM_SETLANGOPTIONS: stub
0024:fixme:richedit:IRichEditOle_fnSetHostNames stub 002689F0 soundmodem soundmodem

0024:fixme:imm:ImeSetActiveContext (0x26a550, 1): stub
0024:fixme:imm:ImmReleaseContext (00010072, 0026A550): stub

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sxs.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sxs.so"/0x485a635f, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/hid.so
Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/hid.so"/0x63bb7a2f, 2)

Basically I think that in our situation, soundmodem wants a Windows dll called "hid.dll" to be in ~/.wine/drive_c/windows/system32/ and enabled in the wine winecfg Libraries tab. If you have a Windows PC and can copy it over to your Pi, that might help? But I'm not sure if that will entirely fix the issue.

I assume VARA HF/FM probably also can't detect the DRA-70 PTT?

WheezyE avatar Feb 05 '22 21:02 WheezyE

I will try it. And VARA FM (I don't have HF radio) does not detect the DRA either.

On Sat, Feb 5, 2022 at 1:47 PM Eric Wiessner (KI7POL) < @.***> wrote:

Ah ok, I think this might possibly be a problem with wine's reimplementation of hid.dll (hid.so) not being 'wrapped' in box86 yet. I'll ask box86's author, ptitSeb, about it. Here's the box86_log1 of soundmodem with PTT.DLL

@.***:~/soundmodem $ BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee log1.txt

Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for /home/pi/wine/bin/wine argv[1]="soundmodem.exe" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 47 Env var Looking for /home/pi/wine/bin/wine argv[1]="soundmodem.exe" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 47 Env var Looking for /home/pi/wine/bin/wineserver Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/lib/wine/i386-unix/libwine.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernel32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernel32.so"/0x63840b47, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernelbase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernelbase.so"/0x63848657, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/user32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/user32.so"/0x63851347, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/advapi32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/advapi32.so"/0x638522ff, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msvcrt.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msvcrt.so"/0x63852aef, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sechost.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sechost.so"/0x638525a7, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ucrtbase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ucrtbase.so"/0x63850f8f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/gdi32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/gdi32.so"/0x6385368f, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/win32u.so Using native(wrapped) libm.so.6 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/setupapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/setupapi.so"/0x63861b47, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/rpcrt4.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/rpcrt4.so"/0x63853407, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/version.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/version.so"/0x6386261f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oleaut32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oleaut32.so"/0x638626ff, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ole32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ole32.so"/0x63861cbf, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/combase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/combase.so"/0x63864327, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comctl32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comctl32.so"/0x63864347, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/imm32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/imm32.so"/0x63864257, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/winspool.so Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shell32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shell32.so"/0x6386976f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shlwapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shlwapi.so"/0x6386bf37, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shcore.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shcore.so"/0x6386976f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comdlg32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comdlg32.so"/0x638698ef, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winmm.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winmm.so"/0x63866687, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msacm32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msacm32.so"/0x63866b6f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/wsock32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/wsock32.so"/0x63866b8f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/iphlpapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/iphlpapi.so"/0x63866c1f, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/dnsapi.so Using native(wrapped) libresolv.so.2 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/nsi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/nsi.so"/0x638654df, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/ws2_32.so Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oledlg.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oledlg.so"/0x63877ab7, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x63899437, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x6389de07, 2)

Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Using emulated /home/pi/wine/lib/wine/i386-unix/winex11.drv.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winex11.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winex11.so"/0x63973d2f, 2) Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x63a31eff, 2)

Using native(wrapped) libcups.so.2

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/riched20.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/riched20.so"/0x63b953af, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/usp10.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/usp10.so"/0x63b9a7bf, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x476f144f, 2)

0048:fixme:imm:ImeSetActiveContext (0x6c6f40, 0): stub 0048:fixme:imm:ImmReleaseContext (00010020, 006C6F40): stub

0024:fixme:richedit:editor_handle_message EM_SETLANGOPTIONS: stub 0024:fixme:richedit:IRichEditOle_fnSetHostNames stub 002689F0 soundmodem soundmodem

0024:fixme:imm:ImeSetActiveContext (0x26a550, 1): stub 0024:fixme:imm:ImmReleaseContext (00010072, 0026A550): stub

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sxs.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sxs.so"/0x485a635f, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/hid.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/hid.so"/0x63bb7a2f, 2)

Basically I think that in our situation, soundmodem wants a Windows dll called "hid.dll" to be in ~/.wine/drive_c/windows/system32/ and enabled in the wine winecfg Libraries tab. If you have a Windows PC and can copy it over to your Pi, that might help? But I'm not sure if that will entirely fix the issue.

I assume VARA HF/FM probably also can't detect the DRA-70 PTT?

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030704435, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKL7SNUY4JQX5UPNVBDUZWLHHANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 05 '22 21:02 mhnadler

hid.dll is already in ~/.wine/drive_c/windows/system32/ & shows up in the winecfg libraries.

On Sat, Feb 5, 2022 at 1:54 PM Michael Nadler KI7QIB < @.***> wrote:

I will try it. And VARA FM (I don't have HF radio) does not detect the DRA either.

On Sat, Feb 5, 2022 at 1:47 PM Eric Wiessner (KI7POL) < @.***> wrote:

Ah ok, I think this might possibly be a problem with wine's reimplementation of hid.dll (hid.so) not being 'wrapped' in box86 yet. I'll ask box86's author, ptitSeb, about it. Here's the box86_log1 of soundmodem with PTT.DLL

@.***:~/soundmodem $ BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee log1.txt

Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for /home/pi/wine/bin/wine argv[1]="soundmodem.exe" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 47 Env var Looking for /home/pi/wine/bin/wine argv[1]="soundmodem.exe" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 47 Env var Looking for /home/pi/wine/bin/wineserver Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/lib/wine/i386-unix/libwine.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernel32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernel32.so"/0x63840b47, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernelbase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernelbase.so"/0x63848657, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/user32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/user32.so"/0x63851347, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/advapi32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/advapi32.so"/0x638522ff, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msvcrt.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msvcrt.so"/0x63852aef, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sechost.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sechost.so"/0x638525a7, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ucrtbase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ucrtbase.so"/0x63850f8f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/gdi32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/gdi32.so"/0x6385368f, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/win32u.so Using native(wrapped) libm.so.6 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/setupapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/setupapi.so"/0x63861b47, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/rpcrt4.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/rpcrt4.so"/0x63853407, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/version.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/version.so"/0x6386261f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oleaut32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oleaut32.so"/0x638626ff, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ole32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ole32.so"/0x63861cbf, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/combase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/combase.so"/0x63864327, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comctl32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comctl32.so"/0x63864347, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/imm32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/imm32.so"/0x63864257, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/winspool.so Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shell32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shell32.so"/0x6386976f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shlwapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shlwapi.so"/0x6386bf37, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shcore.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shcore.so"/0x6386976f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comdlg32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comdlg32.so"/0x638698ef, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winmm.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winmm.so"/0x63866687, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msacm32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msacm32.so"/0x63866b6f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/wsock32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/wsock32.so"/0x63866b8f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/iphlpapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/iphlpapi.so"/0x63866c1f, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/dnsapi.so Using native(wrapped) libresolv.so.2 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/nsi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/nsi.so"/0x638654df, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/ws2_32.so Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oledlg.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oledlg.so"/0x63877ab7, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x63899437, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x6389de07, 2)

Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Using emulated /home/pi/wine/lib/wine/i386-unix/winex11.drv.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winex11.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winex11.so"/0x63973d2f, 2) Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x63a31eff, 2)

Using native(wrapped) libcups.so.2

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/riched20.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/riched20.so"/0x63b953af, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/usp10.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/usp10.so"/0x63b9a7bf, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x476f144f, 2)

0048:fixme:imm:ImeSetActiveContext (0x6c6f40, 0): stub 0048:fixme:imm:ImmReleaseContext (00010020, 006C6F40): stub

0024:fixme:richedit:editor_handle_message EM_SETLANGOPTIONS: stub 0024:fixme:richedit:IRichEditOle_fnSetHostNames stub 002689F0 soundmodem soundmodem

0024:fixme:imm:ImeSetActiveContext (0x26a550, 1): stub 0024:fixme:imm:ImmReleaseContext (00010072, 0026A550): stub

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sxs.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sxs.so"/0x485a635f, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/hid.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/hid.so"/0x63bb7a2f, 2)

Basically I think that in our situation, soundmodem wants a Windows dll called "hid.dll" to be in ~/.wine/drive_c/windows/system32/ and enabled in the wine winecfg Libraries tab. If you have a Windows PC and can copy it over to your Pi, that might help? But I'm not sure if that will entirely fix the issue.

I assume VARA HF/FM probably also can't detect the DRA-70 PTT?

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030704435, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKL7SNUY4JQX5UPNVBDUZWLHHANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 05 '22 21:02 mhnadler

Oh yes, the hid.dll from your Windows PC would need to overwrite wine's own hid.dll. Then winecfg Libraries would have to look like this: image

WheezyE avatar Feb 05 '22 22:02 WheezyE

(don't mind the "ptt" override in mine, I was just testing some stuff)

WheezyE avatar Feb 05 '22 22:02 WheezyE

These are the errors that I see logged when I try to set EXT for the PTT:

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sxs.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sxs.so"/0x498cb68f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/hid.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/hid.so"/0x4a496047, 2)

On Sat, Feb 5, 2022 at 1:59 PM Michael Nadler KI7QIB < @.***> wrote:

hid.dll is already in ~/.wine/drive_c/windows/system32/ & shows up in the winecfg libraries.

On Sat, Feb 5, 2022 at 1:54 PM Michael Nadler KI7QIB < @.***> wrote:

I will try it. And VARA FM (I don't have HF radio) does not detect the DRA either.

On Sat, Feb 5, 2022 at 1:47 PM Eric Wiessner (KI7POL) < @.***> wrote:

Ah ok, I think this might possibly be a problem with wine's reimplementation of hid.dll (hid.so) not being 'wrapped' in box86 yet. I'll ask box86's author, ptitSeb, about it. Here's the box86_log1 of soundmodem with PTT.DLL

@.***:~/soundmodem $ BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee log1.txt

Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for /home/pi/wine/bin/wine argv[1]="soundmodem.exe" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 BOX86: Wine detected, WINEPRELOADRESERVE="" Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 47 Env var Looking for /home/pi/wine/bin/wine argv[1]="soundmodem.exe" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/bin/../lib/wine/i386-unix/ntdll.so Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.5 ed8e01ea built on Dec 10 2021 23:45:16 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 47 Env var Looking for /home/pi/wine/bin/wineserver Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /home/pi/wine/lib/wine/i386-unix/libwine.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernel32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernel32.so"/0x63840b47, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/kernelbase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/kernelbase.so"/0x63848657, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/user32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/user32.so"/0x63851347, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/advapi32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/advapi32.so"/0x638522ff, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msvcrt.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msvcrt.so"/0x63852aef, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sechost.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sechost.so"/0x638525a7, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ucrtbase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ucrtbase.so"/0x63850f8f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/gdi32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/gdi32.so"/0x6385368f, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/win32u.so Using native(wrapped) libm.so.6 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/setupapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/setupapi.so"/0x63861b47, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/rpcrt4.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/rpcrt4.so"/0x63853407, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/version.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/version.so"/0x6386261f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oleaut32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oleaut32.so"/0x638626ff, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/ole32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/ole32.so"/0x63861cbf, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/combase.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/combase.so"/0x63864327, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comctl32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comctl32.so"/0x63864347, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/imm32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/imm32.so"/0x63864257, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/winspool.so Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shell32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shell32.so"/0x6386976f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shlwapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shlwapi.so"/0x6386bf37, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/shcore.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/shcore.so"/0x6386976f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/comdlg32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/comdlg32.so"/0x638698ef, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winmm.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winmm.so"/0x63866687, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/msacm32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/msacm32.so"/0x63866b6f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/wsock32.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/wsock32.so"/0x63866b8f, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/iphlpapi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/iphlpapi.so"/0x63866c1f, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/dnsapi.so Using native(wrapped) libresolv.so.2 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/nsi.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/nsi.so"/0x638654df, 2) Using emulated /home/pi/wine/lib/wine/i386-unix/ws2_32.so Error loading needed lib /home/pi/wine/lib/wine/i386-unix/oledlg.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/oledlg.so"/0x63877ab7, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x63899437, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/tzres.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/tzres.so"/0x6389de07, 2)

Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Using emulated /home/pi/wine/lib/wine/i386-unix/winex11.drv.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Error loading needed lib /home/pi/wine/lib/wine/i386-unix/winex11.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/winex11.so"/0x63973d2f, 2) Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x63a31eff, 2)

Using native(wrapped) libcups.so.2

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/riched20.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/riched20.so"/0x63b953af, 2) Error loading needed lib /home/pi/wine/lib/wine/i386-unix/usp10.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/usp10.so"/0x63b9a7bf, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/uxtheme.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/uxtheme.so"/0x476f144f, 2)

0048:fixme:imm:ImeSetActiveContext (0x6c6f40, 0): stub 0048:fixme:imm:ImmReleaseContext (00010020, 006C6F40): stub

0024:fixme:richedit:editor_handle_message EM_SETLANGOPTIONS: stub 0024:fixme:richedit:IRichEditOle_fnSetHostNames stub 002689F0 soundmodem soundmodem

0024:fixme:imm:ImeSetActiveContext (0x26a550, 1): stub 0024:fixme:imm:ImmReleaseContext (00010072, 0026A550): stub

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/sxs.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sxs.so"/0x485a635f, 2)

Error loading needed lib /home/pi/wine/lib/wine/i386-unix/hid.so Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/hid.so"/0x63bb7a2f, 2)

Basically I think that in our situation, soundmodem wants a Windows dll called "hid.dll" to be in ~/.wine/drive_c/windows/system32/ and enabled in the wine winecfg Libraries tab. If you have a Windows PC and can copy it over to your Pi, that might help? But I'm not sure if that will entirely fix the issue.

I assume VARA HF/FM probably also can't detect the DRA-70 PTT?

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030704435, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKL7SNUY4JQX5UPNVBDUZWLHHANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 05 '22 22:02 mhnadler

Hm, maybe wrapping would be better than overriding. I'll ask Seb about it

WheezyE avatar Feb 05 '22 22:02 WheezyE

Oh man... apologies - I didn't think to check to see if the dll was available from winetricks. Try this: BOX86_NOBANNER=1 winetricks -q hid

WheezyE avatar Feb 05 '22 22:02 WheezyE

OK. I can try it a bit later tonight.

On Sat, Feb 5, 2022 at 5:14 PM Eric Wiessner (KI7POL) < @.***> wrote:

Oh yes, the hid.dll from your Windows PC would need to overwrite wine's own hid.dll. Then winecfg Libraries would have to look like this: [image: image] https://user-images.githubusercontent.com/29649598/152660407-885831f2-111d-4c19-a7ad-281e01778d62.png

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030706521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKLEA2IPKEJNATLNAPLUZXDORANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 06 '22 01:02 mhnadler

Different result -- now it reports a new window -- Invalid Floating Point Operation.

Log doesn't show the previous errors. Got to stop now,..

On Sat, Feb 5, 2022 at 5:14 PM Michael Nadler KI7QIB < @.***> wrote:

OK. I can try it a bit later tonight.

On Sat, Feb 5, 2022 at 5:14 PM Eric Wiessner (KI7POL) < @.***> wrote:

Oh yes, the hid.dll from your Windows PC would need to overwrite wine's own hid.dll. Then winecfg Libraries would have to look like this: [image: image] https://user-images.githubusercontent.com/29649598/152660407-885831f2-111d-4c19-a7ad-281e01778d62.png

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030706521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKLEA2IPKEJNATLNAPLUZXDORANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 06 '22 01:02 mhnadler

Thanks for giving that a shot. Hm.

Maybe try this out next when you get a chance

  • Go back to the folder where you extracted soundmodem to
  • Type BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee soundmodem_log1.txt (and then run the program until you get the "Invalid Floating Point Operation" message)
  • Then go back to your Linux terminal window and hit CTRL+C (or open a new terminal window and type wineserver -k or use the desktop shortcut to restart wine)
  • Then would you be able to attach the soundmodem_log1.txt file that appears? (don't copy/paste text of the file here, just please attach the file).

Does behavior with VARA FM change at all now?

  • You'll need to also check the box for VARA > Settings > VARA Setup > "RA-Board PTT"
  • If you can post the terminal output of ls ~/.wine/drive_c/VARA\ FM/ that will help me too (just want to make sure the PTT.DLL is in there).

WheezyE avatar Feb 06 '22 02:02 WheezyE

VARA FM is not happy today. I may have created the problem by switching DLLs back and forth. The VARA log had said it was having trouble with SXS.DLL, so I brought that over & did the same stuff with winecfg. But it didn't make any difference with detecting RA boards. I switched it back. This was on the 5th.

Today VARA FM was segfaulting in startup. I killed its .ini file & then it started fine. I configured it, soundcard, registration, etc. All except I didn't change PTT settings. This ran ok & it would go out over the radio because DRA's VOX feature. I then went into PTT settings & as soon as I set RA-board, the program faulted. I've attached the log from that execution.

Question: is it important to execute the vb6run command each time after switching DLLs with winecfg? I am not an expert on Wine.

On Sat, Feb 5, 2022 at 6:11 PM Eric Wiessner (KI7POL) < @.***> wrote:

Thanks for giving that a shot. Hm.

Maybe try this out next when you get a chance

  • Go back to the folder where you extracted soundmodem to
  • Type BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee soundmodem_log1.txt (and then run the program until you get the "Invalid Floating Point Operation" message)
  • Then go back to your Linux terminal window and hit CTRL+C (or open a new terminal window and type wineserver -k or use the desktop shortcut to restart wine)
  • Then would you be able to attach the soundmodem_log1.txt file that appears? (don't copy/paste text of the file here, just please attach the file).

Does behavior with VARA FM change at all now?

  • You'll need to also check the box for VARA > Settings > VARA Setup > "RA-Board PTT"
  • If you can post the terminal output of ls ~/.wine/drive_c/VARA\ FM/ that will help me too (just want to make sure the PTT.DLL is in there).

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030736219, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKN6ZYVXVOUC4TQ2XILUZXKGPANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

EDIT by @WheezyE: Pasted box86 log attached as file instead soundmodem_raboard_box86log1.txt

mhnadler avatar Feb 08 '22 00:02 mhnadler

I'm going ahead and starting a new SD from scratch. I have the installs done. Tomorrow, I'll fool with testing.

On Mon, Feb 7, 2022 at 4:38 PM Michael Nadler KI7QIB < @.***> wrote:

VARA FM is not happy today. I may have created the problem by switching DLLs back and forth. The VARA log had said it was having trouble with SXS.DLL, so I brought that over & did the same stuff with winecfg. But it didn't make any difference with detecting RA boards. I switched it back. This was on the 5th.

Today VARA FM was segfaulting in startup. I killed its .ini file & then it started fine. I configured it, soundcard, registration, etc. All except I didn't change PTT settings. This ran ok & it would go out over the radio because DRA's VOX feature. I then went into PTT settings & as soon as I set RA-board, the program faulted. I've attached the log from that execution.

Question: is it important to execute the vb6run command each time after switching DLLs with winecfg? I am not an expert on Wine.

On Sat, Feb 5, 2022 at 6:11 PM Eric Wiessner (KI7POL) < @.***> wrote:

Thanks for giving that a shot. Hm.

Maybe try this out next when you get a chance

  • Go back to the folder where you extracted soundmodem to
  • Type BOX86_LOG=1 wine soundmodem.exe 2>&1 | tee soundmodem_log1.txt (and then run the program until you get the "Invalid Floating Point Operation" message)
  • Then go back to your Linux terminal window and hit CTRL+C (or open a new terminal window and type wineserver -k or use the desktop shortcut to restart wine)
  • Then would you be able to attach the soundmodem_log1.txt file that appears? (don't copy/paste text of the file here, just please attach the file).

Does behavior with VARA FM change at all now?

  • You'll need to also check the box for VARA > Settings > VARA Setup

"RA-Board PTT"

  • If you can post the terminal output of ls ~/.wine/drive_c/VARA\ FM/ that will help me too (just want to make sure the PTT.DLL is in there).

— Reply to this email directly, view it on GitHub https://github.com/WheezyE/Winelink/issues/10#issuecomment-1030736219, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJTKN6ZYVXVOUC4TQ2XILUZXKGPANCNFSM5EARMU2A . 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 authored the thread.Message ID: @.***>

mhnadler avatar Feb 08 '22 01:02 mhnadler

I see what you mean about the sxs.so library from your box86 log1: Warning: Cannot dlopen("/home/pi/wine/lib/wine/i386-unix/sxs.so"/0x64584277, 2)

I think this library might comes from vcrun2012 but I’m not entirely sure. You might try installing that with winetricks using BOX86_NOBANNER=1 winetricks-q vcrun2012 though I think I might have even tried that in the past without good results.

You only need to install vb6run with winetricks once (once per wineprefix / once per install of winelink). If you’re worried that the install might be broken, no need to re-flash the Pi with a new operating system - just installing winelink again will make a new wineprefix with all the dll’s back to the way they should be.

WheezyE avatar Feb 08 '22 06:02 WheezyE

I’ll try to experiment with this more pretty soon

WheezyE avatar Feb 08 '22 06:02 WheezyE