From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMSF-0005qj-8P for qemu-devel@nongnu.org; Tue, 26 Nov 2013 12:29:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlMS7-0001FT-V0 for qemu-devel@nongnu.org; Tue, 26 Nov 2013 12:29:43 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:50707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMS7-0001FK-LX for qemu-devel@nongnu.org; Tue, 26 Nov 2013 12:29:35 -0500 Message-ID: <5294DA7B.3050500@rdsoftware.de> Date: Tue, 26 Nov 2013 18:29:31 +0100 From: Erik Rull MIME-Version: 1.0 References: <1212720896.288966.1385477539659.open-xchange@email.1und1.de> <1385481464.10163.37.camel@nilsson.home.kraxel.org> <5294CFD3.30609@rdsoftware.de> In-Reply-To: <5294CFD3.30609@rdsoftware.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] git master: usb-host needs additional parameters - no documentation which List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "qemu-devel@nongnu.org" 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