qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Gabriel L. Somlo" <gsomlo@gmail.com>
Cc: rene@exactcode.com, jbaron@redhat.com, qemu-devel@nongnu.org,
	agraf@suse.de
Subject: Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems
Date: Mon, 12 Nov 2012 11:26:18 +0100	[thread overview]
Message-ID: <50A0CECA.9060102@redhat.com> (raw)
In-Reply-To: <20121111221650.GA3575@foober.ini.cmu.edu>

  Hi,

> First, what works:
> 
> With the following command line (usb items on the last line):
> 
> bin/qemu-system-x86_64 -enable-kvm -m 2048 -cpu core2duo \

>   -device ich9-usb-uhci1 -device usb-kbd -device usb-mouse

Just uhci.  Ok.

> If I replace:
> 
>   -device ich9-usb-uhci1 -device usb-kbd -device usb-mouse
> 
> with the generic default:
> 
>   -usb -device usb-kbd -device usb-mouse
> 
> I get a hang at boot time. OS X (SnowLeopard) prints the following
> USB-related warning/error to its console:
> 
> USBF: 2.557 AppleUSBEHCI[0xffffff80056c5000]::CheckSleepCapability - controller will be unloaded across sleep

Seems macos doesn't like something in our ehci emulation ...

Can you send a trace with all ehci tracepoints enabled?

> Note how both the keyboard and mouse are now under 'ehci1', rather than
> under one of the 'uhci' entries, e.g. uhci1 like in the working example
> earlier on.

That is normal for a companion controller setup.  For the guest usb 1.1
devices will show up at one of the uhci companion controllers
nevertheless (lsusb in linux guests will show that).

cheers,
  Gerd

  reply	other threads:[~2012-11-12 10:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-11 22:16 [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems Gabriel L. Somlo
2012-11-12 10:26 ` Gerd Hoffmann [this message]
2012-11-12 14:49   ` [Qemu-devel] [PATCH] ehci: fix compile error with EHCI_DEBUG enabled Gabriel L. Somlo
2012-11-16 13:50     ` Stefan Hajnoczi
2012-11-16 13:54       ` Gerd Hoffmann
2012-11-12 15:17   ` [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems Gabriel L. Somlo
2012-11-13  8:48     ` Gerd Hoffmann
2012-11-13 15:48       ` Gabriel L. Somlo
2012-11-13 16:31         ` Gerd Hoffmann
2012-11-13 17:28           ` Gabriel L. Somlo

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=50A0CECA.9060102@redhat.com \
    --to=kraxel@redhat.com \
    --cc=agraf@suse.de \
    --cc=gsomlo@gmail.com \
    --cc=jbaron@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rene@exactcode.com \
    /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).