unsynchronized / gr-mixalot

POCSAG, FLEX, and GSC encoder blocks for GNU Radio
GNU General Public License v3.0
138 stars 39 forks source link

HACKRF_ERROR_NOT_FOUND #8

Open 0x00-0xFF opened 9 years ago

0x00-0xFF commented 9 years ago

Hi,

I've been able to run the module on ubuntu. But after installing it on OSX it reports the following: FATAL: Failed to open HackRF device (-5) HACKRF_ERROR_NOT_FOUND

Every other gnuradio module works fine with the hackrf. Any clue where to look for?

unsynchronized commented 9 years ago

Hmm, interesting; do you have more of a log?

Just to be sure: you're able to run "hackrf_info" and other tools and communicate with your hackrf, correct?

0x00-0xFF commented 9 years ago

This is the complete output after running the grc: Mac OS; Clang version 6.1.0 (clang-602.0.53); Boost_105800; UHD_003.008.004-MacPorts-Release

Using Volk machine: avx_64_mmx_orc gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.7.1 built-in sink types: uhd hackrf bladerf Number of USB devices: 4 USB device 1d50:6089: FATAL: Failed to open HackRF device (-5) HACKRF_ERROR_NOT_FOUND

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

Press Enter to quit:

unsynchronized commented 9 years ago

What happens when you run "hackrf_info"?

0x00-0xFF commented 9 years ago

The normal hackrf output (I'm not behind my terminal right now)

Op 12 jul. 2015 om 22:01 heeft unsynchronized notifications@github.com het volgende geschreven:

What happens when you run "hackrf_info"?

— Reply to this email directly or view it on GitHub.

unsynchronized commented 9 years ago

Hmm, so it shows you info on the connected hackrf (version, etc.)?

The reason I'm asking is that's essentially a connectivity error from libusb (https://github.com/mossmann/hackrf/blob/master/host/libhackrf/src/hackrf.c), which might suggest an unconnected device or a permissions error.. I've accidentally tripped this when connecting/disconnecting SDRs from virtual machines and the like.

Are you able to run gr-osmosdr sources/sinks with the hackrf in other capacities?

0x00-0xFF commented 9 years ago

I am able to run other gnuradio and osmocom modules. Here the complete output of pocsagtx_hackrf.py & hackrf_info

~ python pocsagtx_hackrf.py Mac OS; Clang version 6.1.0 (clang-602.0.53); Boost_105800; UHD_003.008.004-MacPorts-Release

Using Volk machine: avx_64_mmx_orc gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.7.1 built-in sink types: uhd hackrf bladerf Number of USB devices: 4 USB device 1d50:6089: FATAL: Failed to open HackRF device (-5) HACKRF_ERROR_NOT_FOUND

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

Press Enter to quit: ~ hackrf_info Found HackRF board 0: Board ID Number: 2 (HackRF One) Firmware Version: 2014.08.1 Part ID Number: 0xa000cb3c 0x0057474f Serial Number: 0x00000000 0x00000000 0x457863c8 0x2519691f

twister5800 commented 8 years ago

I am also seeing this issue, do anyone has the solution?

sigmounte commented 8 years ago

Same problem here ;(

f4hbw commented 8 years ago

In the last block you've : hackrf=0, simply remove "=0". Hope it'll work for you.

Kévin.

ank9 commented 6 years ago

hi can anyone tell me how to get grgsm working on Hackrf