xmikos / qspectrumanalyzer

Spectrum analyzer for multiple SDR platforms (PyQtGraph based GUI for soapy_power, hackrf_sweep, rtl_power, rx_power and other backends)
GNU General Public License v3.0
1.15k stars 228 forks source link

No devices found! in Windows 7 #33

Open stevegoode opened 7 years ago

stevegoode commented 7 years ago

Hello, I am not a programmer. I am trying to install qspectrumanalyzer on a Windows 7 machine. I installed PothosSDR-2017.05.02-vc14-x64.exe and QSpectrumAnalyzer-2.2.0-win-x64.msi. These programs generated new folders under C:\Program Files of PothosSDR and qspectrumanalyzer. I am able to run gqrx in the PothosSDR folder and it works. When I run qspectrumanalyzer I get No devices found! in the device setting window. If I run soapy_power --info in the qspectrumanalyzer folder I get:

C:\Program Files\QSpectrumAnalyzer>soapy_power --info WARNING: Incorrect RX channel number, using channel 0 instead! Traceback (most recent call last): File "build\temp.win-amd64-3.6\workpath\soapy_power.py.399ce066-d3a8-43ab-a0ec-ae ine 2, in File "soapypower__main.py", line 301, in main File "soapypower\main__.py", line 106, in device_info File "site-packages\simplesoapy.py", line 384, in get_frequency_range IndexError: tuple index out of range Failed to execute script soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966

Can you tell me what I am doing wrong? Thanks,

Steve

xmikos commented 7 years ago

Hello, it seems that you have not specified correct device driver (on Windows SoapySDR uses your sound card as default driver).

Try to run soapy_power --detect to see if it detects your SDR device. Then run soapy_power --info -d driver=NAME_OF_DETECTED_DEVICE_DRIVER to see if it works. You have to specify driver=NAME_OF_DETECTED_DEVICE_DRIVER also in QSpectrumAnalyzer settings (there is Device string form field for it).

stevegoode commented 7 years ago

Hello,

When I run soapy_power --detect I get no devices found.

Steve

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

u:>c:

C:>Program Files 'Program' is not recognized as an internal or external command, operable program or batch file.

C:>cd Program Files

C:\Program Files>cd QSpectrumAnalyzer

C:\Program Files\QSpectrumAnalyzer>soapy_power --detect Detected SoapySDR devices: No devices found!

On Mon, May 15, 2017 at 3:11 AM, Michal Krenek (Mikos) < notifications@github.com> wrote:

Hello, it seems that you have not specified correct device driver (on Windows SoapySDR uses your sound card as default driver).

Try to run soapy_power --detect to see if it detects your SDR device. Then run soapy_power --info -d driver=NAME_OF_DETECTED_DEVICE_DRIVER to see if it works. You have to specify driver=NAME_OF_DETECTED_DEVICE_DRIVER also in QSpectrumAnalyzer settings (there is Device string form field for it).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xmikos/qspectrumanalyzer/issues/33#issuecomment-301406342, or mute the thread https://github.com/notifications/unsubscribe-auth/AbVPhTbA0Shpl2RekxRWMypiYAslrmwwks5r6AixgaJpZM4NZvBv .

xmikos commented 7 years ago

Hmm, maybe there is some incompatibility with latest PotosSDR bundle. I will try it and release new version if this is the cause.

peeraxel commented 7 years ago

Same problem here trying to make it work with Airspy and Win 7 / 64 bit: Soapy_power --detect shows: no devices found. QSpectrumAnalyzer does not work either. USB drivers are installed (btw after upgrading from WinUSB v1 to v6 with Zadig: SDR# still works). And the Airspy is detected by SoapySDRUtil (see below). So which magic parameters are missing?

C:\Program Files\PothosSDR\bin>SoapySDRUtil --probe="driver=airspy" ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Probe device driver=airspy Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-57-g 6f87cca4


-- Device identification

driver=Airspy hardware=Airspy device_id=0 origin=https://github.com/pothosware/SoapyAirspy


-- Peripheral summary

Channels: 1 Rx, 0 Tx Timestamps: NO Other Settings:


-- RX Channel 0

Full-duplex: YES Supports AGC: YES Stream formats: CS16, CF32 Native format: CS16 [full-scale=65536] Antennas: RX Full gain range: [0, 45] dB LNA gain range: [0, 15] dB MIX gain range: [0, 15] dB VGA gain range: [0, 15] dB Full freq range: [24, 1800] MHz RF freq range: [24, 1800] MHz Sample rates: 6, 3 MSps

Timmmm commented 7 years ago

Same:

C:\Program Files\QSpectrumAnalyzer>soapysdrutil --find
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-57-g6f87cca4

Found device 0
  driver = lime
  index = 0
  label = USB 3.0 (LimeSDR-USB) [USB] 9062000C42615
  media = USB
  module = STREAM
  name = USB 3.0 (LimeSDR-USB)
  serial = 0009062000C42615

C:\Program Files\QSpectrumAnalyzer>soapy_power --detect
Detected SoapySDR devices:
  No devices found!

I've tried --verbose but it just printed a message about the fftw module being found. Is there any way to debug this?

benhaz1024 commented 7 years ago

@xmikos

I clicked QSpectrumAnalyzer->settings->device(? button) dialog shows:

  Detected SoapySDR devices:
  No devices found!

and then, i try to run "soapy_power.exe --detect" from windows cmd, it shows same message as above.

but the SDR# works and SoapySDRUtil.exe in PothosSDR can find my device.

my software enviroment:

my harware :

wb8vsu commented 6 years ago

My computer is a Windows 10 system, but having the same issue. One difference is it worked on Friday, Before Friday I had loaded the drivers back in March, but only started to play with the LimeSDR Friday. Once it was working I decided it was time to update to current versions. So I updated to current versions on Saturday and it quit working.

I decided to install on a second computer to see if I could duplicate it working on Friday. I was not able to duplicate, but it gave me a different error message. I loaded the current version of QspectrumAnalyer as it was not installed on the second computer, but suspect I must have been a older version of Qspectrumana;yzer on the computer I was using on Friday. The messages on the new computer were similar to:

C:\Program Files\QSpectrumAnalyzer>soapy_power --info [ERROR] SoapySDR::loadModule(C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/airspySupport.dll) LoadLibrary() failed: The specified module could not be found.

I looks like the delimiter between directories is not correct. As in / verse . The first part has Windows version and the last part Linux / Unix version.

I am willing to assist in debug of the issue. I used to do programing many years ago.

Jim

Timmmm commented 6 years ago

@wb8vsu It's probably not a delimiter issue. Windows supports \ and / as directory delimiters. Either that file (airspySupport.dll) does not exist, or when it is loaded it tries to open another file that doesn't exist. Easy enough to check if airspySupport.dll exists. If it does then I think you can check which files it opens using Logger.

In any case, I think that is an unrelated error about Airspy support. I don't see how it would affect LimeSDR.

wb8vsu commented 6 years ago

I was not aware of the change in recognition of the delimiter. Learned something new.

I have the same error with the lime module, just did not post the many errors. Here is the LimeSDR file error: [ERROR] SoapySDR::loadModule(C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/LMS7Support.dll) LoadLibrary() failed: The specified module could not be found.

I looked at the files in PothosSDR and the modules were in the following directory: C:\Program Files\PothosSDR\lib\SoapySDR\modules0.6 While the program errors indicate they were in: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2

Do not understand why the one computer gives a better error message.

Timmmm commented 6 years ago

I think that is a separate issue. You could make a new Github issue for it but I expect just uninstalling everything and installing from scratch would fix it (or at least get you back to the "No devices found!" error.

wb8vsu commented 6 years ago

I suspect that is the cause of the no device error. I removed Pothos and reinstalled the version from May 2 which includes the missing directory and now it is finding USB devices.

wb8vsu commented 6 years ago

It is now working again as it can find the LimeSDR. I am using the new USB driver for LimeSDR, verse using Zadig to change the USB driver.

Jonoro commented 6 years ago

Another newbie here with the same problem - "no devices found" Windows 10 with all updates generic 820T2 with RTL2838U USb device. Installed Pothos (used the 2 May version as earlier it was posted that this version would detect the dongle) gqrx.exe works fine picking up the dongle and even RF! Qspectrumanalyser reports "No devices found"

Any and all help appreciated very much

                              Running rtl_eeprom.exe results in:

PS C:\program files> cd pothossdr PS C:\program files\pothossdr> cd bin PS C:\program files\pothossdr\bin> rtl_eeprom.exe Found 1 device(s): 0: Generic RTL2832U OEM

Using device 0: Generic RTL2832U OEM Found Rafael Micro R820T tuner

Current configuration:


Vendor ID: 0x0bda Product ID: 0x2838 Manufacturer: Realtek Product: RTL2838UHIDIR Serial number: 00000001 Serial number enabled: yes IR endpoint enabled: yes Remote wakeup enabled: no


Running soapysdrutil.exe –find results in:

PS C:\program files\pothossdr\bin> soapysdrutil.exe --find ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-52-g86c74ee9

Found Rafael Micro R820T tuner Found device 0 default_input = True default_output = True device_id = 0 driver = audio label = Default Device

Found device 1 default_input = False default_output = False device_id = 2 driver = audio label = Microphone (Realtek High Definition Audio)

Found device 2 available = Yes driver = rtlsdr label = Generic RTL2832U OEM :: 00000001 manufacturer = Realtek product = RTL2838UHIDIR rtl = 0 serial = 00000001 tuner = Rafael Micro R820T

                    Running soapysdrutil.exe --make="driver=rtlsdr" results in:

PS C:\program files\pothossdr\bin> soapysdrutil.exe --make="driver=rtlsdr" ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Make device driver=rtlsdr Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-52-g86c74ee9

Found Rafael Micro R820T tuner Found Rafael Micro R820T tuner driver=RTLSDR hardware=RTLSDR origin=https://github.com/pothosware/SoapyRTLSDR rtl=0

PS C:\program files\pothossdr\bin>

                              Running soapysdrutil.exe --find again produces:

PS C:\program files\pothossdr\bin> soapysdrutil.exe --find ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-52-g86c74ee9

Found Rafael Micro R820T tuner Found device 0 default_input = True default_output = True device_id = 0 driver = audio label = Default Device

Found device 1 default_input = False default_output = False device_id = 2 driver = audio label = Microphone (Realtek High Definition Audio)

Found device 2 available = Yes driver = rtlsdr label = Generic RTL2832U OEM :: 00000001 manufacturer = Realtek product = RTL2838UHIDIR rtl = 0 serial = 00000001 tuner = Rafael Micro R820T


Checking in qspectrumanalyser for the device produces: Detected SoapySDR devices: No devices found!

wb8vsu commented 6 years ago

I apologize, for not posting sooner, I was pretty sure it affected all USB devices and not just the LImeSDR. Although it will work with that version, you have to install an older version first, then update to that version. On the computer that it worked on had the Soapy 0.4.x libraries and then one of the early versions of removed the old version and replaced it with 0.5 libs. The May version installs 0.6, but does not uninstall the 0.5 libs. The newest versions seem to disable access to 0.5 libs which are required.

My install sequences was (do not know what the ones was prior to 3-12):

PothosSDR-2017.03.12-vc14-x64 Which installed: C:\Program Files\PothosSDR\lib\SoapySDR\modules0.5-2

PothosSDR-2017.05.02-vc14-x64 (works but only if a previous version installed) Installed: C:\Program Files\PothosSDR\lib\SoapySDR\modules0.6

PothosSDR-2017.05.16-vc14-x64 (works but only if a previous version installed) Installed: C:\Program Files\PothosSDR\lib\SoapySDR\modules0.6

Both PothosSDR-2017.06.21-vc14-x64 and PothosSDR-2017.07.27-vc14-x64 prevent QSpectrumAnalyzer from finding any USB devices including USB mice.

Jonoro commented 6 years ago

Thank you for the very quick response. I removed all traces of the installations then installed 03.07, then 03.12, then 05.02, then 05.16 I then installed using the .msi the latest qspectrum analyzer Finally ran zadig and reinstalled the driver but unfortunately I still get the same result. qspectrumanalyzer produces this: Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-57-g6f87cca4

No devices found!

A little more verbose than before but still no SDR.

Jonoro commented 6 years ago

I should have added that I looked and in the SoapySDR folder are 2 folders: modules0.5-2 modules0.6

wb8vsu commented 6 years ago

Mine is back to not finding any usb devices including mice, etc. Going to have to figure out what I did to break it.

wb8vsu commented 6 years ago

I am new to SDR, Python and Pothos although I did some programing many years ago. So I do not really know what I am doing. I have not found what I did to break it on my system, but leaning towards the fact I had removed Python 3.5 and later installed a newer version 3.6. I currently have a 2.7 and 3.6 version of Python installed. When Qspectrumanalyzer was compiled, Python was at version 3.4. I may try installing the older version 3.4 to see what happens.

When I ran soapy_power.exe in a cmd window I got the following error:

C:\Program Files\QSpectrumAnalyzer>soapy_power.exe --debug --detect DEBUG: pyfftw module found (using 4 threads by default) Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-0-gc705922a

Traceback (most recent call last): File "build\temp.win-amd64-3.6\workpath\soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966.py", line 2, in File "soapypower__main.py", line 295, in main File "soapypower\main__.py", line 72, in detect_devices File "site-packages\simplesoapy.py", line 37, in detect_devices KeyError: 'label' Failed to execute script soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966

Jonoro commented 6 years ago

I tried many variations earlier releases of Pothos and portable Qspectrum but could never get it to find the SDR device. I have virtually no programming knowledge so I took the easy way out and used a portable version of Ubuntu, and it runs first time. So success in that at least I have qspectrumanalyzer running.

delray commented 6 years ago

Similar issue here. Pothos and all the elements work fine (GQRX, CubicSDR GnuRadio) and SoapySDRUtil finds my device. (HackRF) But when I try and use Qspectrumanalyzer, it crashes on close no matter what backend I use. Also soapy_power does not detect any devices. Im on windows10 64bit, and the SoapySDR modules are 0.6. I have this working in Ubuntu, but for a variety of reasons it would be great to get it going in windows.

wb8vsu commented 6 years ago

I played a little today and at least on my system when it runs it is not finding some of the support files. I added where it is installed to the system environment Path, and it started to find the files. I suspect that it is not finding the Pothos Soapy files as well. I will add that location to the Path in a few minutes.

errors before changing the Path: C:\Program Files\QSpectrumAnalyzer>soapy_power --debug --detect DEBUG: pyfftw module found (using 4 threads by default) Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-0-gc705922a

Traceback (most recent call last): File "build\temp.win-amd64-3.6\workpath\soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966.py", line 2, in File "soapypower__main.py", line 295, in main File "soapypower\main__.py", line 72, in detect_devices File "site-packages\simplesoapy.py", line 37, in detect_devices KeyError: 'label' Failed to execute script soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966

After changing the Path: C:\Program Files\QSpectrumAnalyzer>soapy_power --debug --detect DEBUG: pyfftw module found (using 4 threads by default) Detected SoapySDR devices: No devices found!

wb8vsu commented 6 years ago

I ran soapysdrutil --info and it could not find any module drivers, where it used to work.

So I removed Pothos and installed PothosSDR-2015.12.20-vc11-x64, , and reran soapysdrutil --info,. It had a number of issues, but found the module drivers. I then reinstalled PothosSDR-2017.03.07-vc14-x64 and ran soapysdrutil --info, which also found the module drivers without errors, although earlier today it could not. (output below).

Qspectrumanalyzer is now working, although it still can not find USB devices in the settings. In my case it still had the old setting to the LimeSDR device so I did not need to find a new device.

I suspect it Qspectrumanalyzer needs recompiled linking to the newer version of Pothos.

C:\Program Files\QSpectrumAnalyzer>soapysdrutil --info ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Lib Version: v0.5.5-PothosSDR-2017.03.07-vc14-x64 API Version: v0.5.2 ABI Version: v0.5-2 Install root: C:\Program Files\PothosSDR Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/airspySupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/audioSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/bladeRFSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/HackRFSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/LMS7Support.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/miriSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/osmosdrSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/RedPitaya.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/remoteSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/rtlsdrSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/s9cSupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/sdrPlaySupport.dll Module found: C:\Program Files\PothosSDR/lib/SoapySDR/modules0.5-2/uhdSupport.dll Loading modules... Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-0-gc705922a

done Available factories...airspy, audio, bladerf, hackrf, lime, miri, null, osmosdr, redpitaya, remote, rtlsdr, s9c, sdrplay, uhd,

wb8vsu commented 6 years ago

I suspect there are two or more issues. There seems to be a issue at least on my system with the SoapySDR only working if a old install is done before installing a newer version. Second Qspectrumanalyser is not able to access the SoapySDR correctly and is sensitive to which library version.

To see what would happen I removed Qspectrumanalyzer and reinstalled. I now get the following error, again: C:\Program Files\QSpectrumAnalyzer>soapy_power --debug --detect DEBUG: pyfftw module found (using 4 threads by default) Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-0-gc705922a

Traceback (most recent call last): File "build\temp.win-amd64-3.6\workpath\soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966.py", line 2, in File "soapypower__main.py", line 295, in main File "soapypower\main__.py", line 72, in detect_devices File "site-packages\simplesoapy.py", line 37, in detect_devices KeyError: 'label' Failed to execute script soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966

The file soapy_power.py is no longer there, plus I suspect it was supposed to be complied into a pyd file (dll).

Next I am going to uninstall Pothos and try installing the October version of Pothos, as I suspect that was the the first one I had installed and then updated.

wb8vsu commented 6 years ago

I discovered that as I had installed Visual Studio with Python, that anytime a .py file tried run, it tried to open up in Visual Studio instead of having Python run it.

I manually ran soapy_power.py and had the following error:

C:\Program Files\QSpectrumAnalyzer>C:\Users\jbach\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\qspectrumanalyzer\backends\soapy_power.py --detect --debug File "C:\Users\jbach\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\qspectrumanalyzer\backends\soapy_power.py", line 196 print(e, file=sys.stderr) ^ SyntaxError: invalid syntax

Qspectrumanalyzer is still running but still can not detect devices.

wb8vsu commented 6 years ago

On my system I had to install Python 2.7 as others had not updated to Python 3 yet. For reasons I do not understand the script was running in Python 2.7 and not Python 3 as it should have. I removed Python 2.7 and the error went away. Most likely when I did my original install Python 2.7 was not installed on the system. Still will not detect devices.

wb8vsu commented 6 years ago

Victory.. I now have it finding USB devices again. The issue seems to be Pothos and the fact it does not do a clean uninstall. What I did to clear the issue was to uninstall Pothos, then deleted its directory "C:\Program Files\PothosSDR". Then I reinstalled the 2nd March version of Pothos and now it can find the USB devices again.

Here is the output of running it in a cmd window (although it did not see the mouse).

C:\Program Files\QSpectrumAnalyzer>soapy_power --debug --detect DEBUG: pyfftw module found (using 4 threads by default) Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-0-gc705922a

Detected SoapySDR devices: driver=audio, device_id=0, label=Default Device driver=audio, device_id=3, label=Microphone (USB Audio CODEC ) driver=audio, device_id=4, label=Microphone Array (Realtek High Definition Audio(SST)) driver=lime, serial=0009062000C41C19, label=USB 3.0 (LimeSDR-USB) [USB] 9062000C41C19

Jonoro commented 6 years ago

Well done wb8vsu. I might try the windows version again. I thought I was all there with the Ubuntu version, but have just found out that the export command returns an error, hopefully the windows version export might work?? The error I get is: ImportError: cannot import name 'QtSvg' I'll post this as a new topic as its off-topic for the windows 7 thread.

Jonoro commented 6 years ago

Leave a I couldn't find a 2nd March version of Pothos here: http://downloads.myriadrf.org/builds/PothosSDR/?C=M;O=D Please could you check again which version worked for you?

wb8vsu commented 6 years ago

I meant the second version in March. What I have installed is: PothosSDR-2017.03.12-vc14-x64

jfitter commented 6 years ago

Same here. Clean W7 SP1 X64 system. SoapySDRUtil works fine and the device is detected. All of the Pothos applications work fine. The only thing that refuses to work is Soapy_Power. It seems incapable of detecting my SDR device, and consequently QSpectrumAnalyzer will not work either. I have spent a lot of time reading and trying to analyse this but have now wasted enough time. I have research to get on with. Pity - looks like a good tool.

xmikos commented 6 years ago

@jfitter I should have finally time to work on QSpectrumAnalyzer again. I will try to look at it on weekend and release new version which should hopefully work on Windows again. Sorry for your troubles.

@Jonoro Just install package python3-pyqt5.qtsvg and export should work.

jfitter commented 6 years ago

OK thanks. Look forward to seeing what you come up with.

Jonoro commented 6 years ago

I tried with Win 7 SP1 and using Pothos SDR from 12th March and it did find the device, after I manually entered the device= string into Qspectrum's settings.. Scan's worked and all looked good until I tried to export the results. Exporting or copying resulted in the application crashing. I next tried Win 10, as I had been trying Win 7 using a live USB installation. This time I used a "proper" installation. Again I used the 12th March Pothos and I tried both with the .msi and portable versions of Qspectrum. Both worked fine until export or copying which again, like Win 7, caused it to crash.

So I am now going to retry in Ubuntu after installing the package xmikos helpfully suggested above.

jfitter commented 6 years ago

So, is QSA going to be fixed for windows? I does not work in W7 for any exe I choose, not just soapy_power. The drivers are ok because they work just fine with other apps such as cubic sdr, pothos gui, etc. It is only QSA that will not work on W7.

Jonoro commented 6 years ago

I installed this, it works fine out of the box https://eartoearoak.com/software/rtlsdr-scanner

Black-Catz commented 6 years ago

I am experiencing a similar issue in windows 10 64 bit with a hackrf one. Cubic SDR and GQRX function correctly as does the rest of the PothosSDR suite for both my rtl-sdr and hackrf one. Everything is most recent version as of the date of this post. Please let me know if I can be of further assistance with log outputs or whatever.

C:\Program Files\QSpectrumAnalyzer>soapy_power --detect Detected SoapySDR devices: No devices found!

C:\Program Files\QSpectrumAnalyzer>soapy_power WARNING: Incorrect RX channel number, using channel 0 instead! Traceback (most recent call last): File "build\temp.win-amd64-3.6\workpath\soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966.py", line 2, in File "soapypower__main.py", line 317, in main File "soapypower\power.py", line 38, in init File "site-packages\simplesoapy.py", line 102, in init__ File "site-packages\simplesoapy.py", line 185, in sample_rate File "site-packages\simplesoapy.py", line 14, in closest ValueError: min() arg is an empty sequence Failed to execute script soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966

C:\Program Files\QSpectrumAnalyzer>SoapySDRUtil --probe="driver=hackrf" ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Probe device driver=hackrf Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.003.000-0-gef157678

[INFO] Opening HackRF One #1 xxxxxxxxxxxxxxxxxx...


-- Device identification

driver=HackRF hardware=HackRF One clock source=internal part id=a000xxxxxxxxxxx serial=0000000000000000xxxxxxxxxxxxxxxxxxxx version=2017.02.1

C:\Program Files\QSpectrumAnalyzer>soapysdrutil --find ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.003.000-0-gef157678

Found Rafael Micro R820T tuner Found device 0 default_input = True default_output = True device_id = 0 driver = audio label = Default Device

Found device 6 device = HackRF One driver = hackrf label = HackRF One #1 xxxxxxxxxxxxxxxxxxxxxxxx part_id = a000xxxxxxxxxxxxxxx serial = 0000000000000000xxxxxxxxxxxxxxxxxxxxxx version = 2017.02.1

Found device 7 available = No driver = rtlsdr label = Generic RTL2832U OEM :: manufacturer = product = rtl = 0 serial = tuner =

Found device 8 available = Yes driver = rtlsdr label = Generic RTL2832U OEM :: 00000001 manufacturer = Realtek product = RTL2838UHIDIR rtl = 1 serial = 00000001 tuner = Rafael Micro R820T

Found device 9 available = No driver = rtlsdr label = Generic RTL2832U OEM :: manufacturer = product = rtl = 2 serial = tuner =

wb8vsu commented 6 years ago

Xmikos, I will have some time available in about 3 weeks. Is there anything I can do to help with resolving the problem? At the very least I am willing to test new versions.

tdbone1 commented 5 years ago

Im on windows 10 x64 fully updated to this point. (fresh install no previous versions of pothos or qspectrum) installed "PothosSDR-2018.11.04-vc14-x64.exe | 05-Nov-2018 03:04 | 89M" and "QSpectrumAnalyzer-2.2.0-win-x64"

C:\Program Files\QSpectrumAnalyzer>soapy_power.exe --info WARNING: Incorrect RX channel number, using channel 0 instead! Traceback (most recent call last): File "build\temp.win-amd64-3.6\workpath\soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966.py", line 2, in File "soapypower__main.py", line 301, in main File "soapypower\main__.py", line 106, in device_info File "site-packages\simplesoapy.py", line 384, in get_frequency_range IndexError: tuple index out of range Failed to execute script soapy_power.py.399ce066-d3a8-43ab-a0ec-ae2654d1d966

C:\Program Files\QSpectrumAnalyzer>soapy_power --detect Detected SoapySDR devices: No devices found!

C:\Program Files\QSpectrumAnalyzer>soapysdrutil --find ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

[INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_106700; UHD_3.13.1.0-1-gd3b7e90a Found device 0 driver = lime index = 0 label = LimeSDR Mini [USB 3] 1D3BD0C4F0CDFF media = USB 3 module = FT601 name = LimeSDR Mini serial = 1D3BD0C4F0CDFF

C:\Program Files\QSpectrumAnalyzer>soapy_power --detect Detected SoapySDR devices: No devices found!

C:\Program Files\QSpectrumAnalyzer>

everything works fine in ubuntu x64 desktop of course.

https://eartoearoak.com/software/rtlsdr-scanner < is this supposed to work with lime-mini?

wb8vsu commented 5 years ago

tdbone1, to work on Windows you need to install an old version of Pothos -> PothosSDR-2017.03.12-vc14-x64. I suspect the same is true for Linux as well. However if the Linux install of Pothos does not delete the old Simple_Soapy library in the Pothos directory maybe it would work. The old version would not have the newer Lime drivers you will need.

So questions for you, do you have a old version of Pothos installed on your Linux box? Or do you have Simple_Soapy version 0.5 on your system from an old install? I assume that someone who did a fresh install of Pothos today and never had a older version of PothosSDR, would find it does not work on Linux either.

When I did a incremental update of PothosSDR it removed C:\Program Files\PothosSDR\lib\SoapySDR\modules0.5 and installed C:\Program Files\PothosSDR\lib\SoapySDR\modules0.6. That is when it quit working.

I did get to where I could compile it and now need to find how it finds the SoapySDR to change it to call the new release.

There is a GNU (GNU is in Pothos) app uhd_fft.grc, which might work. There is a file from Lime that provides all the settings available for a LimeSDR. I seem to have misplaced it and can not find its Name. Universal Radio Hacker has some ability to show spectrum as well.

wb8vsu commented 5 years ago

Simple LimeSDR spectrum analyzer app is: signal_analyzer.grc

CarneyResearch commented 3 years ago

I am trying to use QSpectrumAnalyser and have this problem, of the app not finding devices, however I does appear to be resolved in these threads. Was it ever resolved?

CarneyResearch commented 3 years ago

Sorry for my poor grammar on my previous posting... I am trying to use QSpectrumAnalyser and have this problem (of the app not finding devices... in my case RTL-SDR). For some it worked right off first time. I tried the suggestion to install PothosSDR for March 12, 2017 with no luck. Was it ever resolved to get QSpectrumAnalyser to (automatically) list the SDR device in setup?

wb8vsu commented 3 years ago

Your English is fine.

It works for some people if you have a version of Pothos installed that has the right version of simple soapy libraries. I had to move on to newer versions of Pothos and gave up on using Qspectrumanalyzer.

Qspectrumanalyzer does allow a custom SDR driver. Maybe some day someone can generate a custom Python driver linked to the new simple soapy libraries. Or maybe someone can create a GNU Spectrum Analyzer.

Some of the RTL-SDR dongles have a spectrum analyzer app.

I have used URH a couple of times, but not as nice as Qspectrumanalyzer.

⁣Jim Bacher, WB8VSU  wb8vsu@arrl.net  https://trc.guru

On Nov 8, 2020, 10:25 PM, at 10:25 PM, CarneyResearch notifications@github.com wrote:

Sorry for my poor grammar on my previous posting... I am trying to use QSpectrumAnalyser and have this problem (of the app not finding devices... in my case RTL-SDR). For some it worked right off first time. I tried the suggestion to install PothosSDR for March 12, 2017 with no luck. Was it ever resolved to get QSpectrumAnalyser to (automatically) list the SDR device in setup?

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/xmikos/qspectrumanalyzer/issues/33#issuecomment-723732150

CarneyResearch commented 3 years ago

Thanks Jim (WB8VSU),

Seems crazy soapySDRutil found and listed my RTL-SDR as being found but QSA can't see it..

C:\Users\CTRL_Bench>soapySDRutil --find ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Win32; Microsoft Visual C++ version 14.0; Boost_106300; UHD_003.010.001.001-0-gc705922a

Found Rafael Micro R820T tuner Found device 0 default_input = True default_output = True device_id = 0 driver = audio label = Default Device

Found device 1 default_input = False default_output = False device_id = 2 driver = audio label = Microphone (USB Audio Device)

Found device 2 default_input = False default_output = False device_id = 3 driver = audio label = Microphone (2- High Definition Audio Device)

Found device 3 available = Yes driver = rtlsdr label = Generic RTL2832U OEM :: 00000001 manufacturer = Realtek product = RTL2838UHIDIR rtl = 0 serial = 00000001 tuner = Rafael Micro R820T

CarneyResearch commented 3 years ago

Jim (WB8VSU),

I should have mention that I also tried the suggested version of POTHOS mentioned in previous postings: No dice. Didn't work.

CarneyResearch commented 3 years ago

Hallo XMIKOS (Michal), Are you monitoring this chat site?

CarneyResearch commented 3 years ago

Xmikos & Jim (WB8VSU)

My coding days are long gone (1970's) so I have to deal with the logic of this....if the code and/or links are in error, as has been speculated in these threads, how can anyone be running QSA?

wb8vsu commented 3 years ago

The question is am I correct that it's the simple soapy library change that impacted the application? I had looked into it a little and there was a previous Simple Soapy change he had tweaked the app for, but I could tell what actually changed.

If I am then the following would work.

There is an ability to select an external driver. Someone who knows Python could create a Python script to fix the issue for Linux and Windows.

On Nov 9, 2020, 10:07 PM, at 10:07 PM, CarneyResearch notifications@github.com wrote:

Xmikos & Jim (WB8VSU)

My coding days are long gone (1970's) so I have to deal with the logic of this....if the code and/or links are in error, as has been speculated in these threads, how can anyone be running QSA?

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/xmikos/qspectrumanalyzer/issues/33#issuecomment-724419953

CarneyResearch commented 3 years ago

Looking forward to a brilliant/genius/knowledgeable python coder creating this. I’ll test immediately with my current RTL-SDR.

P.S. If QSA works, I’ll replace my RTL-SDR with a hackRF One, to view the whole 1-6Ghz spectrum in a single window , and get rolling research of an ancient artifact.

CarneyResearch commented 3 years ago

Not that it should matter here, but note that ‘Carney Research’ is NOT a business but my hobby. I am retired now and using my engineering experience and curiosity to seek answers to questions I never had time to investigate when I was a working stiff.