[Hackrf-dev] cannot talk to more than one hackrf one withUbuntu14.04
Dominic Spill
dominicgs at gmail.com
Tue Mar 29 08:34:07 EDT 2016
On 29 March 2016 at 11:52, Trek Liu <trek830 at qq.com> wrote:
> rock at rock-machine:~$ pip list
...
> 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
Well that's an interesting error. I have no idea what's causing it.
> Storing debug log for failure in /home/rock/.pip/pip.log
It may be worth looking at this log file to see if there is any more
information about the package that is causing this problem.
Thanks,
Dominic
>
> ------------------ Original ------------------
> From: "Dominic Spill";<dominicgs at gmail.com>;
> Date: Tue, Mar 29, 2016 06:48 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
> withUbuntu14.04
>
> On 29 March 2016 at 10:19, Trek Liu <trek830 at qq.com> wrote:
>>
>> 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
>
> Does the command 'pip' exist on your system? What happens if you try
> to run 'pip list'?
>
> Thanks,
> Dominic
>
>> ------------------ 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
>>
>>
>>
>> _______________________________________________
>> HackRF-dev mailing list
>> HackRF-dev at greatscottgadgets.com
>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>
More information about the HackRF-dev
mailing list