You are not logged in.

#1 2015-06-04 17:18:30

Cthulu201
Member
Registered: 2014-12-28
Posts: 18

HackRF

I'm trying to get my HackRF to work on another computer, but it isn't working. Any feed back is appreciative. Things I've tried:
1. Commenting the blacklist line for kernel support
2. New udev rules in /etc/udev/rules.d/ per the HackRF FAQ (rule 52), and renamed to be similar to Arch pkg usr/lib/udev/rules.d/53-hackrf.rules (rule 53)
3. Tried to update the firmware, but am getting errors on the final make.

#
# uname -a
#

Linux x-Cthulu201-m01 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64 GNU/Linux

#
# udevadm monitor -p
#
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1506.777293] add      /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb)
ACTION=add
BUSNUM=003
DEVNAME=/dev/bus/usb/003/016
DEVNUM=016
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-3
DEVTYPE=usb_device
MAJOR=189
MINOR=271
PRODUCT=1d50/6089/100
SEQNUM=2657
SUBSYSTEM=usb
TYPE=0/0/0

KERNEL[1506.778567] add      /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0
DEVTYPE=usb_interface
INTERFACE=255/255/255
MODALIAS=usb:v1D50p6089d0100dc00dsc00dp00icFFiscFFipFFin00
PRODUCT=1d50/6089/100
SEQNUM=2658
SUBSYSTEM=usb
TYPE=0/0/0

UDEV  [1506.805277] add      /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb)
ACTION=add
BUSNUM=003
DEVLINKS=/dev/hackrf-one-3-3
DEVNAME=/dev/bus/usb/003/016
DEVNUM=016
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-3
DEVTYPE=usb_device
ID_BUS=usb
ID_MM_DEVICE_IGNORE=1
ID_MODEL=HackRF_One
ID_MODEL_ENC=HackRF\x20One
ID_MODEL_ID=6089
ID_REVISION=0100
ID_SERIAL=Great_Scott_Gadgets_HackRF_One
ID_USB_INTERFACES=:ffffff:
ID_VENDOR=Great_Scott_Gadgets
ID_VENDOR_ENC=Great\x20Scott\x20Gadgets
ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
ID_VENDOR_ID=1d50
MAJOR=189
MINOR=271
PRODUCT=1d50/6089/100
SEQNUM=2657
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=6777314

UDEV  [1506.806768] add      /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0
DEVTYPE=usb_interface
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_3_1_0
ID_PATH=pci-0000:00:14.0-usb-0:3:1.0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_3_1_0
ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
INTERFACE=255/255/255
MODALIAS=usb:v1D50p6089d0100dc00dsc00dp00icFFiscFFipFFin00
PRODUCT=1d50/6089/100
SEQNUM=2658
SUBSYSTEM=usb
TAGS=:seat:uaccess:
TYPE=0/0/0
USEC_INITIALIZED=78590

#
# lsusb
#

...
Bus 003 Device 016: ID 1d50:6089 OpenMoko, Inc. 
...

#
# hackrf_info
#

hackrf_open() failed: HACKRF_ERROR_NOT_FOUND (-5)

#
# hackrf error
#

systemd-udevd[3194]: error opening USB device 'descriptors' file
kernel: usb 3-3: USB disconnect, device number 18
kernel: usb 3-3: new high-speed USB device number 19 using xhci_hcd
mtp-probe[3669]: checking bus 3, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3"
mtp-probe[3669]: bus: 3, device: 19 was not an MTP device

#
# make error
#

Linking C executable hackrf_usb.elf
[100%] Built target hackrf_usb.elf
Scanning dependencies of target hackrf_usb.bin
[100%] Built target hackrf_usb.bin
Scanning dependencies of target hackrf_usb.dfu
dfu-suffix (dfu-util) 0.8

Copyright 2011-2012 Stefan Schmidt, 2013-2014 Tormod Volden
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Usage: dfu-suffix [options] ...
  -h --help                     Print this help message
  -V --version                  Print the version number
  -c --check <file>             Check DFU suffix of <file>
  -a --add <file>               Add DFU suffix to <file>
  -D --delete <file>            Delete DFU suffix from <file>
  -p --pid <productID>          Add product ID into DFU suffix in <file>
  -v --vid <vendorID>           Add vendor ID into DFU suffix in <file>
  -d --did <deviceID>           Add device ID into DFU suffix in <file>
  -S --spec <specID>            Add DFU specification ID into DFU suffix in <file>
CMakeFiles/hackrf_usb.dfu.dir/build.make:49: recipe for target 'CMakeFiles/hackrf_usb.dfu' failed
make[2]: *** [CMakeFiles/hackrf_usb.dfu] Error 64
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/hackrf_usb.dfu.dir/all' failed
make[1]: *** [CMakeFiles/hackrf_usb.dfu.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2

“Never Explain Anything” - H.P. Lovecraft

GitHub:Pastebin

Offline

#2 2015-06-17 00:17:05

Liquen
Member
Registered: 2009-01-04
Posts: 40

Re: HackRF

Do you have the group called "plugdev"?

Offline

#3 2015-06-17 05:22:27

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,511

Re: HackRF

What does output of hackrf_info or lsusb give?

Last edited by nomorewindows (2015-06-17 05:23:03)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB