Date   

Re: Trying to set the UDRC2 pins and levels via the script

 

Which approach? You should not need to adjust rx or tx.

On Nov 15, 2017 07:29, "Johnny" <w5pfr@...> wrote:
Took your advice on the fresh start. I've got everything setup as it has outlined. I'm looking at the logs, and I'm seeing the headers are being seen by the program, it is seeing my call sign and info, so DR1X is receiving the correct info from the board, I do have the RX set to 0 for Two meters, But neither of my dstar radios are able to decode the signal coming out the repeater. I did follow where you said to listen on the Dstar signals, input and output and etc. I'm not hearing that beep, when the repeater first keys up! I think that's what my problem is. 

Any suggestions? 
Thanks in advance, jk
Sorry for all the questions and emails. Most of my problem is Linux. Never been any good with it😎

On Nov 15, 2017, at 12:55 AM, John D Hays - K7VE <john@...> wrote:

One other thing is to check out your 15 pin cable, make sure it has all pins connected straight through.  We had one case where, upon inspection one of the pins was pushed back into the connector and once it was properly reseated, things came to life.

On Tue, Nov 14, 2017 at 10:47 PM, John D Hays - K7VE <john@...> wrote:
You said earlier you were having permissions problems.  Have you resolved those issues?

Playing with pins and levels will most likely be an exercise in frustration, which is why we provide scripts and recipes for setting the UDRC.

The scripts will set the pins and levels correctly, which is why , if you have permission problems, they aren't helping. There are two basic formulas to follow.  If you want to be able to setup using a web browser from another computer (eg. no GUI installed on the Raspberry Pi) then you should use the method outlined at  https://nw-digital-radio.groups.io/g/udrc/topic/web_based_udrc_setup_for/4816993 (I spent probably on the order of 100 hours building and testing this web based setup system and it has been successfully used by people in the field).


Almost universally, if a DR-1X doesn't work with these setups it is:

1. A step in the instructions was missed
2. The installer tried to second guess the instructions
3. Old firmware was used on the repeater.  Using 1.10 series is recommended, using 1.00 series can only be used FM/D-STAR.

It may be best to burn a fresh image, using one of the two methods above, then follow the steps as outlined.



On Tue, Nov 14, 2017 at 6:37 PM, <w5pfr@...> wrote:
Is there somewhere that I can find the settings for the dstarrepeater, (not Gui) here? i changes the soundcard RXdevice to 0, and still not able to decode on two meters. 
most everything is set to 0, and the PTTinvert looks to be set to 1.

I have been changing them, but Dstar radios are not able to decode the signal coming out of the DR1X. 
The repeater does hear it and will TX the dstar signal, but non of my dstar radios are able to decode. (The infamous dv/fm flahsing)

Thanks in advance:
john 




--


John D. Hays
Edmonds, WA
K7VE

   




--


John D. Hays
Edmonds, WA
K7VE

   


Re: Trying to set the UDRC2 pins and levels via the script

Johnny
 

Took your advice on the fresh start. I've got everything setup as it has outlined. I'm looking at the logs, and I'm seeing the headers are being seen by the program, it is seeing my call sign and info, so DR1X is receiving the correct info from the board, I do have the RX set to 0 for Two meters, But neither of my dstar radios are able to decode the signal coming out the repeater. I did follow where you said to listen on the Dstar signals, input and output and etc. I'm not hearing that beep, when the repeater first keys up! I think that's what my problem is. 

Any suggestions? 
Thanks in advance, jk
Sorry for all the questions and emails. Most of my problem is Linux. Never been any good with it😎

On Nov 15, 2017, at 12:55 AM, John D Hays - K7VE <john@...> wrote:

One other thing is to check out your 15 pin cable, make sure it has all pins connected straight through.  We had one case where, upon inspection one of the pins was pushed back into the connector and once it was properly reseated, things came to life.

On Tue, Nov 14, 2017 at 10:47 PM, John D Hays - K7VE <john@...> wrote:
You said earlier you were having permissions problems.  Have you resolved those issues?

Playing with pins and levels will most likely be an exercise in frustration, which is why we provide scripts and recipes for setting the UDRC.

The scripts will set the pins and levels correctly, which is why , if you have permission problems, they aren't helping. There are two basic formulas to follow.  If you want to be able to setup using a web browser from another computer (eg. no GUI installed on the Raspberry Pi) then you should use the method outlined at  https://nw-digital-radio.groups.io/g/udrc/topic/web_based_udrc_setup_for/4816993 (I spent probably on the order of 100 hours building and testing this web based setup system and it has been successfully used by people in the field).


Almost universally, if a DR-1X doesn't work with these setups it is:

1. A step in the instructions was missed
2. The installer tried to second guess the instructions
3. Old firmware was used on the repeater.  Using 1.10 series is recommended, using 1.00 series can only be used FM/D-STAR.

It may be best to burn a fresh image, using one of the two methods above, then follow the steps as outlined.



On Tue, Nov 14, 2017 at 6:37 PM, <w5pfr@...> wrote:
Is there somewhere that I can find the settings for the dstarrepeater, (not Gui) here? i changes the soundcard RXdevice to 0, and still not able to decode on two meters. 
most everything is set to 0, and the PTTinvert looks to be set to 1.

I have been changing them, but Dstar radios are not able to decode the signal coming out of the DR1X. 
The repeater does hear it and will TX the dstar signal, but non of my dstar radios are able to decode. (The infamous dv/fm flahsing)

Thanks in advance:
john 




--


John D. Hays
Edmonds, WA
K7VE

   




--


John D. Hays
Edmonds, WA
K7VE

   


Re: Trying to set the UDRC2 pins and levels via the script

 

One other thing is to check out your 15 pin cable, make sure it has all pins connected straight through.  We had one case where, upon inspection one of the pins was pushed back into the connector and once it was properly reseated, things came to life.

On Tue, Nov 14, 2017 at 10:47 PM, John D Hays - K7VE <john@...> wrote:
You said earlier you were having permissions problems.  Have you resolved those issues?

Playing with pins and levels will most likely be an exercise in frustration, which is why we provide scripts and recipes for setting the UDRC.

The scripts will set the pins and levels correctly, which is why , if you have permission problems, they aren't helping. There are two basic formulas to follow.  If you want to be able to setup using a web browser from another computer (eg. no GUI installed on the Raspberry Pi) then you should use the method outlined at  https://nw-digital-radio.groups.io/g/udrc/topic/web_based_udrc_setup_for/4816993 (I spent probably on the order of 100 hours building and testing this web based setup system and it has been successfully used by people in the field).


Almost universally, if a DR-1X doesn't work with these setups it is:

1. A step in the instructions was missed
2. The installer tried to second guess the instructions
3. Old firmware was used on the repeater.  Using 1.10 series is recommended, using 1.00 series can only be used FM/D-STAR.

It may be best to burn a fresh image, using one of the two methods above, then follow the steps as outlined.



On Tue, Nov 14, 2017 at 6:37 PM, <w5pfr@...> wrote:
Is there somewhere that I can find the settings for the dstarrepeater, (not Gui) here? i changes the soundcard RXdevice to 0, and still not able to decode on two meters. 
most everything is set to 0, and the PTTinvert looks to be set to 1.

I have been changing them, but Dstar radios are not able to decode the signal coming out of the DR1X. 
The repeater does hear it and will TX the dstar signal, but non of my dstar radios are able to decode. (The infamous dv/fm flahsing)

Thanks in advance:
john 




--


John D. Hays
Edmonds, WA
K7VE

   




--


John D. Hays
Edmonds, WA
K7VE

   


Re: Trying to set the UDRC2 pins and levels via the script

 

You said earlier you were having permissions problems.  Have you resolved those issues?

Playing with pins and levels will most likely be an exercise in frustration, which is why we provide scripts and recipes for setting the UDRC.

The scripts will set the pins and levels correctly, which is why , if you have permission problems, they aren't helping. There are two basic formulas to follow.  If you want to be able to setup using a web browser from another computer (eg. no GUI installed on the Raspberry Pi) then you should use the method outlined at  https://nw-digital-radio.groups.io/g/udrc/topic/web_based_udrc_setup_for/4816993 (I spent probably on the order of 100 hours building and testing this web based setup system and it has been successfully used by people in the field).


Almost universally, if a DR-1X doesn't work with these setups it is:

1. A step in the instructions was missed
2. The installer tried to second guess the instructions
3. Old firmware was used on the repeater.  Using 1.10 series is recommended, using 1.00 series can only be used FM/D-STAR.

It may be best to burn a fresh image, using one of the two methods above, then follow the steps as outlined.



On Tue, Nov 14, 2017 at 6:37 PM, <w5pfr@...> wrote:
Is there somewhere that I can find the settings for the dstarrepeater, (not Gui) here? i changes the soundcard RXdevice to 0, and still not able to decode on two meters. 
most everything is set to 0, and the PTTinvert looks to be set to 1.

I have been changing them, but Dstar radios are not able to decode the signal coming out of the DR1X. 
The repeater does hear it and will TX the dstar signal, but non of my dstar radios are able to decode. (The infamous dv/fm flahsing)

Thanks in advance:
john 




--


John D. Hays
Edmonds, WA
K7VE

   


Re: Trying to set the UDRC2 pins and levels via the script

Johnny
 

Is there somewhere that I can find the settings for the dstarrepeater, (not Gui) here? i changes the soundcard RXdevice to 0, and still not able to decode on two meters. 
most everything is set to 0, and the PTTinvert looks to be set to 1.

I have been changing them, but Dstar radios are not able to decode the signal coming out of the DR1X. 
The repeater does hear it and will TX the dstar signal, but non of my dstar radios are able to decode. (The infamous dv/fm flahsing)

Thanks in advance:
john 


Re: Trying to set the UDRC2 pins and levels via the script

 

If you are setting up for a repeater, you might want to try this approach. https://nw-digital-radio.groups.io/g/udrc/topic/4816993#1419

On Thu, Oct 26, 2017 at 8:48 PM, John D Hays - K7VE <john@...> wrote:
You shouldn't be having permission issues, but your curl didn't work so you don't have the script pulled down yet. You won't be able to execute the script. 

Try 

cd /tmp

Then try the rest of the commands as if you had used cd ~ (~ means home directory). 

BTW you should change the password if your pi is accessible to the network. 

On Oct 26, 2017 20:25, <w5pfr@...> wrote:
Im logged in under pi and password is compass1 and try to run the script for the UDRC2 pins and levels, via the script and it says:permission denied! what am I doing wrong
attachment is what it says on the pi. 
thanks in advance




--


John D. Hays
Edmonds, WA
K7VE

   


Re: Trying to set the UDRC2 pins and levels via the script

 

You shouldn't be having permission issues, but your curl didn't work so you don't have the script pulled down yet. You won't be able to execute the script. 

Try 

cd /tmp

Then try the rest of the commands as if you had used cd ~ (~ means home directory). 

BTW you should change the password if your pi is accessible to the network. 

On Oct 26, 2017 20:25, <w5pfr@...> wrote:
Im logged in under pi and password is compass1 and try to run the script for the UDRC2 pins and levels, via the script and it says:permission denied! what am I doing wrong
attachment is what it says on the pi. 
thanks in advance


Trying to set the UDRC2 pins and levels via the script

Johnny
 

Im logged in under pi and password is compass1 and try to run the script for the UDRC2 pins and levels, via the script and it says:permission denied! what am I doing wrong
attachment is what it says on the pi. 
thanks in advance


Re: Original UDRC

N7MQ Steve
 

Well I've tried the web based install and a fresh install with an older image of compass and I still get the same error. "I/O error". There must be something wrong with my board. It is and original UDRC that has been knocking around. I'll get a different one and get it running then.

Steve - N7MQ


Re: DTMF Tones and UDRC

Matthew Wolf
 

There was zero interest in my area for a APRS Touch Tone gateway.  My UDRC II is now sitting in a drawer because it is not being used.

I routed the receive audio from two radios into direwolf. One radio for APRS and the second radio for  Touch Tones.  The audio output was split between direwolf and the festival speech synthesis system. One of the audio output channels on the UDRC was used by direwolf. The second output was used by festival.

Below is the asound.conf file I used to route the audio input and output.  

After the asound.conf is the direwolf configuration file I used.

Then after the  direwolf configuration are the two shell scripts that I used to generate the voice responses for Touch Tone transmissions.  

asound.conf:

pcm.card1 {
    type hw
    card udrc 
}
pcm.dmix1 {
    type dmix 
    ipc_key 34521 
    slave {
        pcm "card1" 
    }
}
pcm.dsnoop1 {
    type dsnoop 
    ipc_key 34523
    slave {
        pcm "card1" 
    }
}
pcm.asym1 {
    type asym 
    playback.pcm "dmix1" 
    capture.pcm "dsnoop1"
}
pcm.pasym1 {
    type plug 
    slave.pcm "asym1"
}
 
pcm.!default {
    type plug
    slave.pcm "asym1"
}
 
pcm.pasym1_right {
   slave.pcm pasym1
   slave.channels 2 
   type route
   ttable {
   0.0 1
   1.0 0 
   0.1 0
   1.1 0
   }
}
 
pcm.pasym1_direwolf {
   slave.pcm pasym1
   slave.channels 2
   type route
   ttable {
   0.0 0
   1.0 0
   0.1 1
   1.1 1
   }
}
 

direwolf.conf:
#
ADEVICE pasym1_direwolf
ARATE 48000
ACHANNELS 2
# THE UDRC MUST ALWAYS BE ADDRESSED AS A STEREO DEVICE ALTHOUGH WE ARE ONLY USING ONE CHANNEL
 
#############################################################
#                                                           #
#               CHANNEL 0 PROPERTIES                        #
#                                                           #
#############################################################
# Left Sound Card Input
# UDRC II HD-15 Port
CHANNEL 0
 
MYCALL N4MTT-1
 
MODEM 1200
 
PTT GPIO 12
 
# TX inhibit when the other channel is TX.
TXINH 23
 
#############################################################
#                                                           #
#               CHANNEL 1 PROPERTIES                        #
#                                                           #
#############################################################
# Right Sound Card Input 
# UDRC II DIN-6 Port 
CHANNEL 1
 
# Not correct speed!!
# Added to stop channel 1 from decoding what should only be on channel 0.
# Defaults to 1200 when not configured.
MODEM 300
 
MYCALL N4MTT-1
PTT GPIO 23
 
# TX inhibit when the other channel is TX.
TXINH 12
 
SPEECH dwfestival.sh
 
# You probably want to put in a transmit delay on the APRStt channel so it
# it doesn't start sending a response before the user releases PTT.
# This is in 10 ms units so 100 means 1000 ms = 1 second.
DWAIT 100
 
# Finally, we enable the APRStt conversion.
# This means enable the DTMF decoder on channel 1.
# Send the result to any attached applications.
# Other possibilities are transmitting a packet over the radio or
# sending information thru the IGate.
TTOBJ 1 0 WIDE1-1
 
#############################################################
#                                                           #
#               VIRTUAL TNC SERVER PROPERTIES               #
#                                                           #
#############################################################
 
#
# Dire Wolf acts as a virtual TNC and can communicate with
# client applications by different protocols:
#
# - the "AGW TCPIP Socket Interface" - default port 8000
# - KISS protocol over TCP socket - default port 8001
# - KISS TNC via pseudo terminal   (-p command line option)
#
 
AGWPORT 8000
#KISSPORT 8001
#AGWPORT  0
#KISSPORT 0
 
#
#############################################################
#                                                           #
#               BEACONING PROPERTIES                        #
#                                                           #
#############################################################
 
#PBEACON delay=1 every=10 sendto=0 overlay=F symbol="digi" lat=35^48.41N long=78^46.35W comment="Fill in digipeater and bidirectional igate. Any APRStt (Touch Tone) interest? Email n4mtt@.... Thinking of putting up a APRStt gateway on 146.580."
 
PBEACON delay=1 every=10 sendto=0 overlay=F symbol="digi" lat=******* long=****** comment="Fill in digipeater and bidirectional igate."
 
#
# When the destination field is set to "SPEECH" the information part is
# converted to speech rather than transmitted as a data frame.
#
 
#CBEACON dest="SPEECH" info="Club meeting tonight at 7 pm."
 
# Similar for Morse code.  If SSID is specified, it is multiplied
# by 2 to get speed in words per minute (WPM).
 
#CBEACON dest="MORSE-6" info="de MYCALL"
 
#############################################################
#                                                           #
#               DIGIPEATER PROPERTIES                       #
#                                                           #
#############################################################
 
DIGIPEAT 0 0 ^WIDE1-1$ ^WIDE[12]-[12]$ 
 
#DIGIPEAT 0 0 ^WIDE[1-1]-[1-1]$|^TEST$ ^WIDE[1]-[1]$ TRACE
#DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE 
 
DEDUPE 30
 
# Filtering can be used to limit was is digipeated.
# For example, only weather weather reports, received on channel 0,
# will be retransmitted on channel 1.
#
FILTER 0 0 !b/N4MTT-2
 
 
#############################################################
#                                                           #
#               INTERNET GATEWAY                            #
#                                                           #
#############################################################
 
#IGSERVER noam.aprs2.net
#IGSERVER 127.0.0.1:1313
IGSERVER 127.0.0.1:10152
 
IGLOGIN N4MTT-1 *****
 
# To relay messages from the Internet to radio, you need to add
# one more option with the transmit channel number and a VIA path.
 
IGTXVIA 0 WIDE1-1
 
# Direwolf is hear the packets on both ports.
# Need the same filters on both ports.
FILTER 0 IG !b/N4MTT-1
 
# Not need since I chnage the speed on port 1
FILTER 1 IG !b/N4MTT-1
FILTER 1 IG !b/N4MTT-2
 
FILTER IG 0 t/mn
 
# Do not TX the messages from the local IG server
FILTER IG 0 !b/N4MTT-1
FILTER IG 0 !b/N4MTT-3
 
# Finally, we don't want to flood the radio channel.  
# The IGate function will limit the number of packets transmitted 
# during 1 minute and 5 minute intervals.   If a limit would 
# be exceeded, the packet is dropped and message is displayed in red.
 
IGTXLIMIT 6 10
 
 
#############################################################
#                                                           #
#               APRStt GATEWAY                              #
#                                                           #
#############################################################
 
# - Gateway Location
TTPOINT B01  <REMOVED>
 
TTVECTOR B5bbbddd <REMOVED>N <REMOVED>W 0.1 mi
 
TTMHEAD BAxxxxxxxxxxxx
TTMHEAD BAxxxxxxxxxx
TTMHEAD BAxxxxxx 
 
TTSATSQ BAxxxx
 
TTAMBIG BAx
 
# Speech responses.
# Default is Morse code "R" for received OK and "?" for all errors.
 
TTERR  OK               SPEECH  Message Received. N 4 M T T A P R S touch tone gateway
TTERR  D_MSG            SPEECH  D not implemented. N 4 M T T A P R S touch tone gateway
TTERR  INTERNAL         SPEECH  Internal error. N 4 M T T A P R S touch tone gateway
TTERR  MACRO_NOMATCH    SPEECH  No definition for digit sequence N 4 M T T APRS Touch Tone gate
TTERR  BAD_CHECKSUM     SPEECH  Bad check sum on call. N 4 M T T A P R S touch tone gateway 
TTERR  INVALID_CALL     SPEECH  Invalid callsign. N 4 M T T A P R S touch tone gateway
TTERR  INVALID_OBJNAME  SPEECH  Invalid object name. N 4 M T T A P R S touch tone gateway
TTERR  INVALID_SYMBOL   SPEECH  Invalid symbol. N 4 M T T A P R S touch tone gateway
TTERR  INVALID_LOC      SPEECH  Invalid location. N 4 M T T A P R S touch tone gateway
TTERR  NO_CALL          SPEECH  No call or object name. N 4 M T T A P R S touch tone gateway
#TTERR  SATSQ            SPEECH  Satellite square must be 4 digits N 4 M T T A P R S T T gateway
TTERR  SUFFIX_NO_CALL   SPEECH  Send full call before using suffix N 4 M T T A P R S T T gate 
#MAX num of chars foe   S mess  123456789112345678921234567893123456789412345678951234567896123
 
 
TTSTATUS 8 "no emergency testing testing"
TTSTATUS 9 "testing testing"
 
TTCMD /root/direwolf-ttcmd.sh


The dwfestival.sh shell script:

#!/bin/bash
chan=$1
msg=$2
sleep 1
/bin/echo "$msg" | /usr/local/bin/festival --tts
 
The direwolf-ttcmd.sh shell script that generates the text into for the voice responses.
#!/bin/sh
 
response=""
responseEnd=" N 4 M T T A P R S touch tone gateway"
s=" "
 
if [ "$TTCOMMENT" = "VR" ]
then
 
   response="report "
 
   if [ $TTCALLPH ] 
   then 
   response=$response" "$TTCALLPH 
   fi
 
   response=$response" "$TTCALLPH
 
   if [ $TTSSID ]
   then
   response=$response" s s i d "$TTSSID
   fi
 
   if [ $TTSYMBOL ]
   then
   response=$response" symbol "$TTSYMBOL
   fi
 
   if [ $TTLAT ]
   then
   response=$response" latitude "$TTLAT
   fi
 
   if [ $TTLON ]
   then
   response=$response" latitude "$TTLON
   fi
 
   if [ $TTFREQ ]
   then
   response=$response" monitoring "$TTFREQ
   fi
 
   if [ $TTSTATUS ]
   then
   response=$response" status "$TTSTATUS
   fi
 
else
   response="Message Received."
fi
 
responseFinal=$response$responseEnd
echo $responseFinal
 
 

 


Re: Original UDRC

 

Steve,

I was looking at GPIO.7, which looks OK.  Sometimes when this is designated as a different mode it indicates a problem communicating to the UDRC.

Have you tried a fresh install?  There may be something elsewhere in the OS causing the problem with alsamixer.

On Thu, Oct 5, 2017 at 9:42 PM, N7MQ Steve <wy7frv@...> wrote:
pi@compass:~ $ sudo gpio readall
 +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
 | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |
 |   2 |   8 |   SDA.1 | ALT0 | 1 |  3 || 4  |   |      | 5v      |     |     |
 |   3 |   9 |   SCL.1 | ALT0 | 1 |  5 || 6  |   |      | 0v      |     |     |
 |   4 |   7 | GPIO. 7 | ALT0 | 0 |  7 || 8  | 1 | ALT0 | TxD     | 15  | 14  |
 |     |     |      0v |      |   |  9 || 10 | 1 | ALT0 | RxD     | 16  | 15  |
 |  17 |   0 | GPIO. 0 |   IN | 0 | 11 || 12 | 0 | ALT0 | GPIO. 1 | 1   | 18  |
 |  27 |   2 | GPIO. 2 |  OUT | 0 | 13 || 14 |   |      | 0v      |     |     |
 |  22 |   3 | GPIO. 3 |  OUT | 0 | 15 || 16 | 0 | OUT  | GPIO. 4 | 4   | 23  |
 |     |     |    3.3v |      |   | 17 || 18 | 0 | OUT  | GPIO. 5 | 5   | 24  |
 |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |
 |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 1 | IN   | GPIO. 6 | 6   | 25  |
 |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |
 |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |
 |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |
 |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |
 |   6 |  22 | GPIO.22 |  OUT | 0 | 31 || 32 | 0 | OUT  | GPIO.26 | 26  | 12  |
 |  13 |  23 | GPIO.23 |  OUT | 1 | 33 || 34 |   |      | 0v      |     |     |
 |  19 |  24 | GPIO.24 | ALT0 | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |
 |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | ALT0 | GPIO.28 | 28  | 20  |
 |     |     |      0v |      |   | 39 || 40 | 0 | ALT0 | GPIO.29 | 29  | 21  |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
 +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
pi@compass:~ $ 
John I was able to get it to post with the formatting this time.

Steve - N7MQ
_._,_._,_



--


John D. Hays
Edmonds, WA
K7VE

   


Re: Original UDRC

N7MQ Steve
 

pi@compass:~ $ sudo gpio readall
 +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
 | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |
 |   2 |   8 |   SDA.1 | ALT0 | 1 |  3 || 4  |   |      | 5v      |     |     |
 |   3 |   9 |   SCL.1 | ALT0 | 1 |  5 || 6  |   |      | 0v      |     |     |
 |   4 |   7 | GPIO. 7 | ALT0 | 0 |  7 || 8  | 1 | ALT0 | TxD     | 15  | 14  |
 |     |     |      0v |      |   |  9 || 10 | 1 | ALT0 | RxD     | 16  | 15  |
 |  17 |   0 | GPIO. 0 |   IN | 0 | 11 || 12 | 0 | ALT0 | GPIO. 1 | 1   | 18  |
 |  27 |   2 | GPIO. 2 |  OUT | 0 | 13 || 14 |   |      | 0v      |     |     |
 |  22 |   3 | GPIO. 3 |  OUT | 0 | 15 || 16 | 0 | OUT  | GPIO. 4 | 4   | 23  |
 |     |     |    3.3v |      |   | 17 || 18 | 0 | OUT  | GPIO. 5 | 5   | 24  |
 |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |
 |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 1 | IN   | GPIO. 6 | 6   | 25  |
 |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |
 |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |
 |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |
 |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |
 |   6 |  22 | GPIO.22 |  OUT | 0 | 31 || 32 | 0 | OUT  | GPIO.26 | 26  | 12  |
 |  13 |  23 | GPIO.23 |  OUT | 1 | 33 || 34 |   |      | 0v      |     |     |
 |  19 |  24 | GPIO.24 | ALT0 | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |
 |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | ALT0 | GPIO.28 | 28  | 20  |
 |     |     |      0v |      |   | 39 || 40 | 0 | ALT0 | GPIO.29 | 29  | 21  |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
 +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
pi@compass:~ $ 
John I was able to get it to post with the formatting this time.

Steve - N7MQ


Re: Original UDRC

N7MQ Steve
 

Thanks John!

 
I've placed it in a txt document it wasn't formatting correctly in the text window.

Steve - N7MQ


Re: Original UDRC

 

Send the output of 

sudo gpio readall

On Tue, Oct 3, 2017 at 10:04 AM, N7MQ Steve <wy7frv@...> wrote:
Thanks. Right now I'm running the GUI for repeater and IRCDDB. But I'm trying to get the UDRC setup through the CLI. I think if I could get the UDRC to respond to alsamixer correctly I would be golden. I'll try installing alsamixer again and see if that gets me anywhere.

73's,

Steve




--


John D. Hays
Edmonds, WA
K7VE

   


Re: Original UDRC

N7MQ Steve
 

Thanks. Right now I'm running the GUI for repeater and IRCDDB. But I'm trying to get the UDRC setup through the CLI. I think if I could get the UDRC to respond to alsamixer correctly I would be golden. I'll try installing alsamixer again and see if that gets me anywhere.

73's,

Steve


Re: Original UDRC

VE3MIC
 

Hi Steve.

I'm afraid that I am at a loss... You could try installing alsamixer again (sudo apt-get install alsamixer), but likely something else is missing.
It may be easier (rather than working out this problem) just to start at ground zero again with a fresh install of compass.
Also, I forgot to ask...are you running a GUI or just the CLI?

73 de Mike


Re: Original UDRC

N7MQ Steve
 

hank for replying. I can not open alsamixer it gives me this error.

pi@compass:~ $ alsamixer
cannot load mixer controls: Remote I/O error


Steve


Re: Original UDRC

VE3MIC
 

Hi Steve,
I've been running an original UDRC on a DR-1x for about a year and a half on a raspberry Pi 2, running Compass(Jessie). What do you see when you run alsamixer? Audio levels ( PCM, ADC) should be set to approx. 48(use this as your starting point).


Original UDRC

N7MQ Steve
 

Hello All! I am trying to setup the original udrc for a DR-1X. I am running 1.00z firmware on the repeater, but the trouble I'm having is getting the urdc to work. I just got the urdcii to work at home with a kenwood 750. That setup was straight forward and easy. This setup with the udrc and the DR-1X seems to partially work. When I start dstarrepeater it will not acknowledge any digital traffic but will suspend RPT State when FM is keyed.

Anyway the error I'm getting is:

pi@compass:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@compass:~ $ sudo ~/set-urdc-dr1x.sh
amixer: Mixer hw:0 load error: Remote I/O error
alsactl: get_control:256: Cannot read control '2,0,0,PCM Playback Volume,0': Remote I/O error

The card is recognized by the system but I'm getting a I/O error when I try and load the script. Any help would be greatly appreciated.

73's,

Steve - N7MQ (WY7FRV)


Re: GMSK modem

Bernard f6bvp / ai7bg
 

Hi John,

Nano satellite project IgoSat from University Paris-Diderot will use GMSK modulation for UHF telemetry downlink (Isis VHF/UHF module).
An UDRC-II modem was kindly provided by NW digital as a backup for receiving telemetry.
I would like to experiment with GMSK between two RPi with UDRC II modems in order to prepare next generation students work in coming six months.
How can I change from default 9600 bauds FSK to GMSK  UDRC settings ?

73 de Bernard, f6bvp