-
Notifications
You must be signed in to change notification settings - Fork 669
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
NotImplementedError: Operation not supported or unimplemented on this platform #375
Comments
Using a USB traffic analyzer is probably more appropriate for that job. There are hardware options, but so far I've been able to get by with software-only tools like Wireshark. (Technically Wireshark doesn't actually capture the data, only displays it, but searching for "Wireshark + USB + [operating system]" should help you get started).
Most likely, the driver that is installed for that device isn't compatible with libusb. Their FAQ has more information on using it with Windows. |
I know of Wireshark and it really helped me to understand some things but I want to automatically read USB port to respond to certain data with a script now. I will look on Internet with the keywords you said.
I will check this then. Thank you very much for your quick answer. |
In that case PyUSB is a suitable tool for the job after all. |
Well, yes, that was what I was trying to use in the snippet of code I wrote in my first post. But the problem is that once I have my device plugged in and found with the I followed the tutorial provided here : https://github.com/pyusb/pyusb/blob/master/docs/tutorial.rst Maybe I have overlooked something ? |
I still think the most likely cause is that the installed driver isn't compatible with libusb.
|
You were right, the port used were indeed not the same depending of the type of devices connected. I couldn't find any COM port because I used a hard drive. With another peripheral I finally got an open COM port. Thank you very much for your help. |
Hi.
I'm in an internship and I want to read the USB port to see the type of data transiting. Ideally, I want to be able to both send and receive USB packets.
I'm trying to read on a port with the .read() method but I have this error popping up :
I don't understand what could be the problem. Everything is up to date, I use the latest version of Python and Spyder, on Windows 10.
The code is as follow :
The text was updated successfully, but these errors were encountered: