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

Cam camski at internode.on.net
Wed Mar 30 23:35:49 EDT 2016


Here is how I fixed my Ubuntu (15.04) Pip issue, this may help you also.
 
https://github.com/gnuradio/pybombs/issues/281
 
The commands were from memory so you may not need to use each one.
 
Cam
 
From: HackRF-dev [mailto:hackrf-dev-bounces at greatscottgadgets.com] On Behalf
Of Trek Liu
Sent: 29 March 2016 21:57
To: hackrf-dev; hackrf-dev
Subject: Re: [Hackrf-dev] cannot talk to more than one hackrf
onewithUbuntu14.04
 
Thanks for the reply, 
either way with sudo or not, I got this error, 
 
rock at rock-machine:~$ pybombs -p rockprefix install gnuradio gr-osmosdr
PyBombs.Packager.pip - ERROR - Could not run pip list. Hm.
PyBombs.Packager.pip - ERROR - Command '['pip', 'list']' returned non-zero
exit status 2
 
 
and if I run pip list,  I got this (error in the end)
 
rock at rock-machine:~$ pip list
adium-theme-ubuntu (0.3.4)
alabaster (0.7.7)
apt-xapian-index (0.45)
argparse (1.2.1)
Babel (2.2.0)
chardet (2.0.1)
Cheetah (2.4.4)
colorama (0.2.5)
command-not-found (0.3)
debtagshw (0.1)
decorator (3.4.0)
defer (1.0.6)
dirspec (13.10)
docutils (0.12)
duplicity (0.6.23)
html5lib (0.999)
httplib2 (0.8)
imagesize (0.7.0)
Jinja2 (2.8)
lockfile (0.8)
lxml (3.3.3)
MarkupSafe (0.23)
matplotlib (1.3.1)
nose (1.3.7)
numpy (1.8.2)
oauthlib (0.6.1)
oneconf (0.3.7.14.4.1)
PAM (0.4.2)
pexpect (3.1)
Pillow (2.3.0)
pip (1.5.4)
piston-mini-client (0.7.5)
plex (2.0.0.dev0)
PyBOMBS (2.0.1)
pycrypto (2.6.1)
pycups (1.9.66)
Pygments (2.1.3)
pygobject (3.12.0)
PyOpenGL (3.0.2)
pyOpenSSL (0.13)
pyparsing (2.0.1)
pyserial (2.6)
pysmbc (1.0.14.1)
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in
main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in
run
    self.run_listing(options)
  File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in
run_listing
    self.output_package_listing(installed_packages)
  File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in
output_package_listing
    if dist_is_editable(dist):
  File "/usr/lib/python2.7/dist-packages/pip/util.py", line 366, in
dist_is_editable
    req = FrozenRequirement.from_dist(dist, [])
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 286, in
from_dist
    assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
 
Storing debug log for failure in /home/rock/.pip/pip.log
 
 
 
 
------------------ Original ------------------
From:  "hackrf-dev";<martin_z_smith at yahoo.ie>;
Date:  Tue, Mar 29, 2016 06:52 PM
To:  "Trek Liu"<trek830 at qq.com>;
"hackrf-dev"<hackrf-dev at greatscottgadgets.com>; 
Subject:  Re: [Hackrf-dev] cannot talk to more than one hackrf
onewithUbuntu14.04
 
Why run pybombs as root it will ask for sudo when it needs access, other
than that it will install everything in your home area I think the
default used to be target.

On 29/03/2016 10:19, Trek Liu wrote:
> Hi, I uninstalled gnuradio and gr-osmosdr and tried using pybombs to
reinstall again. However, I got stuck herewhen I do step four on
https://github.com/gnuradio/pybombs/, pybombs [-p myprefix] install gnuradio
gr-osmosdrI got these errors, rock at rock-machine:~$ sudo pybombs -p
rockprefix install gnuradio gr-osmosdr PyBombs.Packager.pip - ERROR - Could
not run pip list. Hm. PyBombs.Packager.pip - ERROR - Command '['pip',
'list']' returned non-zero exit status 2 I did a google search and found
some similar complaints from other people, is this bug resolved or not?
should I revert back toan earlier versin of pybombs? thanks. 
>
>
>
>
>
> ------------------ Original ------------------
> From:  "hackrf-dev";<hackrf-dev at greatscottgadgets.com>;
> Date:  Tue, Mar 29, 2016 10:50 AM
> To:  "hackrf-dev"<hackrf-dev at greatscottgadgets.com>; 
>
> 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20160331/c2997b79/attachment.html>


More information about the HackRF-dev mailing list