You may need to add this repo to get it to build correctly, i found i had to for 15.04 to work otherwise every time i added or link OsmoCom source GRC crashed with a seg fault. After removing bladeRF and Osmosdr, adding repo, doing sudo apt-get update and then installing bladeRF and osmosdr via pybombs the hackRF is working in GRC.

sudo add-apt-repository ppa:bladerf/bladerf


On 29/03/16 14:21, Trek Liu wrote:
I suspected this could be the problem as I didnot use pybombs in the first place, I will try this one,
Thanks.


------------------ Original ------------------
*From: * "hackrf-dev";<[email protected]>;
*Date: * Tue, Mar 29, 2016 10:50 AM
*To: * "hackrf-dev"<[email protected]>;
*Subject: * Re: [Hackrf-dev] cannot talk to more than one hackrf one withUbuntu14.04

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@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@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";<[email protected]>;
Date:  Tue, Mar 29, 2016 05:29 AM
To:  "hackrf-dev"<[email protected]>;

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@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@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@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@rock-machine:~$



------------------ Original ------------------
*From: * "Alexandru Csete";<[email protected]>;
*Date: * Mon, Mar 28, 2016 09:08 PM
*To: * "Trek Liu"<[email protected]>;
*Cc: * "hackrf-dev"<[email protected]>;
*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<[email protected]>  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
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev


_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev



_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

Reply via email to