5

I have recently downloaded qemu and compiled qemu 2.3.0. I can compile and install just fine, but I cant figure out how to get USB support. I have installed libusb 1.0.9 but when I run configure for quemu, it still says there is no usb support.

/qemu-2.3.0$ ./configure
...
libusb            no
usb net redir     no
...

how can i get usb support with qemu?

***UPDATE:**** I followed this advice, and not I have usb net redir but still not libusb

sudo apt-get install libusb-dev
sudo apt-get install libusbredirparser-dev

and again

./configure
[...]
libusb            yes
usb net redir     yes
[...]
1
  • The "UPDATE" text is conflicting. it says "still not libusb", but the configure output says libusb yes
    – Marcus
    Aug 4, 2016 at 14:25

1 Answer 1

5

Install the development library of libusb and libusbredirparser-dev:

sudo apt-get install libusb-dev
sudo apt-get install libusbredirparser-dev

and again

./configure
[...]
libusb            yes
usb net redir     yes
[...]
2
  • I will check that out
    – j0h
    May 5, 2015 at 12:58
  • 2
    Interestingly, on (X)Ubuntu 16.04, I had to install libusb-1.0-0-dev instead of libusb-dev.
    – Marcus
    Aug 4, 2016 at 14:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .