Hi, I’m working on a project trying to control an RC car from a computer, and we’re using the Micro Maestro 6-Channel USB Servo Controller to control the car directly. I got the Maestro Control Center to work fine in windows, and wrote my code for windows, and it works as well. But I need to move everything to Ubuntu(10.04) because that is what our server will be running in. Our server has inconveniently not arrived in the mail yet, so, due to a lack of extra computers and hard drive partitions, I decided to try to run the same copy of ubuntu from a virtual machine. I got that up and running and enabled the servo controller through the virtual machine and installed mono, etc, according to the readme. The servo controller mounted successfully, and I can see ttyACM0 and ttyACM1. When I input ‘lsusb’ into the terminal, the servo controller appears.
Now, whenever I run the Maestro Control Center or UscCmd from ubuntu in the virtual machine, it gives me a timeout error, as shown below.
Is this caused by some sort of issue between the virtual machine and the main OS? Or is the issue possibly just in running it through ubuntu?
Sorry that you are having trouble getting it to work on your linux VM. We have used the Maestros successfully under linux through VirtualBox, but we do often encounter problems like only being able to connect to a device once before having to unplug it and plug it back in. What virtual machine software are you using? Have you used other USB devices successfully on the virtual machine?
For completeness, I would like to know whether the control center works for you under linux and whether UscCmd --list works for you under Windows. Also, is any output generated in dmesg or syslog when you run UscCmd --list and get the error?
I am using VirtualBox. I installed the virtual machine solely for this, and I have not tried using any other USB devices through it. The control center and UscCmd work completely under Windows, and I get a timeout error for both under linux.
I couldn’t find anything relevant in dmesg and no output was generated in syslog.
got the servo driving computer in and it worked fine there.
Thanks