Hi Bill,
The samplerate frequencies are stored in the AudioStreaming Interface
Descriptors. Unfortunately, it is not in a text file format or at least
one that I an find.
Easy way to check available rates, using lsusb:
lsusb
Look for the USB Sound device Name / Manufacturer, note the Bus and
device ID.
Then,
lsusb -v |less
and scroll down to the Device, look for:
AudioStreaming Interface Descriptor:
.. ..
bSamFreqType 5 Discrete
tSamFreq[ 0] 8000
tSamFreq[ 1] 11025
tSamFreq[ 2] 22050
tSamFreq[ 3] 33000
tSamFreq[ 4] 44100
tSamFreq[ 5] 48000
That lists the available rates for a device.
You can get allot more information under: /sys/bus/usb/devices
For example, my Nav Interface is on Bus-6 Device 1 (from lsusb info):
cd /sys/bus/usb/devices/6-1.1
cat idVendor idProduct manufacturer product
....
08bb
2906
Burr-Brown from TI
USB Audio CODEC
.....
73's
Greg, KI7MT
On 05/08/2014 05:15 AM, Bill Somerville wrote:
On 08/05/2014 05:20, Pino Zollo wrote:
Hi Pino,
Hi Bill,
At the moment of saving a new configuration after having changed the
audio input from default to USB headphone set.
Ubuntu 12.04 32 bit
------------------
wsjtx
Version of wsjtx please?
V 1.1 r 3496
Only guessing here, have you set your sound card default sample rate >to
48kHz?
How to do it ? I do not find such a setting in the configuration.
I guess that 48KHz is default.
The USB dongle works fine with other programs like fldigi...
I'm no expert on the details of Linux sound configuration, but the
errors you reported before the crash look like there is some issue with
sound configuration. Alsa is involved and the messages about sample rate
conversions imply to me that something is not correct in that area. I
believe Alsa uses the "plug" plugin to do sample rate and other format
conversions. I wonder if you USB codec doesn't have h/w sampling at
48kHz and the correct sample rate conversion needs enabling (either in
/etc/asound or ~/.asoundrc).
You can find the codec capabilities by examining the
/proc/asound/card?/codec*/* files, maybe there is a clue there. The USB
headphone codec may not have an acceptable h/w sample rate for up
conversion to 48kHz.
--------------------------------------
73 de Pino ZP4KFX
73
Bill
G4WJS.
73
Bill
G4WJS.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel