Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having a problem with getting one of my USB-to-serial devices running on Linux Ubuntu. There is simply no driver for it. It only works in Windows. When I boot to Win 7, it works fine because the driver is available, but when I try to boot into Windows using VMWare on Linux Ubuntu, the Windows installation doesn't see the hardware and, therefore, even though I have the drivers, I can't get the USB-to-serial work on it. Is there a way to run Windows inside Linux such that the Windows installation has direct access to the hardware of the PC rather than via the hosting OS?

Thank you! pkout

share|improve this question

migrated from stackoverflow.com Dec 24 '11 at 8:31

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

The QEMU virtualization system allows you to pass USB devices through to the guest operating system. With the KVM module loaded, I'd wager performance is similar to VMWare performance.

When starting qemu, pass -usb -usbdevice host:<vender>:<product> on the command line. After the guest is booted, type usb_add host:<vender>:<product> into the QEMU monitor.

Of course, you'll have to decide if it is worth changing virtualization technologies just to use a USB<->Serial converter or if it is just easier to buy a different, supported, converter.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.