This is the base I am going to try to get working in the Debian VM:
https://github.com/peterh/pyobd
This is the one I actually had running on the Pi:
https://github.com/Pbartek/pyobd-pi
This looks to be the newest, with more options, still for the pi:
https://pypi.python.org/pypi/obd/0.2.0
I think I am going to look into this last one more since I just found it. I think it does added commands, and it looks like it should be easy to include this to my gui app file.
Making Raspberry Pi Gauges - The Blog
Re: Making Raspberry Pi Gauges - The Blog
What hypervisor are you using? I have had issues in USB devices being initialized correctly using Virtual Box on Windows to pass USB devices through to VMs. I believe this is due to Windows initializing the device but not properly doing the unplug event before handing it over to the VM. This seems to be more of an issue with non-simple USB devices, like a USB to CAN adaptor or some types of storage devices.billgiacheri wrote:...but am having issues connecting to the USB -> OBD2 USB interface. I think it is a VM thing... I try to use the USB controller for the VM to enable the USB->OBD interface and it keeps hanging.
Re: Making Raspberry Pi Gauges - The Blog
You can also try abandoning Windows on your laptop.
Re: Making Raspberry Pi Gauges - The Blog
I am using VirtualBox... That seems to be the issue. I will know if it is the VM/Hypervisor if the same code loaded on the Pi works... Then I might look into other options for the laptop or something cheap running Linux with a display. It would be cool to get an OBD2 Sim so I don't have to troubleshoot with a car running...