homewsn / whsniff

Whsniff is a command line utility that interfaces TI CC2531 USB dongle with Wireshark for capturing and displaying IEEE 802.15.4 traffic at 2.4 GHz.
GNU General Public License v2.0
131 stars 33 forks source link

TI CC2531 USB CDC, but whsniff says "ERROR: No working device found." #23

Closed sanderjo closed 2 months ago

sanderjo commented 2 months ago

I have a TI CC2531 USB CDC plugged in (with pre-flashed firmware), both dmesg and lsusb show the device., but whsniff says "ERROR: No working device found."

Ubuntu 22.04.04 LTS

I think not related to https://github.com/homewsn/whsniff/issues/10

Tips very welcome.

sander@brixit:~/git/whsniff$ ./whsniff -c11
ERROR: No working device found.
Cannot initialize USB sniffer device
sander@brixit:~/git/whsniff$ sudo ./whsniff -c11
ERROR: No working device found.
Cannot initialize USB sniffer device
[ma sep  9 10:10:53 2024] usb 1-1: new full-speed USB device number 6 using xhci_hcd
[ma sep  9 10:10:53 2024] usb 1-1: New USB device found, idVendor=0451, idProduct=16a8, bcdDevice= 0.09
[ma sep  9 10:10:53 2024] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ma sep  9 10:10:53 2024] usb 1-1: Product: TI CC2531 USB CDC
[ma sep  9 10:10:53 2024] usb 1-1: Manufacturer: Texas Instruments
[ma sep  9 10:10:53 2024] usb 1-1: SerialNumber: __0X00124B0018E2B66A
[ma sep  9 10:10:53 2024] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[ma sep  9 10:10:53 2024] usbcore: registered new interface driver cdc_acm
[ma sep  9 10:10:53 2024] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
sander@brixit:~/git/whsniff$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0aa7 Intel Corp. Wireless-AC 3168 Bluetooth
Bus 001 Device 005: ID 0bc2:231a Seagate RSS LLC Expansion Portable
Bus 001 Device 006: ID 0451:16a8 Texas Instruments, Inc. CC2531 ZigBee
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sander@brixit:~/git/whsniff$ ll /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 sep  9 10:11 /dev/ttyACM0
homewsn commented 2 months ago

Whsniff is looking for TI CC2531 USB dongle with idVendor=0451 and idProduct=16ae. So your CC2531 dongle should be flashed with sniffer_fw_cc2531.hex firmware from TI SmartRF Packet Sniffer 2.18.1.

sanderjo commented 2 months ago

Ah. Thanks.

I have no firmware programmer, so that's end of story then for me.