-
Notifications
You must be signed in to change notification settings - Fork 7
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
Test with Windows 8 #1
Comments
With Windows 8, I never see anything happen in the Device Manager. No yellow punctuation of any kind. |
I solved this problem today. You have to first enable unsigned drivers. This website shows you how: Then you have to download the original libusb-win2 zip file and run the inf-wizard.exe to create a new OpenXC_Vehicle_Interface.inf file. Then you follow the main instructions again. Also, I think the .iinf file is corrupt on the main page. I will try to upload the one that I made in case that helps anyone. |
That's great, Ken, thank you! I haven't upgraded to Win8 so it would be awesome if you can upload the driver that works for you. |
Yea, I just got the usb backend driver installed and working fine, but I still get an error when I run openxc-control version even though it still returns the version number. It returns: Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(None, 'libusb0-dll:err [_usb_reap_async] time openxc-dump seems to work fine, returning the expected stream of json lines I will continue tweaking it until I figure it out. I may need to tweak the source and recompile the driver, but I hope not. It has been years since I have done any low level C coding... My goal is to work mainly with Python since that will be faster and easier than me messing with Android development, although I will probably end up playing with both. My goal is to motivate others to join in - after all, if an old guy in upper management like me can do it, anyone probably can... :) Also, I'm not in the OpenXC group so I couldn't upload any files. How do I get added? Ken PS - the guys told me good things about you when I visited the lab last week... cool. |
@kewashi best way to push your driver is to work off your branch and generate a pull-request https://help.github.com/articles/using-pull-requests/#initiating-the-pull-request. We will merge it with the master once you generate one |
Got it... thanks. Sounds simple enough. |
The fact that it does get the version OK, and you said |
One other issue I found and resolved for Windows and Python - not sure if this is specific to 8 or not - is that after installing Python 2.7 the _curses library is not present, which causes the openxc-dashboard script to not work. It returns an error stating that _curses module could not be found. This is remedied by simply installing a port of _curses from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses Note that this is different from the curses library. The curses library expects to find this module in the Python install but since the default Python 2.7 build for Windows was not built with this module included it has to be added manually. After adding this module, openxc-dashboard works beautifully. This was important for me to figure out because I wanted to confirm that the USB backend interface was indeed working. With the dashboard running, I can clearly see that it is working and returning the expected random data provided by the emulator that I flashed into the VI. Now, on to writing some Python scripts that do something interesting... |
We found another simple method for Windows.
Tested on Windows 8.1 and Windows 10. No reboot required. |
No description provided.
The text was updated successfully, but these errors were encountered: