¿ªÔÆÌåÓý

Using CM108 not decoding Packet


 

Hi Everyone -?
? I am having problems with decoding packet signals. I already checked the receiver and input to mic in of cm108 soundcard. I can record through it and working well.?
The one I want to check is if I have it correctly setup in direwolf.conf .?
I noticed it says below "Audio input device for receive: stdin? (channel 0)"?

What does it mean? Do I need to set it up correctly on the config file so that?
the TX and RX would be on the (plughw:1,0) (channel 0)??

Please help. Thanks! 73 Lot / k6irf
? ? ?
Dire Wolf version 1.5
Includes optional support for:? cm108-ptt
?
Reading config file direwolf.conf
Audio input device for receive: stdin? (channel 0)
Audio out device for transmit: plughw:1,0? (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.
Using /dev/hidraw0 GPIO 3 for channel 0 PTT control.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
?
Attached to KISS TCP client application 0...
?


 

¿ªÔÆÌåÓý


Hello Juan,

I noticed it says below "Audio input device for receive: stdin? (channel 0)"?

You didn't mention what operating system you're running this on but ultimately, your direwolf.conf file has an error.? For example on Linux, your ADEVICE line should look like:
--
ADEVICE plughw:1,0
--

Your file might look similar but there might be hidden characters, etc.? Try deleting the entire line and re-type it just in case.

--David
KI6ZHD



What does it mean? Do I need to set it up correctly on the config file so that?
the TX and RX would be on the (plughw:1,0) (channel 0)??

Please help. Thanks! 73 Lot / k6irf
? ? ?
Dire Wolf version 1.5
Includes optional support for:? cm108-ptt
?
Reading config file direwolf.conf
Audio input device for receive: stdin? (channel 0)
Audio out device for transmit: plughw:1,0? (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.
Using /dev/hidraw0 GPIO 3 for channel 0 PTT control.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
?
Attached to KISS TCP client application 0...
?


 

Hi David,
? Thanks ! I had it setup this way "ADEVICE -? plughw:1,0"?
Without the dash in the middle made it worked!? I am using it on a Raspberry Pi.
Thank You ! 73?
Lot / k6irf


 

¿ªÔÆÌåÓý


Great!? Btw, Direwolf v1.5 should work fine but v1.6 is even better.? I don't know which OS you're running but Raspberry Pi Bullseye has v1.6 available.? If you don't want to replace the OS, compiling Direwolf isn't very difficult and is covered in the Direwolf UserGuide:

??

--David
KI6ZHD


On 01/04/2022 08:30 PM, Lot K6IRF via groups.io wrote:

Hi David,
? Thanks ! I had it setup this way "ADEVICE -? plughw:1,0"?
Without the dash in the middle made it worked!? I am using it on a Raspberry Pi.
Thank You ! 73?
Lot / k6irf


 

Install the latest version of DireWolf (v1.7 or later)
Edit direwolf.conf specify
?"PTT cm108"?
in the channel configuration section.
Comment out or delete other PTT options, and comment out "#ADEVICE USB".
?
Connect the interface containing the CM108 or CM119 USB audio IC.
When you start Direwolf, it should display something like:?
Dire Wolf DEVELOPMENT version 1.7 A (Mar 15 2021)
Includes optional support for:? cm108-ptt
Reading config file direwolf.conf
Config file line 210: Found "\\?\hid#vid_0d8c&pid_000c&mi_03#8&19177d61&0&0000#" when expecting GPIO number or device name like /dev/hidraw1.
Available audio input devices for receive (*=selected):
Invalid input (receive) audio device number 2.
? ? 0: Microphone (2- HP Webcam 3100)
? ? 1: Microphone (2- C-Media USB Head
Available audio output devices for transmit (*=selected):
Invalid output (transmit) audio device number 2.
? ? 0: Speakers/Headphones (Realtek(R)
? ? 1: Speakers (2- C-Media USB Headph
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, A+, 44100 sample rate.
Using \\?\hid#vid_0d8c&pid_000c&mi_03#8&12bab26f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} GPIO 3 for channel 0 PTT control.
Ready to accept KISS TCP client application 0 on port 8001 ...
Ready to accept AGW client application 0 on port 8000 ...
?
If you do not see "Includes optional support for:? cm108-ptt"
you did not compile correctly, or need to download the latest pre-compiled version.?
Notice it warns you if you have the wrong sound interface selected.
Note the numbers for the "C-Media" device, and edit direwolf.conf to use these numbers in the ADEVICE section:?
" ADEVICE? 1 1 " in my case.
?
If you have more than one C-Media USB audio device connected (USB headset), you will have to change
?"PTT cm108"?
to the more explicit;
?"PTT CM108 \\?\hid#vid_0d8c&pid_000c&mi_03#8&19177d61&0&0000# "
or as indicated in your startup message.
?
There is a cm108.exe utility in your direwold install folder,?
that you can run from the cmd prompt, that identifies all connected C-Media devices.?
?