[Hackrf-dev] No way to get USB to talk to the board and flash the device

Cinaed Simson cinaed.simson at gmail.com
Mon May 8 13:47:19 EDT 2017


On 05/08/2017 07:18 AM, colin glass via HackRF-dev wrote:
> Are there any other means of flashing the rom other than via the USB
> Fernando?
> Permissions problems come from what source Fernando?

Most likely the OS.

Look in

  /etc/udev/rules.d

and see if there's a file

  53-hackrf.rules

If not, then copy the enclosed file into

  /etc/udev/rules.d

and reboot.

You will need to be working as root.

Alternatively, try it to query it with

  hackrf_info

as root - it should work.

I would recommend NOT working as root - it's too dangerous.

Use the root account only to test to see if the device is there.


-- Cinaed


> 
> I have circled like a bird of prey around the FAQ's each resulting in no
> connection.
> Many thanks
> Colin
> 
> ------------------------------------------------------------------------
> *From:* Fernando <fernando at samara.com.es>
> *To:* colin glass <cgabcd1234 at yahoo.co.uk>;
> "hackrf-dev at greatscottgadgets.com" <hackrf-dev at greatscottgadgets.com>
> *Sent:* Monday, 8 May 2017, 15:03
> *Subject:* Re: [Hackrf-dev] No way to get USB to talk to the board and
> flash the device
> 
> a error of hackrf_info may be because permission problems.
> If the device does not show on syslog the problem will be worse.
> If your device is show as recognized in syslog, try this
> https://github.com/mossmann/hackrf/wiki/FAQ
> 
> regards
> 
> 
> On 08/05/17 14:36, colin glass wrote:
>> Thanks Fernando
>> I tend to get this ...
>> hackrf_open() failed: HACKRF_ERROR_NOT_FOUND (-5)
>> ubuntu at ubuntu:~/Downloads/hackrf-2017.02.1/firmware-bin$
>> <mailto:ubuntu at ubuntu:%7E/Downloads/hackrf-2017.02.1/firmware-bin$>
>> hackrf_info
>> No HackRF boards found.
>>
>> but let me try your script
>> Colin
>>
>> ------------------------------------------------------------------------
>> *From:* Fernando <fernando at samara.com.es> <mailto:fernando at samara.com.es>
>> *To:* colin glass <cgabcd1234 at yahoo.co.uk>
>> <mailto:cgabcd1234 at yahoo.co.uk>; "hackrf-dev at greatscottgadgets.com"
>> <mailto:hackrf-dev at greatscottgadgets.com>
>> <hackrf-dev at greatscottgadgets.com>
>> <mailto:hackrf-dev at greatscottgadgets.com>
>> *Sent:* Monday, 8 May 2017, 0:20
>> *Subject:* Re: [Hackrf-dev] No way to get USB to talk to the board and
>> flash the device
>>
>> if you open a terminal and type
>>
>> sudo tail -f /var/log/syslog
>>
>>
>> and then you plug in your hackrf
>>
>> you should get something like this
>>
>>
>> May  3 00:34:08 FPGAwars kernel: [202113.781179] usb 3-1: new
>> high-speed USB device number 11 using xhci_hcd
>> May  3 00:34:08 FPGAwars kernel: [202114.102805] usb 3-1: New USB
>> device found, idVendor=1d50, idProduct=6089
>> May  3 00:34:08 FPGAwars kernel: [202114.102810] usb 3-1: New USB
>> device strings: Mfr=1, Product=2, SerialNumber=4
>> May  3 00:34:08 FPGAwars kernel: [202114.102812] usb 3-1: Product:
>> HackRF One
>> May  3 00:34:08 FPGAwars kernel: [202114.102813] usb 3-1:
>> Manufacturer: Great Scott Gadgets
>> May  3 00:34:08 FPGAwars kernel: [202114.102815] usb 3-1:
>> SerialNumber: 000000000000000071c469c825671743
>> May  3 00:34:12 FPGAwars mtp-probe: checking bus 3, device 11:
>> "/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-1"
>> May  3 00:34:12 FPGAwars mtp-probe: bus: 3, device: 11 was not an MTP
>> device
>>
>>
>> regards
>>
>>
>>
>>
>>
>>
>> On 08/05/17 00:15, colin glass wrote:
>>> gnuradio bootable from a memory stick....
>>> I have tried to access it via W10 and Zaddig too ...
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>> *From:* Fernando <fernando at samara.com.es> <mailto:fernando at samara.com.es>
>>> *To:* hackrf-dev at greatscottgadgets.com
>>> <mailto:hackrf-dev at greatscottgadgets.com>
>>> *Sent:* Sunday, 7 May 2017, 22:38
>>> *Subject:* Re: [Hackrf-dev] No way to get USB to talk to the board
>>> and flash the device
>>>
>>> What operating system are you using?
>>>
>>>
>>> On 07/05/17 22:49, colin glass via HackRF-dev wrote:
>>>> So I have had my hackers for 3 months and it sat in a box.
>>>> I plugged it into my laptop and tried a variety of ways to talk 
>>>> to hit via USB including a powered USB. 
>>>>
>>>> However, I am worried I simply have a brick as I cannot flash the device
>>>> and therefore cannot access and use all its wonderful features!
>>>>
>>>> Any help/thoughts/advice?
>>>>
>>>> thanks so much
>>>> 73's M0HYH Colin
>>>>
>>>>
>>>> _______________________________________________
>>>> HackRF-dev mailing list
>>>> HackRF-dev at greatscottgadgets.com
>>>> <mailto:HackRF-dev at greatscottgadgets.com>
>>>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>>
>>> _______________________________________________
>>> HackRF-dev mailing list
>>> HackRF-dev at greatscottgadgets.com
>>> <mailto: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 --------------
# HackRF Jawbreaker
ATTR{idVendor}=="1d50", ATTR{idProduct}=="604b", SYMLINK+="hackrf-jawbreaker-%k", MODE="660", GROUP="plugdev"
# HackRF One
ATTR{idVendor}=="1d50", ATTR{idProduct}=="6089", SYMLINK+="hackrf-one-%k", MODE="660", GROUP="plugdev"
# rad1o
ATTR{idVendor}=="1d50", ATTR{idProduct}=="cc15", SYMLINK+="rad1o-%k", MODE="660", GROUP="plugdev"
# NXP Semiconductors DFU mode (HackRF and rad1o)
ATTR{idVendor}=="1fc9", ATTR{idProduct}=="000c", SYMLINK+="nxp-dfu-%k", MODE="660", GROUP="plugdev"
# rad1o "full flash" mode
KERNEL=="sd?", SUBSYSTEM=="block", ENV{ID_VENDOR_ID}=="1fc9", ENV{ID_MODEL_ID}=="0042", SYMLINK+="rad1o-flash-%k", MODE="660", GROUP="plugdev"
# rad1o flash disk
KERNEL=="sd?", SUBSYSTEM=="block", ENV{ID_VENDOR_ID}=="1fc9", ENV{ID_MODEL_ID}=="0082", SYMLINK+="rad1o-msc-%k", MODE="660", GROUP="plugdev"
#


More information about the HackRF-dev mailing list