Invalid joystick when I run ros in a virtual machine
Hi,
I'm trying to run my ros node inside a virtual machine domU on Xen.
I have pass the USB device to the virtual machine domU. In other words, inside the virtual machine domU, I can see the device /dev/input/js0.
However, when I launch the ros node which needs to access the joystick. It reports the error: Unknown joystick (2 axes, 3 buttons) Invalid joystick.
The joystick I'm using is joystick used for Xbox360. If I use lsusb command, it shows Xbox360 Controller.
I don't have this issue if I run my ros node on the physical machine.
My question is: How should I tackle this issue? The error suggest the emulated usb device seen by the virtual machine is incorrect. But how can I find out which part of the joystick device is incorrect? How should I narrow down the problem?
Thank you very much!