qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] git master: usb-host needs additional parameters - no d


From: Erik Rull
Subject: Re: [Qemu-devel] git master: usb-host needs additional parameters - no documentation which
Date: Tue, 26 Nov 2013 18:29:31 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1

Erik Rull wrote:
Hi Gerd,

I only have libusb (0.1 and 1.0) installed. Is there a chance to get an
error message a bit earlier - or a warning that the usb-host support was
disabled? configure doesn't print out a libusb - disabled message when not
passing the libusb-parameter.

I tried now explicitly with --enable-libusb - fails :-(
I would like to point to a different version of libusb - my built machine
has the sources for the latest libusb but not in the location where it is
expected for a standard distribution...
My target system has this library available but there I can't compile, so
qemu should run there.

I'm really interested getting qemu running again, but I'm running from
trouble to trouble now for more than 4 weeks - python, ACPI, USB,...

Thanks.

Best regards,

Erik




Gerd Hoffmann wrote:
On Di, 2013-11-26 at 15:52 +0100, Erik Rull wrote:
Hi all,

when using the latest GIT master qemu fails with the following error:
qemu-system-x86_64: -device usb-host,bus=ehci.0: Parameter 'driver' expects
device type

Any chance you don't have libusbx-devel installed and qemu is therefore
built without usb-host support?

cheers,
   Gerd





Just a thought:
Snippet from configure:

        libusb_cflags=$($pkg_config --cflags libusb-1.0)
        libusb_libs=$($pkg_config --libs libusb-1.0)
        QEMU_CFLAGS="$QEMU_CFLAGS $libusb_cflags"
        libs_softmmu="$libs_softmmu $libusb_libs"

Is it possible to expose the two libusb_ variables to a configure-parameter? This would be sufficient for me to compile qemu with the parameters I need. I don't have the package installed but the includes and libs are present on the build machine and the lib is available on the target machine.

Best regards,

Erik






reply via email to

[Prev in Thread] Current Thread [Next in Thread]