Re: [wsjt-devel] WSJTX and QT don't list IC-7300 audio devices

2022-04-24 Thread jeff millar via wsjt-devel
Solved!

The symptoms were

   - IC-7300 audio devices (Burr Brown CODEC) not listed in WSJTX under
   Ubuntu 20.04
   - Ubuntu 20.04 running in Virtualbox on same machine showed the IC7300
   autio devices just fine and worked.
   - QT audio test program also failed to show the IC-7300 audio devices

So, the problem is that some installed audio thing seemed to be screwing up
QT.

After a few months of thinking and delaying, I finally got around to trying
to fix the problem.

   - Remove Jack  package and all it's dependencies
   - Remove other unused audio programs and libraries.
   - Didn't fix
   - Reboot, Didn't fix

Took a look at apt autoremove package list and there were a _lot_.

   - sudo apt autoremove
   - PROBLEM FIXED!

It's interesting that package autoremove was necessary

I have no idea which of the dozens of packages actually caused the problem.

jeff, wa1hco

On Wed, Dec 29, 2021 at 4:57 PM jeff millar  wrote:

> I have more information about WSJTX IC-7300 audio device missing.
>
> WSJTX running on my Desktop Ubuntu 20.04 does not list the IC-7300 audio
> devices named "Burr-Brown from TI Audio CODEC"
>
> But an Unbuntu 20.04 VM under VirtualBox running on the *same machine*
> can see the Burr-Brown devices and works fine.
>
> My guess is that the WSJTX call to QT's availableDevices() function is
> either setting the requested mode to an odd value or my Desktop Ubuntu is
> configuring the ports to an odd value.
>
> This is a setup problem because I've used WSJTX on this computer for
> years.  But what is the oddball setup that is causing this?
>
> Any ideas?
>
> I would love to learn how to add printf() or use a debugger on WSJTX if
> someone can help ne with that.
>
> jeff, wa1hco
>
> On Tue, Dec 28, 2021 at 2:11 PM jeff millar  wrote:
>
>> Hello all,
>>
>> I'm dead the water here.  WSJTX 2.5.3 on Ubuntu 20.04.  Tried with both
>> 2.5.3.deb and compiled from source.  Compiling 2.5.3 from source worked the
>> first try! thanks to all those that made it happend.
>>
>> The problem is that File/Settings/Audio Input and Output no longer list
>> the IC-7300 audio devices.  They should be
>>
>> Burr-Brown_from_TI_USB_Audio_CODEC.
>>
>> but they are not in the list.  This happened once before a few months
>> back and I don't know how it fixed itself.
>>
>> Linux can see the devices as PCM-2901, the pactl tool can list the
>> Burr-Brown codec, so this problem seems to be isolated to the way
>> WSJTX uses QT.
>>
>> The receive decode works fine with the default audio device set in Linux
>> to PCM-2901 (the other name for the IC-7300)
>>
>> Can't set any of audio devices to work with transmit, "requested setting
>> not available".
>>
>> I've read the source code as best I can and it seems that QAudio
>> availableDevices() is not including the ALSA Burr-Brown CODEC in the list.
>> Although the command
>>
>> $pactl list | grep Name | grep Burr
>>
>> shows the devices.
>>
>> If someone knows of a magic fix I'll take it.  If not, can someone help
>> me set up for debugging the source.  I'm ok with C but need help setting up
>> a debug environment with the WSJTX source tree.  Anyone have a workspace
>> for VSCODE???
>>
>> thanks,
>>
>> jeff, wa1hco
>>
>
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] WSJTX and QT don't list IC-7300 audio devices

2021-12-29 Thread jeff millar via wsjt-devel
I have more information about WSJTX IC-7300 audio device missing.

WSJTX running on my Desktop Ubuntu 20.04 does not list the IC-7300 audio
devices named "Burr-Brown from TI Audio CODEC"

But an Unbuntu 20.04 VM under VirtualBox running on the *same machine* can
see the Burr-Brown devices and works fine.

My guess is that the WSJTX call to QT's availableDevices() function is
either setting the requested mode to an odd value or my Desktop Ubuntu is
configuring the ports to an odd value.

This is a setup problem because I've used WSJTX on this computer for
years.  But what is the oddball setup that is causing this?

Any ideas?

I would love to learn how to add printf() or use a debugger on WSJTX if
someone can help ne with that.

jeff, wa1hco

On Tue, Dec 28, 2021 at 2:11 PM jeff millar  wrote:

> Hello all,
>
> I'm dead the water here.  WSJTX 2.5.3 on Ubuntu 20.04.  Tried with both
> 2.5.3.deb and compiled from source.  Compiling 2.5.3 from source worked the
> first try! thanks to all those that made it happend.
>
> The problem is that File/Settings/Audio Input and Output no longer list
> the IC-7300 audio devices.  They should be
>
> Burr-Brown_from_TI_USB_Audio_CODEC.
>
> but they are not in the list.  This happened once before a few months back
> and I don't know how it fixed itself.
>
> Linux can see the devices as PCM-2901, the pactl tool can list the
> Burr-Brown codec, so this problem seems to be isolated to the way
> WSJTX uses QT.
>
> The receive decode works fine with the default audio device set in Linux
> to PCM-2901 (the other name for the IC-7300)
>
> Can't set any of audio devices to work with transmit, "requested setting
> not available".
>
> I've read the source code as best I can and it seems that QAudio
> availableDevices() is not including the ALSA Burr-Brown CODEC in the list.
> Although the command
>
> $pactl list | grep Name | grep Burr
>
> shows the devices.
>
> If someone knows of a magic fix I'll take it.  If not, can someone help me
> set up for debugging the source.  I'm ok with C but need help setting up a
> debug environment with the WSJTX source tree.  Anyone have a workspace for
> VSCODE???
>
> thanks,
>
> jeff, wa1hco
>
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] WSJTX and QT don't list IC-7300 audio devices

2021-12-29 Thread jeff millar via wsjt-devel
Hi Claude,

Thanks for the reply.  The PulseAudio tool for viewing devices shows the
7300 audio interface in the form you showed

$ pactl list  | grep Name | grep Burr
Name: alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Name:
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor
Name: alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Name: alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00


The question is, Why can't WSJTX see the same thing?

jeff, wa1hci


On Wed, Dec 29, 2021 at 5:25 AM Claude Frantz via wsjt-devel <
wsjt-devel@lists.sourceforge.net> wrote:

> On 12/28/21 8:11 PM, jeff millar via wsjt-devel wrote:
>
> Hi Jeff and all,
>
> > The problem is that File/Settings/Audio Input and Output no longer list
> the
> > IC-7300 audio devices.  They should be
> >
> > Burr-Brown_from_TI_USB_Audio_CODEC.
> >
> > but they are not in the list.  This happened once before a few months
> back
> > and I don't know how it fixed itself.
>
> You will probably see the right interface like on the picture in the
> attachment. Remember: WSJT-X uses in sequence Qt5, then pulseaudio, then
> alsa.
>
> Best wishes,
> Claude (DJ0OT)
> ___
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] WSJTX and QT don't list IC-7300 audio devices

2021-12-29 Thread Claude Frantz via wsjt-devel

On 12/29/21 4:29 PM, jeff millar wrote:

Hi Jeff and all,


$ pactl list  | grep Name | grep Burr
Name: alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Name:
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor
Name: alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Name: alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00


The question is, Why can't WSJTX see the same thing?


As Bill has explained, WSJTX simply uses the enumeration made available 
at the Qt5 interface.


Ensure that you select the right port on pavucontrol and not the ports 
related to the PC internal soundcard. Verify that the ports are not 
muted. Verify that the IC-7300 is configured to use the soundcard and 
not the analogue ports.


Best wishes,
Claude (DJ0OT)


___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] WSJTX and QT don't list IC-7300 audio devices

2021-12-29 Thread Claude Frantz via wsjt-devel

On 12/28/21 8:11 PM, jeff millar via wsjt-devel wrote:

Hi Jeff and all,


The problem is that File/Settings/Audio Input and Output no longer list the
IC-7300 audio devices.  They should be

Burr-Brown_from_TI_USB_Audio_CODEC.

but they are not in the list.  This happened once before a few months back
and I don't know how it fixed itself.


You will probably see the right interface like on the picture in the 
attachment. Remember: WSJT-X uses in sequence Qt5, then pulseaudio, then 
alsa.


Best wishes,
Claude (DJ0OT)
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


[wsjt-devel] WSJTX and QT don't list IC-7300 audio devices

2021-12-28 Thread jeff millar via wsjt-devel
Hello all,

I'm dead the water here.  WSJTX 2.5.3 on Ubuntu 20.04.  Tried with both
2.5.3.deb and compiled from source.  Compiling 2.5.3 from source worked the
first try! thanks to all those that made it happend.

The problem is that File/Settings/Audio Input and Output no longer list the
IC-7300 audio devices.  They should be

Burr-Brown_from_TI_USB_Audio_CODEC.

but they are not in the list.  This happened once before a few months back
and I don't know how it fixed itself.

Linux can see the devices as PCM-2901, the pactl tool can list the
Burr-Brown codec, so this problem seems to be isolated to the way
WSJTX uses QT.

The receive decode works fine with the default audio device set in Linux to
PCM-2901 (the other name for the IC-7300)

Can't set any of audio devices to work with transmit, "requested setting
not available".

I've read the source code as best I can and it seems that QAudio
availableDevices() is not including the ALSA Burr-Brown CODEC in the list.
Although the command

$pactl list | grep Name | grep Burr

shows the devices.

If someone knows of a magic fix I'll take it.  If not, can someone help me
set up for debugging the source.  I'm ok with C but need help setting up a
debug environment with the WSJTX source tree.  Anyone have a workspace for
VSCODE???

thanks,

jeff, wa1hco
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel