I notice that you are running SoapySDRUtil as root. Not sure why but you should also run pihpsdr as root then. Better yet, install the udev rule to /etc/udev/rules.d/ and run it as a regular user.
Also note the libusb warning, which may result in failure the next time something is trying to open the device. I have that problem with gqrx too.
Thanks for the tips - Iāll make that happen sometime this morning. Is the libusb issue something that will be persistent or is it fixable? Lemme know, and thanks again for the info, Alex -
Iām not sure, I would think either the liblimesuite or the SoapyLMS7 library does not close the device on exit. Maybe @joshblum can say more about it.
Alex - just tried running SoapySDRUtil --find as a regular user and the app whined about the libusb issue. So I tried it again two consecutive times as root and it worked fine - saw my Lime. I then launched pihpsdr as root and in the discovery mode - - no joy. Still canāt see my Lime.
Can you refresh my crumbling memory on the UDEV rules again - - I want to make that change.
Nor does sudo ldconfig ā¦
I have had that not be 100% ā¦ with installing cmake 3.8
reboot linked it in ā¦ what a pain, Linux is not supposed to be reboot dependent i thought ā¦
No OS is reboot independent, though the Unix derivatives are way better about it than MacOS or Win ever were.
You can usually avoid it by updating the paths (LD_LIBRARY and PATH) by hand as that is usually why the reboot. Most times just logging out and back in again or opening up another xterm and running it from there will cover it.
Ran the shell script for UDEV-RULES and rebooted the Piā¦Then launched pihpsdr but during the discovery phase itās only looking at Ethernet to discover devices - itās like it doesnāt know (or itās not configured) to look on the USB resources. I looked in the terminal window after it performed a discover and it just searches the ETH0 portā¦Doesnāt even touch USB for some reason - I have to think this is either a makefile selection or that the functionality isnāt mature yetā¦
Comments or suggestions will be greatly appreciatedā¦ ā¦Because I thought pihpsdr was setup for USB, tooā¦?
Pihpsdr is setup for USB if you enable limesdr support in the Makefile. I donāt know what else could be. As I wrote when I tried, I used a PC and didnāt really get any usable functionality out of it. Not worth spending too much time IMO.
Alex - Yeahā¦It was just going to be a perk for me since I have it working REAL well on the Red Pitays SDR. I wanted to see how the Lime differed from the Red Pitaya and also get real transmit capability from pihpsdr since there are few Amateur Radio apps that are operational now for transceiver operation - pihpsdr might have been the first out of the chute to provide that.
Guess Iāll hang tight until John (G0ORX) works on it some moreā¦
From the screenshot, it looks like there is an uncaught exception caused inside limesuite (UploadAll). The util doesnt cleanup the handle because it exits early. Iām concerned about the UploadAll faling. Thats just trying to sync the register cache to the chip. Thats like a usb link issue or something. I would see if some errors are showing up in dmesg.
But we are closing the handles under normal circumstances:
Nope - when you look at the pics I did on a Soapy Find all I get is one instance of the LimeSDR because I didnāt want to have the Red Pitaya fighting with the Lime - - doing an isolated checkout to see if Soapy works, then when it does Iāll add Red Pitaya in there to see how that goes for multiple radiosā¦But this definitely looks like a PiHPSDR application issue - - itās not discovering Lime on USB because (my theory) is that thereās only Ethernet discovery so farā¦Wish I had an Ethernet to USB adapter for the Limeā¦Iād actually try that to see if discovery works that wayā¦Stay tunedā¦
Do you think that if I uncommented the ODROID environment and compiled it, it may perform the discovery right? Itās worth a shotā¦Pi is arm-based, but there are probably system reasons in the lib files that may preclude it from working right. Lemme know what you thinkā¦
Sorry for the delay in getting back with you - - I expect to get onto compiling this on my RPi3 tomorrow nightā¦Right now Iām pretty busy with the laser engraver at the moment (engraving product at night).