Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control message unsupported error: -9 #501

Open
chuzairps opened this issue Jul 24, 2022 · 8 comments
Open

control message unsupported error: -9 #501

chuzairps opened this issue Jul 24, 2022 · 8 comments
Labels
technical support request for technical support

Comments

@chuzairps
Copy link

chuzairps commented Jul 24, 2022

Hi there,
I am new on the linux operating system. I need help to run ubertooth one. Please help me....
I am following the guide : https://jamesachambers.com/ubertooth-one-kali-linux-latest-tools-firmware-setup-guide/

Steps to reproduce

  1. Operating system I'm using : uname -a
    Linux KKL 5.18.0-kali5-amd64 query: BLE support / node.js support #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1kali5 (2022-07-04) x86_64 GNU/Linux

  2. Installation location: # ls -l /
    total 1140
    -rw-r--r-- 1 root root 0 Jul 17 16:15 0
    lrwxrwxrwx 1 root root 7 Jul 17 15:04 bin -> usr/bin
    drwxr-xr-x 4 root root 4096 Jul 17 16:18 boot
    drwxr-xr-x 18 root root 3360 Jul 24 02:51 dev
    drwxr-xr-x 165 root root 12288 Jul 24 02:51 etc
    drwxr-xr-x 3 root root 4096 Jul 17 15:20 home
    lrwxrwxrwx 1 root root 34 Jul 17 16:16 initrd.img -> boot/initrd.img-5.18.0-kali5-amd64
    lrwxrwxrwx 1 root root 34 Jul 17 15:04 initrd.img.old -> boot/initrd.img-5.16.0-kali7-amd64
    drwxr-xr-x 44 root root 12288 Jul 17 19:28 kismet
    lrwxrwxrwx 1 root root 7 Jul 17 15:04 lib -> usr/lib
    lrwxrwxrwx 1 root root 9 Jul 17 15:04 lib32 -> usr/lib32
    lrwxrwxrwx 1 root root 9 Jul 17 15:04 lib64 -> usr/lib64
    drwxrwxr-x 10 root root 4096 Jul 17 19:34 libbtbb-2020-12-R1
    -rw-r--r-- 1 root root 308434 Jul 17 19:27 libbtbb-2020-12-R1.tar.gz
    lrwxrwxrwx 1 root root 10 Jul 17 15:04 libx32 -> usr/libx32
    drwx------ 2 root root 16384 Jul 17 15:03 lost+found
    drwxr-xr-x 3 root root 4096 Jul 17 15:04 media
    drwxr-xr-x 2 root root 4096 Jul 17 15:04 mnt
    drwxr-xr-x 3 root root 4096 Jul 17 15:13 opt
    dr-xr-xr-x 289 root root 0 Jul 23 19:51 proc
    drwx------ 3 root root 4096 Jul 24 03:36 root
    drwxr-xr-x 32 root root 780 Jul 24 02:51 run
    lrwxrwxrwx 1 root root 8 Jul 17 15:04 sbin -> usr/sbin
    drwxr-xr-x 3 root root 4096 Jul 17 15:13 srv
    dr-xr-xr-x 13 root root 0 Jul 23 19:51 sys
    drwxrwxrwt 18 root root 4096 Jul 24 03:39 tmp
    drwxr-xr-x 6 uzi uzi 4096 Dec 25 2020 ubertooth-2020-12-R1
    -rw-r--r-- 1 root root 763952 Dec 8 2021 ubertooth-2020-12-R1.tar.xz
    drwxr-xr-x 16 root root 4096 Jul 17 16:10 usr
    drwxr-xr-x 12 root root 4096 Jul 17 15:06 var
    lrwxrwxrwx 1 root root 31 Jul 17 16:16 vmlinuz -> boot/vmlinuz-5.18.0-kali5-amd64
    lrwxrwxrwx 1 root root 31 Jul 17 15:04 vmlinuz.old -> boot/vmlinuz-5.16.0-kali7-amd64

  3. Firmware updating path where installation made: root㉿KKL)-[/ubertooth-2020-12-R1/ubertooth-one-firmware-bin]

  4. Error I'm getting while updating the firmware:
    control message unsupported
    control message unsupported
    ^Z
    zsh: suspended ubertooth-dfu -d bluetooth_rxtx.dfu -r

  5. ubertooth-one LED's status:
    image

Expected behaviour:

ubertooth-specan-ui: It should be running, but it's not. Having error messages:

Actual behaviour:

Version information:

Linux KKL 5.18.0-kali5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1kali5 (2022-07-04) x86_64 GNU/Linux

Ubertooth tools version (ubertooth-rx -V):
libubertooth 1.1 (2020-12-R1), libbtbb 1.0 (2018-06-R1)

libbtbb version:
libbtbb 1.0 (2018-06-R1)

Ubertooth firmware version (ubertooth-util -v):

ubertooth-util -v

usb_claim_interface error -6
ubertooth-util - command line utility for Ubertooth Zero and Ubertooth One

If you are reporting a problem that involves third party software
(Wireshark/Kismet/etc), please report the version here.

Output

# ubertooth-specan-ui
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Could not open Ubertooth device
Failed to run:  ubertooth-specan -d - -l 2400 -u 2483 -U -1
^X^Z
zsh: suspended  ubertooth-specan-ui

Other Details:

**-------------------------------------------------------------------------------------------

image


dmesg | grep ubertooth

[ 1072.731557] usb 2-1: Product: ubertooth assembly_test
[ 1072.731559] usb 2-1: Manufacturer: http://ubertooth.sourceforge.net/****

#lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 04f2:b39a Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 003: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 002 Device 002: ID 138a:0017 Validity Sensors, Inc. VFS 5011 fingerprint sensor
Bus 002 Device 005: ID ffff:0004 http://ubertooth.sourceforge.net/ ubertooth assembly_test
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ubertooth-dfu -d bluetooth_rxtx.dfu -r

usb_claim_interface error -6
Correct permissions to access Ubertooth?

@chuzairps
Copy link
Author

ubertooth-dump | dd

usb_claim_interface error -6
ubertooth-dump - output a continuous stream of received bits
Usage:
-h this help
-b only dump received bitstream (GnuRadio style)
-c classic modulation
-l LE modulation
-U<0-7> set ubertooth device to use
-d filename

This program sends binary data to stdout. You probably don't want to
run it from a terminal without redirecting the output.
0+1 records in
0+1 records out
349 bytes copied, 0.00365931 s, 95.4 kB/s

@chuzairps
Copy link
Author

chuzairps commented Jul 24, 2022

─# ubertooth-dfu -r
usb_claim_interface error -6
Correct permissions to access Ubertooth?

image

@straithe straithe added the technical support request for technical support label Jul 25, 2022
@willcode
Copy link
Contributor

Likely permission error. Does the output of id include plugdev?

@chuzairps
Copy link
Author

chuzairps commented Jul 26, 2022

plugdev

Thanks @willcode for your reply. I have added already. stats being shared.

$ sudo adduser root plugdev
The user root' is already a member of plugdev'.


┌──(uzi㉿KKL)-[/]
└─$ sudo adduser uzi plugdev
The user uzi' is already a member of plugdev'.

┌──(uzi㉿KKL)-[/]
└─$ sudo adduser $LOGNAME plugdev
The user uzi' is already a member of plugdev'.

─(root㉿KKL)-[/]
└─# less /etc/group | grep plugdev
plugdev:x:46:uzi,root


─(root㉿KKL)-[/libbtbb-2020-12-R1]
└─# id -Gn uzi root
uzi adm dialout cdrom floppy sudo audio dip video plugdev netdev wireshark bluetooth scanner kaboxer
root plugdev

@chuzairps
Copy link
Author

chuzairps commented Jul 26, 2022

@willcode @straithe : Thanks for helping.
After changing the id and group from root to uzi for libbtbb-2020-12-R1 it is stopped giving error of usb_claim_Interface error:6
rwxrwxr-x 10 uzi uzi 4096 Jul 17 19:34 libbtbb-2020-12-R1
But, still I am unable to upgrade firmware.

ubertooth-dfu -d bluetooth_rxtx.dfu -r

Checking firmware signature
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported
control message unsupported

ubertooth-rx

Ubertooth API version 1.00 found, libubertooth 1.1 requires 1.07.
Please upgrade to latest released firmware.
See: https://github.com/greatscottgadgets/ubertooth/wiki/Firmware

@chuzairps
Copy link
Author

─# ubertooth-util -vV
Firmware version: 2018-12-R1 (API:1.00)
control message unsupported
error: -9

@chuzairps
Copy link
Author

Hi, there. Thanks for great community and help.
One more issue I'm observing auto detection of ubertooth one. Each time when i connect it does not detect automatically. I run command hcitool inq then its lights flash up. Does it be the issue not going into the DFU mode?

@straithe
Copy link
Member

I don't understand your question. Can you please rephrase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical support request for technical support
Projects
None yet
Development

No branches or pull requests

3 participants