Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: GPIO CM-108
I can't give you specifics because the machine I had it running on had a hard drive failure, but here is what I think I remember doing, plus some of the scripts I had saved. Maybe when I reinstall the while thing again, I'll create a youtube video. ?Yeah, I have 5 or 6 of the modified cards, use it for DSTAR, AllStar, EchoLink, IRLP, 9600 / 1200 packet, FreeDV, HF Digital modes, SSTV ..... all for $5!? PTT driver only works on some of them though.? I think you still have to recompile direwolf with the hamlib enabled. There was a specific command I had to run so the build script would recompile everything.? After that, I added the specefic PTT command in the direwolf.conf file.? I used the script they gave on the instruction manual and added on a little and came up with this: Heres the first script?aprs.sh The second script is embedded in the first, here it is#!/bin/bash echo "APRS?with CM108 Sound card PTT with Direwolf With Xastir!" echo "Root privelidges needed!" echo "Kill all running direowlf/xastir/rigctld processes!!" read -p "Press any key to kill..."? sleep .2 sudo killall direwolf sudo killall rigctld sudo killall xastir echo "Please Plug in a CM108-based sound fob" read -p "Press any key when sound FOB is plugged in..."? cd ~/direwolf sudo ./ptt.sh?& sleep 1 sudo direwolf -p -r? 36000 & sleep 1 sudo -H -u kd0whb xastir #!/bin/bash # Look for C-Media device and start up rigctld # with option to use bit 2 for PTT. # WB2OSZ, Feb. 2016 echo "Look for suitable device for PTT." h=/sys/class/hidraw d="" for x in `ls $h` do n=`grep HID_NAME $h/$x/device/uevent | gawk -F= '{ print $2 }'` echo " /dev/$x $n" if [[ "$n" =~ "C-Media" ]] then echo "Found suitable device /dev/$x" if [ ! -z "$d" ] then echo "WARNING! More than one found." fi d=/dev/$x fi done if [ -z "$d" ] then echo "No suiable devices found for PTT." exit fi echo "Starting up rigctld with PTT on $d" if [ `whoami` != root ] then sudo chmod 666 $d fi # After it is working properly, you might want rigctld -p $d -P CM108 -vvvv -C ptt_bitnum=2 You will have to modify the scripts for your username and place in the proper directory to run correctly Skyler On Mon, Nov 7, 2016 at 1:35 PM, MIKE DURKIN Patriot121@... [direwolf_packet] <direwolf_packet@...> wrote:
--
Skyler Fennell KD?WHB |
to navigate to use esc to dismiss