From: Erik Rull <erik.rull@rdsoftware.de>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] git master: usb-host needs additional parameters - no documentation which
Date: Tue, 26 Nov 2013 18:29:31 +0100 [thread overview]
Message-ID: <5294DA7B.3050500@rdsoftware.de> (raw)
In-Reply-To: <5294CFD3.30609@rdsoftware.de>
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
next prev parent reply other threads:[~2013-11-26 17:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-26 14:52 [Qemu-devel] git master: usb-host needs additional parameters - no documentation which Erik Rull
2013-11-26 15:57 ` Gerd Hoffmann
2013-11-26 16:44 ` Erik Rull
2013-11-26 17:29 ` Erik Rull [this message]
2013-11-26 17:59 ` Paolo Bonzini
2013-11-27 6:55 ` Gerd Hoffmann
2013-11-27 6:53 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5294DA7B.3050500@rdsoftware.de \
--to=erik.rull@rdsoftware.de \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).