Page 1 of 2

Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Thu Jan 27, 2022 4:04 pm
by keniv

@Anacleto
@rockedge
Strangely rtl_fm -M wbfm -f 105.9M | play -r 32k -t raw -e s -b 16 -c 1 -V1 - does run for me with audio in Fossapup64 9.5.

I also tried a different order of commands in the hope it would start apulse before CubicSDR started.

Code: Select all

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/
ldconfig
apulse
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/librtaudio.so.6 CubicSDR

Although CubicSDR opens and appears to be working in other respects there's no audio. I also get a errors about duplicate entries of files which I think have already been mentioned by @Anacleto Please see be below.

Code: Select all

[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libairspySupport.so)
  duplicate entry for airspy (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libairspySupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libaudioSupport.so)
  duplicate entry for audio (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libaudioSupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libbladeRFSupport.so)
  duplicate entry for bladerf (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libbladeRFSupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libHackRFSupport.so)
  duplicate entry for hackrf (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libHackRFSupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libLMS7Support.so)
  duplicate entry for lime (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libLMS7Support.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libosmosdrSupport.so)
  duplicate entry for osmosdr (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libosmosdrSupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libRedPitaya.so)
  duplicate entry for redpitaya (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libRedPitaya.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libremoteSupport.so)
  duplicate entry for remote (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libremoteSupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/librtlsdrSupport.so)
  duplicate entry for rtlsdr (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/librtlsdrSupport.so)
[ERROR] SoapySDR::loadModule(/usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libuhdSupport.so)
  duplicate entry for uhd (/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libuhdSupport.so)

and also this

Code: Select all

[ERROR] avahi_service_browser_new() failed: Bad state

Don't know how relevant these are.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Thu Jan 27, 2022 6:24 pm
by Anacleto

Hi keniv.
I have had CubicSDR running with audio with these errors.
The script that I put in the previous post moves the libraries and erased the duplicate files that produce error but that do not affect the operation.
These errors do not affect the operation and even with audio.
I have pending modify soapy pet.
See you.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Thu Jan 27, 2022 8:07 pm
by keniv

Hi Anacleto,
I look forward to trying your modified soapy .pet. I'm hoping we're not far from getting CubicSDR to work with audio in Fossapup.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Fri Jan 28, 2022 7:46 pm
by Anacleto

Hi keniv.

@keniv

Do you have GQRX working with audio at FOSSA-PUPPY64?

This is drive me mad, because I have installed all the SDR packets, and I can not execute:

Code: Select all

apulse CubicSDR

We give us the error that we already know :

CubicSDR: symbol lookup error: /usr/lib/x86_64-linux-gnu/librtaudio.so.6: undefined symbol: pa_strerror

And if I execute the command:

Code: Select all

apulse gqrx

Gqrxr works all correctly without any problem, with audio.

What makes it think that the problem is at pets cubicsdrxxx.pet.

I created news Pets RTLSDR and GNU-Radio for Fossa, I have to check if it would work at Quicpub64 and then I would change them.

I was checking many libraries and some programs, but I did not find any mistake.

My question is:

Do you have GQRX working with audio in fossa-puppy ?

Thank you keniv.

See you.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Fri Jan 28, 2022 9:08 pm
by keniv

@Anacleto
Hi Anacleto,
To answer your question yes I have got GQRX working with audio in Fossapup64 9.5 using apulse gqrx. CubicSDR seems to work in every respect but even using apulse there is no audio. Hope this helps.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Sun Jan 30, 2022 1:49 pm
by Anacleto

Hi keniv.

@keniv

Thank you for answering.
I have the same problem.
After also running

Code: Select all

apulse CubicsDR 

also happens to me:

Code: Select all

root# apulse gqrx
Controlport disabled
"Pulseaudio error: Connection refused"

PulseAudio is very unstable in Fossapuppy64, I tried to change libraries, modify parameters, but I took a long time attempted and although there have been moments that CubiSDR run with audio I do not know why it has been disconnected again.

At this moment I find myself compiling CubicSDR, but this takes great time.

And I do not know if I get it.

If I get some result, I'll show it to you.

Regards,


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Sun Jan 30, 2022 6:49 pm
by keniv

@Anacleto
I also see Controlport disabled when I run apulse gqrx in a terminal. I also see the other errors I mentioned in a previous post, however eventually gqrx opens with sound. I have found that I cannot always rely on gqrx opening without an error. I sometimes get a pop up box with a message about incorrect settings and asking if I would like to change them. If I click "yes" the settings box opens. I have tried both changing the setting then changing back to the original settings or not changing the settings at all then closing the box. Sometimes gqrx opens normally and sometimes I have to reboot and then it opens normally. It is not consistent. I have attached my settings. I had to manually edit device string to rtl=0 or it would not work with my device.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Mon Jan 31, 2022 9:16 pm
by Anacleto

Hi keniv.

@keniv

I have compiled CubicSDR again at FOSSA64 and it has taken me long without any result.
This is like wanting to repair a Ferrari with pieces of a Lamborghini.
I already had many problems a long time ago when trying to operate a wireless device with pulseaudio and after a long time I did not get it.

Well we have QuickPub64 and at the moment all the programs are working Ok.

Ok See you.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Mon Jan 31, 2022 10:24 pm
by keniv

@Anacleto
Oddly enough I went back to using Quickpup today to run the SDR programs. I do find Quickpup unfamiliar to use but I assume I'll get used to it. Just one question on CubicSDR. I was trying to set a bookmark for BBC R4. When I type into the bookmark box the cursor moves along with each letter I type but no letters appear in the box. Can you tell me how to set a bookmark in CubicSDR. Sorry to hear about all the trouble you've had in trying to compile CubicSDR for Fossapup64 and trying to get it to use apulse but as you say the SDR programs seem to work better in Quickpup using pulse audio.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 01, 2022 7:42 am
by Anacleto

Hi keniv.

An image is better than a thousand words.

imagen2.jpg
imagen2.jpg (70.57 KiB) Viewed 3406 times

It is convenient to save the /root/.CubicSDR directory in a safe place if you change distribution or your PUPSAVE is broken.

Regards,


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 01, 2022 4:20 pm
by keniv

@Anacleto
Thanks Anacleto, I'm now able to set a group (FM) and bookmark various frequencies to that group, however, if I try and label a frequency as a particular station say "BBC Radio4" when I highlight the frequency then type in the "Label" box the cursor moves as I press each letter on the keyboard but nothing appears in the box. Do you know how to label a particular frequency?

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 01, 2022 9:40 pm
by Anacleto

Hi keniv

when I highlight the frequency then type in the "Label" box the cursor moves as I press each letter on the keyboard but nothing appears in the box. Do you know how to label a particular frequency?

I have no problem, what you have to select with the mouse the frequency is inside the bookmark, go to the window inside label and write "BBC_radio4" with "_". It may if are writing but you don't see because the text theme and the window is the same, if you drag the mouse over the text you will see it.
I have another theme that I made for me in QuickPub64, it is a dark issue to protect my eyes. You can try it if you like it, is in:

https://www.forum.puppylinux.com/viewto ... 509#p47509

See you.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 01, 2022 11:37 pm
by keniv

@Anacleto
Hi Anacleto,
Thanks for the information. I'm now able to label the bookmarks. I downloaded and installed your "dark" theme but it's a bit too dark for me though it did make the typing in the "Label" box in CubicSDR visible. Pity the other themes in /usr/share/themes don't appear in the Menu>Desktop>Appearance pop up box. I wonder why?

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Mon Feb 07, 2022 9:30 pm
by Anacleto

Hello, I have updated all the PET files, from CubicSDR, eliminating some errors they had. In addition to being able to make it compatible with a new SDR program that I plan to place in a new post that is SDRPP or also known as SDR ++.

Regards.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 08, 2022 12:22 am
by keniv

@Anacleto
Have uninstalled the old .pets and replaced them with the new pets in both Quickpup and Fossapup. Both GQRX and CubicSDR working in Quickpup with audio. In Fossapup GQRX works with audio using apulse. CubicSDR works but no audio. When run in a terminal I now see only one error.

Code: Select all

[ERROR] avahi_service_browser_new() failed: Bad state

I look forward to trying SDRPP when it's ready.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 08, 2022 7:27 am
by Anacleto

Hi Kevin thanks for the testing.

Code: Select all

[ERROR] avahi_service_browser_new() failed: Bad state

This error I think is because it can not find the LimeSDR device, is other type of device different SDR Dongle, or in any case is the driver for this type of device type.

Sdrpp I have it working and I am making the last settings, I don't use it before but it has a very good look and it seems interesting.

Regards


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Tue Feb 08, 2022 10:57 am
by keniv

@Anacleto
Hi Anacleto,
Thanks for the explanation of the error. I think your new .pets have reduced the time it takes for both GQRX and CubicSDR to open. I'll have a look on the web to see what I can find on SDRPP so as I have a bit of an idea of what I'm doing as I haven't used it before.

Regards,

Ken.


Re: CubicSDR instalation in puppies 64 with pulseaudio

Posted: Sun Mar 20, 2022 10:00 pm
by Anacleto

Hi....
New pet for Slacko64_8.2.1
Regards.