Skip to content
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

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

Open
mhnadler opened this issue Sep 14, 2021 · 48 comments
Open

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

mhnadler opened this issue Sep 14, 2021 · 48 comments
Labels
bug Something isn't working

Comments

@mhnadler
Copy link

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".

@WheezyE
Copy link
Owner

WheezyE commented Sep 14, 2021

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
Copy link
Owner

WheezyE commented Oct 28, 2021

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 WheezyE closed this as completed Oct 28, 2021
@WheezyE
Copy link
Owner

WheezyE commented Feb 3, 2022

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 WheezyE reopened this Feb 3, 2022
@mhnadler
Copy link
Author

mhnadler commented Feb 3, 2022 via email

@mhnadler
Copy link
Author

mhnadler commented Feb 3, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 4, 2022

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) 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

@mhnadler
Copy link
Author

mhnadler commented Feb 4, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

Hm. Are you getting this error?
image

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

@mhnadler
Copy link
Author

mhnadler commented Feb 5, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

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
Copy link
Owner

WheezyE commented Feb 5, 2022

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
Copy link
Owner

WheezyE commented Feb 5, 2022

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.

@mhnadler
Copy link
Author

mhnadler commented Feb 5, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

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.

@mhnadler
Copy link
Author

mhnadler commented Feb 5, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

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?

@mhnadler
Copy link
Author

mhnadler commented Feb 5, 2022 via email

@mhnadler
Copy link
Author

mhnadler commented Feb 5, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

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
Copy link
Owner

WheezyE commented Feb 5, 2022

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

@mhnadler
Copy link
Author

mhnadler commented Feb 5, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

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

@WheezyE
Copy link
Owner

WheezyE commented Feb 5, 2022

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

@mhnadler
Copy link
Author

mhnadler commented Feb 6, 2022 via email

@mhnadler
Copy link
Author

mhnadler commented Feb 6, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 6, 2022

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).

@mhnadler
Copy link
Author

mhnadler commented Feb 8, 2022 via email

@mhnadler
Copy link
Author

mhnadler commented Feb 8, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 8, 2022

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
Copy link
Owner

WheezyE commented Feb 8, 2022

I’ll try to experiment with this more pretty soon

@mhnadler
Copy link
Author

mhnadler commented Feb 8, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Feb 9, 2022

I've been experimenting a bit more and am not really sure, but am going to ask Seb about sxs.so and see what he thinks ptitSeb/box86#567

@WheezyE WheezyE changed the title VARA FM can't find RA Board VARA FM & soundmodem.exe can't find RA Board Feb 9, 2022
@mhnadler
Copy link
Author

mhnadler commented Mar 13, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Mar 14, 2022

Doesn't look like Seb has looked into it yet, though I've heard he's been busy. Benjamin, WY2K thought that this might actually be a wine bug instead of box86. I'm considering ordering a DRA-36 (pending XYL approval) to do more testing and see if it works with my FT-891, but I'm not sure yet.

I also found these guides on the DRA-board website's FAQ and might go through my setup again reading through these (ie I might try HidLibrary.dll instead of the SoundModem DLL's for VARA PTT alone).

@mhnadler
Copy link
Author

I'm seeing posts from people being able to run VARA-FM on Raspberry PIs. Closer inspection shows that they are all using either DRA boxes that support VOX or SignaLinks. No one is able to run VARA-FM with hardware PTT that I can find.

Is there any progress finding a solution? VOX operation with DRAs can be error-prone as it takes the circuitry some time to drop PTT. During that lag, the remote station could have responded & that response could be missed.

I tried grabbing HidLibrary.dll. It made no difference; the DRA C-Media device is not detected. I think I installed the DLL correctly:
downloaded the dll
copied the dll to .wine/drive_c/windows/system32/
ran "wine winecfg" and added hidlibrary to the list, along with ptt and hid.

Neither Soundmodem nor VaraFM see the DRA as an RA-Board.

Suggestions?

@ve1cwj
Copy link

ve1cwj commented Jun 9, 2022

Following this thread with interest... I'm running VARA FM on a Pi 4 (Bullseye) with PAT using a modified CM108 USB soundcard (same chip as the DRA devices). In Windows, I can use the VARA DRA C-Media device PTT option to key the radio via the CM108's GPIO so would love to have this functionality on the pi also. Would be happy to test and troubleshoot if I can help.

My current workaround is to set VARA FM PTT to VOX, then run a rigctl daemon with "rigctld -p /dev/hidraw0 -P CM108 -C ptt_bitnum=2" and let PAT key the radio using "rigctl -m 2" to connect to the daemon. It seems to work fine, but that method doesn't crossover to Winlink Express so well.

@WheezyE - You could pickup one of these CM108 USB soundcards for a tester as an alternative to the DRA device: https://www.amazon.ca/dp/B086H4J2YG?ref_=cm_sw_r_cp_ud_dp_WXD7PPFP0JAS8A9WC1H1

@WheezyE
Copy link
Owner

WheezyE commented Jun 10, 2022

I'm seeing posts from people being able to run VARA-FM on Raspberry PIs. Closer inspection shows that they are all using either DRA boxes that support VOX or SignaLinks. No one is able to run VARA-FM with hardware PTT that I can find.

Yes, that's correct. The VOX-enabled DRA's which don't require PTT are able to work, but PTT is still broken.

Is there any progress finding a solution? VOX operation with DRAs can be error-prone as it takes the circuitry some time to drop PTT. During that lag, the remote station could have responded & that response could be missed.
...
Suggestions?

None so far, I'm afraid. Without a DRA board to debug with, and without any input from Seb, I'm a bit dead in the water on this issue. But I'm interested in this CM108 being used as a low-cost stand-in for the DRA board. I actually have a Sabrent USB card which I think has a CM108 chip onboard.

@ve1cwj Is this the PTT mod you're talking about? Or is there an easier one or two solder-point mod?

@mhnadler
Copy link
Author

mhnadler commented Jun 10, 2022 via email

@ve1cwj
Copy link

ve1cwj commented Jun 10, 2022

@ve1cwj Is this the PTT mod you're talking about? Or is there an easier one or two solder-point mod?

Yes, very similar. I did a mod like this one using a transistor connected to the CM108 GPIO for PTT. I think this one also has a COS input for Allstar that isn't necessary for VARA. Any soundcard with the CM108 exposed should work.

@mhnadler
Copy link
Author

mhnadler commented Jun 12, 2022 via email

@WheezyE
Copy link
Owner

WheezyE commented Sep 18, 2022

Just documenting some stuff for future reference.

Sabrent USB soundcard (CM108) internals: https://imgur.com/a/gjE0aZh

CM108 PTT build

Parts list (to test RA-Board PTT)

Info

@WheezyE WheezyE added the bug Something isn't working label Oct 11, 2022
@WheezyE
Copy link
Owner

WheezyE commented Oct 12, 2022

Sorry to bug you with this again, @mhnadler , but there have been some big updates to box86 & my install script. I haven't soldered my fake DRA board together yet, but just curious if the PTT might be fixed yet

@WheezyE
Copy link
Owner

WheezyE commented Oct 12, 2022

Sorry one second before any testing - I forgot to update the box86 install file - one moment

@WheezyE
Copy link
Owner

WheezyE commented Oct 12, 2022

Ok should be good to try now

@mhnadler
Copy link
Author

mhnadler commented Nov 8, 2022 via email

@coolacid
Copy link

I find myself in the same situation. The main difference here is that I'm running Wine on x86 hardware.

I have VARA FM running, but it is also unable to detect the RA board. I have UDEV rules that ensure the device's /dev/hidraw is 0666 and when adding WINEDEBUG=+hid I can see VARAFM pulling the descriptors for the HID device. Yet, it still isn't able to detect a HID device.

If there's something I can do to help diagnose this, please let me know.

@WheezyE
Copy link
Owner

WheezyE commented Jan 25, 2023

@coolacid Apologies for the delay, I was on holiday vacation & then honeymoon.

I'd really like to get this working on x86 hardware like you're running (before migrating to trying box86 - to reduce complexity while we're trying to fix this). I don't own an RA board to test.

Just a guess, but could try these commands to see if they do anything?

sudo usermod -a -G dialout $USERNAME
sudo usermod -a -G tty $USERNAME
sudo usermod -a -G audio $USERNAME

(source)

@SpudGunMan
Copy link
Contributor

SpudGunMan commented Jan 26, 2023

I will troubleshoot along with you on this, ran 2023 script and no success yet
cm108 utility detects the attached DRA-50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants