Page 1 of 1

Windows XP Sp3 host, Ubuntu 8.04 guest with libusb -> loc

Posted: 20. Nov 2008, 02:21
by anewguy
I use libusb and GTK both in Windows and in Linux for cross platform development. My linux machine recently bit it, and with my work from home machine I'm not allowed to partition the drive, so I'm using VirtualBox. I already found out I can't have libusb installed on the host (Windows XP Pro SP3) because the USB devices aren't passed to the VM. I tried compiling/running an app in the VM (Ubuntu) today that uses libusb and it caused the VM to lock up. Took a LONG time for Windows to actually kill it. It also resulted in VB not wanting to start again on the host (Windows XP Pro SP3). It also made the host (Windows XP Pro SP3) behave rather strangely (hard to explain). I had to reboot the machine for everything to clear up in the host. I haven't tried the libusb app in the guest (Ubuntu) since.

So, obviously there is a problem with libusb (low-level USB access) on Windows not allowing the VM to see the devices, and conversely if running a libusb program on the guest Ubuntu it raises heck as well.

I have found nothing in searching this forum, the web, or the user guide for explaining this to me.

Any help would be greatly appreciated!!
Dave :)

Posted: 20. Nov 2008, 21:55
by Sasquatch
You might want to open a bug report for this one. You already posted your 'solution' a couple of times yesterday. Please see the VirtualBox FAQ for a link to the bug tracking system. You do need a separate account for it though.

Posted: 21. Nov 2008, 04:11
by anewguy
Thanks - I'll try to get to that in the next few hours. I didn't really know what to do - since I had replied on 2 threads about my problems I figured I also needed to post what I found on both threads. And now this - I opened 2 threads because I think it's 2 different problems(?) - Windows host with libusb not passing devices to VirtualBox, and Ubuntu guest using libusb hosing up VirtualBox. I hope I did that right.

I'll look at what you suggested and then see if I can figure out how to submit a single bug report but reporting both scenarios.

Thanks!
Dave :)