[Hackrf-dev] And I can't make work 2 hackrf boards in GRC

Jared Boone jared at sharebrained.com
Wed Mar 2 23:41:48 EST 2016


This part says to me that the goofy Linux kernel SDR module is getting loaded and preventing the HackRF tools from communicating directly via USB. Have a look at the second half of the first answer here:

	https://github.com/mossmann/hackrf/wiki/FAQ <https://github.com/mossmann/hackrf/wiki/FAQ>

It is strange though that they work one at a time -- it suggests I'm wrong about this. But I wonder if the HackRF tools or gr-osmocom is doing kernel module unloading and that is somehow not liking two devices present at once?

	- Jared

> On Mar 2, 2016, at 19:30, Adam Blanquart <ablanquart at gmail.com> wrote:
> 
> 
> On 03/03/2016 01:45, Leandro Leoncini wrote:
>>   Hi, I can't make work 2 hackrf at the same time in GRC. Both devices work
>> well one at the time but not at the same time. When both are connected I
>> can see them in hackrf_info:
>> 
>> hackrf_info
>> Found HackRF board 0:
>> USB descriptor string: 0000000000000000321864c83940521d
>> Board ID Number: 2 (HackRF One)
>> Firmware Version: 2015.07.2
>> Part ID Number: 0xa000cb3c 0x00624735
>> Serial Number: 0x00000000 0x00000000 0x321864c8 0x3940521d
>> 
>> Found HackRF board 1:
>> USB descriptor string: 000000000000000014d463dc2f8e9ce1
>> Board ID Number: 2 (HackRF One)
>> Firmware Version: 2015.07.2
>> Part ID Number: 0xa000cb3c 0x0068475a
>> Serial Number: 0x00000000 0x00000000 0x14d463dc 0x2f8e9ce1
>> 
>> 
>>   But when I start using one of them in GRC this is what I get:
>> 
>> hackrf_info
>> Found HackRF board 0:
>> USB descriptor string: 0000000000000000321864c83940521d
>> hackrf_open() failed: HACKRF_ERROR_LIBUSB (-1000)
>> 
>> This is my dmesg
>> [ 9621.258506] usb 1-5: new high-speed USB device number 7 using xhci_hcd
>> [ 9621.387086] usb 1-5: New USB device found, idVendor=1d50, idProduct=6089
>> [ 9621.387094] usb 1-5: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=5
>> [ 9621.387098] usb 1-5: Product: HackRF One
>> [ 9621.387102] usb 1-5: Manufacturer: Great Scott Gadgets
>> [ 9621.387105] usb 1-5: SerialNumber: 0000000000000000321864c83940521d
>> [ 9621.388588] hackrf 1-5:1.0: Board ID: 02
>> [ 9621.388593] hackrf 1-5:1.0: Firmware version: 2015.07.2
>> [ 9621.388840] hackrf 1-5:1.0: Registered as swradio0
>> [ 9621.388846] hackrf 1-5:1.0: SDR API is still slightly experimental and
>> functionality changes may follow
>> [ 9623.280142] usb 1-6: new high-speed USB device number 8 using xhci_hcd
>> [ 9623.408597] usb 1-6: New USB device found, idVendor=1d50, idProduct=6089
>> [ 9623.408601] usb 1-6: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=5
>> [ 9623.408603] usb 1-6: Product: HackRF One
>> [ 9623.408605] usb 1-6: Manufacturer: Great Scott Gadgets
>> [ 9623.408607] usb 1-6: SerialNumber: 000000000000000014d463dc2f8e9ce1
>> [ 9623.410017] hackrf 1-6:1.0: Board ID: 02
>> [ 9623.410020] hackrf 1-6:1.0: Firmware version: 2015.07.2
>> [ 9623.410214] hackrf 1-6:1.0: Registered as swradio1
>> [ 9623.410217] hackrf 1-6:1.0: SDR API is still slightly experimental and
>> functionality changes may follow
>> 
>>   I'm on Linux Mint 17.3 with GRC 3.7.9.1 so any idea of what can be the
>> problem?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20160302/fea4eccc/attachment.html>


More information about the HackRF-dev mailing list