-
Notifications
You must be signed in to change notification settings - Fork 40
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
ccsniffpiper on linux #6
Comments
Hi, 2015-07-10 13:36 GMT+02:00 xeonphi notifications@github.com:
|
I got this from lsusb: |
Well, your device is connected. |
Hi Guys, To be honest, I haven't really touched this in a while. But plenty of people seem to be getting it to work. I always used these tools with the CC2531EMK modules. Unfortunately, I can't really help much here anyway, as I left the company I was doing this stuff for and don't have any CC2531EMKs in my possession. Good luck! |
thanks you for your quick answers. |
I put a static value for the device description as a workaround. It seems that pyusb wasn't able to retrieve it directly from the device. |
Hi, Old thread I know, but wanted to put my input in re macOS Sierra. Thanks to XeonPhi's workaround, I've now got this working under MacOS. Steps I had to go thru' 1: Install Homebrew (http://macappstore.org/libusb/) |
And ..... ! Have gotten it running in Kali Linux on a Raspberry Pi 3, doing pretty much the above, minus the 'homebrew' but needed to install python, libusb, python-pip, pyusb, and edit the ccsniffpiper.py file as XeonPhi suggests (which meant installing idle, which is not installed with python 2.7.13 .... but need to launch Wireshark from terminal as follows wireshark -k -i /tmp/ccsniffpiper & Don;t know if 'sudo' is needed or not, but I've just done it with sudo. |
I also have the same issue. Perhaps a try/catch block to set the default if it's not working? |
Hi!
I have try to run ccsniffer on ubuntu but get this error:
Traceback (most recent call last):
File "./ccsniffpiper.py", line 549, in
snifferDev = CC2531(handlerDispatcher, args.channel)
File "./ccsniffpiper.py", line 298, in init
self.name = usb.util.get_string(self.dev, 256, 2) # get name from USB descriptor
File "/usr/local/lib/python2.7/dist-packages/usb/util.py", line 328, in get_string
raise ValueError("The device does not support the specified langid")
ValueError: The device does not support the specified langid
Do have any ideas how to fix this?
The text was updated successfully, but these errors were encountered: