greatscottgadgets / ubertooth

Software, firmware, and hardware designs for Ubertooth
https://greatscottgadgets.com/ubertoothone/
GNU General Public License v2.0
1.92k stars 430 forks source link

connection locks when issuing ubertooth-btbr #445

Closed vigoron closed 3 years ago

vigoron commented 3 years ago

Steps to reproduce

  1. Attach ubertooth
  2. issues command ubertooth-btbr

Expected behaviour

the menu prompt to appear

Actual behaviour

Programm freezes after issuing the bt.send_set_eir_cmd(eir.pack()) command

Version information

Operating system:

Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux

Ubertooth tools version (ubertooth-rx -V): libubertooth 1.1 (2020-12-R1)

libbtbb version: libbtbb 1.0 (git-9f101b8)

Ubertooth firmware version (ubertooth-util -v): Firmware version: 2020-12-R1 (API:1.07)

Output

:~/ubertooth/testing $ ubertooth-btbr
09:50:11 | INFO | Rx thread started
09:50:11 | INFO | USB connected
09:50:11 | INFO | Send idle
09:50:12 | DEBUG | Set eir BBHdr(lt_addr=0, type=DM1, flags=), acl: ACL(llid=L2CAP_START, flow=1, len=11): 0a 09 55 62 65 72 74 6f 6f 74 68
<freezes here>
------
dmesg
[324374.860397] usb 1-1.4: new full-speed USB device number 27 using dwc_otg
[324374.993931] usb 1-1.4: New USB device found, idVendor=1d50, idProduct=6002, bcdDevice= 1.07
[324374.993954] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[324374.993970] usb 1-1.4: Product: Ubertooth One
[324374.993986] usb 1-1.4: Manufacturer: Great Scott Gadgets
[324374.994001] usb 1-1.4: SerialNumber: 0ad00005412049af46d64e5dc02000f5
vigoron commented 3 years ago

as i'm an utter idiot i thought the new functionality was part of the ubertooth base firmware.

compiling the btbr firmware and flashing it did the trick.

sorry if anyone invested time in this non issue.