[Hackrf-dev] cannot talk to more than one hackrf one withUbuntu14.04

Trek Liu trek830 at qq.com
Mon Mar 28 23:20:35 EDT 2016


yes, I did update the CPLD, one by one with the other two powered off. 


I noticed something really strange, 
hackrf_transfer can identify the three devices with the -d option, however it is not identifying individual device whenever I run osmocom_fft with -a option or run gnuradio-companion, below is a screen capture with gnuradio-companion. 






Generating: "/home/rock/Documents/sdr/grc/angle_of_arrival/top_block.py"


Generating: "/home/rock/Documents/sdr/grc/angle_of_arrival/top_block.py"


Executing: "/home/rock/Documents/sdr/grc/angle_of_arrival/top_block.py"


linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown




(python2:4209): IBUS-WARNING **: The owner of /home/rock/.config/ibus/bus is not root!
Using Volk machine: avx_64_mmx_orc
gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace 
Using HackRF One with firmware 2015.07.2 
gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace 


FATAL: Failed to open HackRF device (-1000) HACKRF_ERROR_LIBUSB


Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.







------------------ Original ------------------
From:  "Adam Blanquart";<ablanquart at gmail.com>;
Date:  Tue, Mar 29, 2016 10:59 AM
To:  "hackrf-dev"<hackrf-dev at greatscottgadgets.com>; 

Subject:  Re: [Hackrf-dev] cannot talk to more than one hackrf one withUbuntu14.04



Gonna ask Cinead's question again because I don't believe you answered it...  have you updated the CPLD on each device?

- adam


On Mon, Mar 28, 2016 at 7:50 PM, Martin Smith via HackRF-dev <hackrf-dev at greatscottgadgets.com> wrote:
                   Use pybombs ( http://pybombs.info/ ) to install the latest gnuradio,     gr-osmosdr and everything that it needs. The packages in most Linux     distributions are not the latest and greatest normally, there are     exceptions like pentoo.
     
     On 29/03/2016 02:43, Trek Liu wrote:
     
            Thanks, but both libhackrf and gr-osmosdr are up to date, I am running out of ideas.  rock at rock-machine:~$ sudo apt-get install libhackrf-dev Reading package lists... Done Building dependency tree        Reading state information... Done libhackrf-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. rock at rock-machine:~$ sudo apt-get install gr-osmosdr Reading package lists... Done Building dependency tree        Reading state information... Done gr-osmosdr is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ------------------ Original ------------------ From:  "Cinaed Simson";<cinaed.simson at gmail.com>; Date:  Tue, Mar 29, 2016 05:29 AM To:  "hackrf-dev"<hackrf-dev at greatscottgadgets.com>;  Subject:  Re: [Hackrf-dev] cannot talk to more than one hackrf one withUbuntu 14.04 See if you can upgrade gr-osmosdr:    apt-get install gr-osmosdr When you start grc, it should print out the serial numbers of all the HackRF devices it finds - and indicate if it's a match or it's skipping it based on the serial number you provided. Note, I'm assuming you upgraded libhackrf when you upgraded the firmware and the cpld. -- Cinaed On 03/28/2016 06:12 AM, Trek Liu wrote:                 nope, tried already and does not work, again the same rx led lit from the same device regardless of the -a options on the command line as below,  rock at rock-machine:~$ osmocom_fft -a hackrf=2f58b5e1 linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1 built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace  Using HackRF One with firmware 2015.07.2  Using Volk machine: avx_64_mmx_orc rock at rock-machine:~$ osmocom_fft -a hackrf=2f5e8ee1 linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1 built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace  Using HackRF One with firmware 2015.07.2  Using Volk machine: avx_64_mmx_orc Orock at rock-machine:~$ osmocom_fft -a hackrf=377f1125 linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1 built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace  Using HackRF One with firmware 2015.07.2  Using Volk machine: avx_64_mmx_orc rock at rock-machine:~$  ------------------ Original ------------------ *From: * "Alexandru Csete";<oz9aec at gmail.com>; *Date: * Mon, Mar 28, 2016 09:08 PM *To: * "Trek Liu"<trek830 at qq.com>; *Cc: * "hackrf-dev"<hackrf-dev at greatscottgadgets.com>; *Subject: * Re: [Hackrf-dev] cannot talk to more than one hackrf one with Ubuntu 14.04 On Mon, Mar 28, 2016 at 2:50 PM, Trek Liu <trek830 at qq.com> wrote:                     I am running ubuntu 14.04, with three HackRF one devices connected to the system. All three were with the 2015.07.2 firmware and the CPLD programs were also updated individually. HackRF_info can identify all three devices (see below), however when I run osmocom_fft with -a hackrf=0/1/2 options, the same HackRF device is always selected for streaming instead of the specified ones by -a                   hackrf=options (I                     can see the RX led lit from the same device every time). Same thing is observed with Gnuradio-companion. could anyone give a clue?                   Accroding to the gr-osmosdr wiki page, one can use the serial number instead of the device index: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR#HackRFSourceSink Maybe that works better. Alex _______________________________________________ HackRF-dev mailing list HackRF-dev at greatscottgadgets.com https://pairlist9.pair.net/mailman/listinfo/hackrf-dev               _______________________________________________ HackRF-dev mailing list HackRF-dev at greatscottgadgets.com https://pairlist9.pair.net/mailman/listinfo/hackrf-dev       
              
       _______________________________________________ HackRF-dev mailing list HackRF-dev at greatscottgadgets.com https://pairlist9.pair.net/mailman/listinfo/hackrf-dev           
   


 
_______________________________________________
 HackRF-dev mailing list
 HackRF-dev at greatscottgadgets.com
 https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
 





-- 
ADAM BLANQUART | ablanquart at gmail.com |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20160329/37d363d8/attachment.html>


More information about the HackRF-dev mailing list