Topics

Problem with duplicate packets

Doug Kingston
 

First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK

Edouard Lafargue
 

  Hi Doug,

  I assume you are using a standard 6-pin min-DIN, right ? The issue is that both the 1200b and your 9600b pins are connected to the UDRC, on channel 0 and channel 1 on Direwolf. So Direwolf sees each packet twice: one with a high audio level (9600baud), and one with lower audio.

   You can either configure Direwolf to only enable one channel, or you can go to Alsamixer and mute one of the channels (type "M" on either "ADCFGA L" or "ADCFGA R" on the playback screen (those should really be on the "recording" screen, but that's another story).

Hoping this helps!

Ed

On Sun, Nov 13, 2016 at 10:15 AM, Doug Kingston <dpk@...> wrote:
First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK


 

Doug,

There are some things you can do. Are you only using one channel or two?  Which connector?  




On Sun, Nov 13, 2016 at 10:15 AM, Doug Kingston <dpk@...> wrote:
First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Doug Kingston
 

Currently only using one channel (Din-6, channel 1 I believe).  I would like to keep the option open to run both in the future.

On Sun, Nov 13, 2016 at 10:36 AM, John D Hays - K7VE <john@...> wrote:
Doug,

There are some things you can do. Are you only using one channel or two?  Which connector?  




On Sun, Nov 13, 2016 at 10:15 AM, Doug Kingston <dpk@...> wrote:
First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


 

Try setting the other channel (0) to 9600 baud.

On Sun, Nov 13, 2016 at 2:39 PM, Doug Kingston <dpk@...> wrote:
Currently only using one channel (Din-6, channel 1 I believe).  I would like to keep the option open to run both in the future.

On Sun, Nov 13, 2016 at 10:36 AM, John D Hays - K7VE <john@...> wrote:
Doug,

There are some things you can do. Are you only using one channel or two?  Which connector?  




On Sun, Nov 13, 2016 at 10:15 AM, Doug Kingston <dpk@...> wrote:
First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Doug Kingston
 

So setting channel 0 to 9600 does stop the second decode, but that kind of makes sense since only one modem approach will work for the packet (its 1200 baud).  This seems like a workaround rather then proper isolation of the audio paths and muting the second.

Is there a good block diagram of the UDRC modem and how the Alsa mixer controls map to that functional diagram?

-Doug-

On Sun, Nov 13, 2016 at 2:54 PM, John D Hays - K7VE <john@...> wrote:
Try setting the other channel (0) to 9600 baud.

On Sun, Nov 13, 2016 at 2:39 PM, Doug Kingston <dpk@...> wrote:
Currently only using one channel (Din-6, channel 1 I believe).  I would like to keep the option open to run both in the future.

On Sun, Nov 13, 2016 at 10:36 AM, John D Hays - K7VE <john@...> wrote:
Doug,

There are some things you can do. Are you only using one channel or two?  Which connector?  




On Sun, Nov 13, 2016 at 10:15 AM, Doug Kingston <dpk@...> wrote:
First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Edouard Lafargue
 

Doug, just mute ADCFGA Left, it will solve your problem.

Ed

(phone)


On Nov 13, 2016 15:02, "Doug Kingston" <dpk@...> wrote:
So setting channel 0 to 9600 does stop the second decode, but that kind of makes sense since only one modem approach will work for the packet (its 1200 baud).  This seems like a workaround rather then proper isolation of the audio paths and muting the second.

Is there a good block diagram of the UDRC modem and how the Alsa mixer controls map to that functional diagram?

-Doug-

On Sun, Nov 13, 2016 at 2:54 PM, John D Hays - K7VE <john@...> wrote:
Try setting the other channel (0) to 9600 baud.

On Sun, Nov 13, 2016 at 2:39 PM, Doug Kingston <dpk@...> wrote:
Currently only using one channel (Din-6, channel 1 I believe).  I would like to keep the option open to run both in the future.

On Sun, Nov 13, 2016 at 10:36 AM, John D Hays - K7VE <john@...> wrote:
Doug,

There are some things you can do. Are you only using one channel or two?  Which connector?  




On Sun, Nov 13, 2016 at 10:15 AM, Doug Kingston <dpk@...> wrote:
First let me say that the UDRC-II is a great device and paired with the Pi3 makes a really useful wireless TNC and digipeater.  Now form my (albeit minor) problem...

I am having a problem with duplicate packets showing up in the direwolf console.  In this example below (of a two packet exchange) note that the audio level is lower on the second printout of the packet.  Before starting direwolf, I set up the audio levels with the script udrc-setup.sh (script and output below).  My guess at this point is that the mixer is somehow misconfigured and that some of the audio from the Din-6 connector (channel 1) is being sent to channel 0 and so the packet is being decoded twice.  

What does the number in square brackets mean ([1.2] vs [0.4])?
How do I interpret the graphic with | and _?.

Diagnostic output from direwolf during which 2 packets were received by the radio (Icom 207H).

pi@kd7dk-pi:~ $ direwolf -c direwolf.udrc-1200.conf
Dire Wolf version 1.3
Includes optional support for:  gpsd

Reading config file direwolf.udrc-1200.conf
Audio device for both receive and transmit: plughw:CARD=udrc,DEV=0  (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

Now connected to IGate server noam.aprs2.net (198.50.198.139)
Check server status here http://198.50.198.139:14501


Digipeater WW7RA audio level = 73(30/29)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WW7RA audio level = 27(13/7)   [NONE]   _|||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA*,WIDE2-1:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 64(26/27)   [NONE]   ||||||___
[1.2] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft

Digipeater WIDE2 (probably ERINB) audio level = 24(11/6)   [NONE]   __||||||_
[0.4] KA7RRA-9>T7RWRQ,WW7RA,ERINB,WIDE2*:`2MCl 5>/]"48}=<0x0d>
MIC-E, normal car (side view), Kenwood TM-D710, In Service
N 47 27.2100, W 122 49.3900, 0 MPH, course 25, alt 108 ft
^C
QRT

udrc-setup.sh:

pi@kd7dk-pi:~ $ cat udrc-setup.sh
#!/bin/bash

amixer -c udrc -s << EOF
#  Set input and output levels to 0dB
#  input
sset 'ADC Level' -6.5dB
#  output
sset 'LO Driver Gain' 28.0dB
sset 'PCM' -41.0dB

#  Turn on AFOUT
sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'

#  Turn on DISCOUT
sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'

#  Turn off unnecessary pins
sset 'IN1_L to Right Mixer Negative Resistor' 'Off'
sset 'IN1_R to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
sset 'IN2_L to Right Mixer Positive Resistor' 'Off'
sset 'IN2_R to Left Mixer Negative Resistor' 'Off'
sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
sset 'IN3_L to Left Mixer Positive Resistor' 'Off'
sset 'IN3_L to Right Mixer Negative Resistor' 'Off'
sset 'IN3_R to Left Mixer Negative Resistor' 'Off'
sset 'IN3_R to Right Mixer Positive Resistor' 'Off'

sset 'Mic PGA' off
sset 'PGA Level' 0

# Disable and clear AGC
sset 'ADCFGA Right Mute' off
sset 'ADCFGA Left Mute' off
sset 'AGC Attack Time' 0
sset 'AGC Decay Time' 0
sset 'AGC Gain Hysteresis' 0
sset 'AGC Hysteresis' 0
sset 'AGC Max PGA' 0
sset 'AGC Noise Debounce' 0
sset 'AGC Noise Threshold' 0
sset 'AGC Signal Debounce' 0
sset 'AGC Target Level' 0
sset 'AGC Left' off
sset 'AGC Right' off

# Turn off High Power output
sset 'HP DAC' off
sset 'HP Driver Gain' 0
sset 'HPL Output Mixer L_DAC' off
sset 'HPR Output Mixer R_DAC' off
sset 'HPL Output Mixer IN1_L' off
sset 'HPR Output Mixer IN1_R' off

#  Turn on the LO DAC
sset 'LO DAC' on

#  Turn on AFIN
sset 'LOL Output Mixer L_DAC' on

#  Turn on TONEIN
sset 'LOR Output Mixer R_DAC' on
alsactl save
EOF

Output from running udrc-setup.sh:

root@kd7dk-pi:/home/pi# ./udrc-setup.sh
Simple mixer control 'ADC Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 64
  Front Left: 11 [17%] [-6.50dB]
  Front Right: 11 [17%] [-6.50dB]
Simple mixer control 'LO Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 34 [97%] [28.00dB]
  Front Right: 34 [97%] [28.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 175
  Mono:
  Front Left: Playback 45 [26%] [-41.00dB]
  Front Right: Playback 45 [26%] [-41.00dB]
Simple mixer control 'CM_L to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'CM_R to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: '10 kOhm'
Simple mixer control 'IN1_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN1_R to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_L to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN2_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Left Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_L to Right Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Left Mixer Negative Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'IN3_R to Right Mixer Positive Resistor',0
  Capabilities: enum
  Items: 'Off' '10 kOhm' '20 kOhm' '40 kOhm'
  Item0: 'Off'
Simple mixer control 'Mic PGA',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PGA Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 95
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'ADCFGA Right Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADCFGA Left Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Attack Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Decay Time',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Gain Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Hysteresis',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Max PGA',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Noise Threshold',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Signal Debounce',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 15
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Target Level',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 7
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'AGC Left',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AGC Right',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HP DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'HP Driver Gain',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 35
  Front Left: 0 [0%] [-6.00dB]
  Front Right: 0 [0%] [-6.00dB]
Simple mixer control 'HPL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPL Output Mixer IN1_L',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HPR Output Mixer IN1_R',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'LO DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'LOL Output Mixer L_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LOR Output Mixer R_DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Thanks for your help,
  -Doug-
  KD7DK




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223