cc2531-killerbee-fw icon indicating copy to clipboard operation
cc2531-killerbee-fw copied to clipboard

usb.core.USBError Errno 75 Overflow

Open Mizuki-ENG opened this issue 2 years ago • 2 comments

Occured when using zbwireshark to capture the zigbee unlock door packet command as below pyusb version 1.0.1 cc2531 firmware 2.1r1 Any help ,Suggestion ?

Thank you.

└─$ sudo zbwireshark -c 25
\Auto-detection is being deprecated - Please specify hardware Warning: You are using pyUSB 1.x, support is in beta. zbwireshark: listening on 'CC2531 USB Dongle', channel 25, page 0 (2475.0 MHz), link-type DLT_IEEE802_15_4, capture size 127 bytes Error args: (75, 'Overflow') Traceback (most recent call last): File "/usr/local/bin/zbwireshark", line 4, in import('pkg_resources').run_script('killerbee==3.0.0b2', 'zbwireshark') File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 656, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1453, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python3.10/dist-packages/killerbee-3.0.0b2-py3.10-linux-x86_64.egg/EGG-INFO/scripts/zbwireshark", line 108, in main() File "/usr/local/lib/python3.10/dist-packages/killerbee-3.0.0b2-py3.10-linux-x86_64.egg/EGG-INFO/scripts/zbwireshark", line 84, in main packet = kb.pnext() File "/usr/local/lib/python3.10/dist-packages/killerbee-3.0.0b2-py3.10-linux-x86_64.egg/killerbee/init.py", line 442, in pnext return self.driver.pnext(timeout) File "/usr/local/lib/python3.10/dist-packages/killerbee-3.0.0b2-py3.10-linux-x86_64.egg/killerbee/dev_bumblebee.py", line 400, in pnext self.process_rx() File "/usr/local/lib/python3.10/dist-packages/killerbee-3.0.0b2-py3.10-linux-x86_64.egg/killerbee/dev_bumblebee.py", line 156, in process_rx raise e File "/usr/local/lib/python3.10/dist-packages/killerbee-3.0.0b2-py3.10-linux-x86_64.egg/killerbee/dev_bumblebee.py", line 149, in process_rx nbytes = self.dev.read(Bumblebee.EP_IN, self.usb_rx_buffer, 10) File "/usr/local/lib/python3.10/dist-packages/usb/core.py", line 983, in read ret = fn( File "/usr/local/lib/python3.10/dist-packages/usb/backend/libusb1.py", line 828, in bulk_read return self.__read(self.lib.libusb_bulk_transfer, File "/usr/local/lib/python3.10/dist-packages/usb/backend/libusb1.py", line 936, in __read _check(retval) File "/usr/local/lib/python3.10/dist-packages/usb/backend/libusb1.py", line 595, in _check raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno 75] Overflow

Mizuki-ENG avatar Oct 01 '22 06:10 Mizuki-ENG

Hm not sure about why your command fails, but you can also try using zbdump. That's what I use to capture packets and then afterwards open them in wireshark.

Oh and I just took a look at the zbwireshark tool. It tries starting wireshark via cli first. Are you sure wireshark is installed on your device? Are you able to execute wireshark on your terminal to open it?

@LordofMisery where do you get that information from? The latest firmware is even named cc2531? For me it works fine on a Ti cc2531 from Amazon

jbasement avatar Oct 03 '22 20:10 jbasement

Unfortunately, this is a known bug of this firmware, sometimes it triggers this kind of error on libusb because I think I'm doing it wrong at some point in the code. The more Zigbee devices in the area the more often it happens, other contributors reported.

virtualabs avatar Oct 07 '22 12:10 virtualabs