Received: from [140.186.70.92] (port=51998 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6mDF-00028D-Q2 for qemu-devel@nongnu.org; Fri, 15 Oct 2010 11:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6mDE-0003di-Uy for qemu-devel@nongnu.org; Fri, 15 Oct 2010 11:28:53 -0400 Received: from hartman.uits.indiana.edu ([129.79.1.194]:38592 helo=internal-relay.indiana.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6mDE-0003dF-QO for qemu-devel@nongnu.org; Fri, 15 Oct 2010 11:28:52 -0400 Received: from mail-relay.iu.edu (burns.uits.indiana.edu [129.79.1.202]) by internal-relay.indiana.edu (8.14.4/8.14.4/IU Messaging Team) with ESMTP id o9FFSnd5025776 for ; Fri, 15 Oct 2010 11:28:49 -0400 Received: from [129.79.35.119] (nibbler.dlib.indiana.edu [129.79.35.119]) (authenticated bits=0) by mail-relay.iu.edu (8.14.4/8.14.4/IU Messaging Team Submission) with ESMTP id o9FFSmbr023812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Oct 2010 11:28:49 -0400 From: Brian Wheeler Content-Type: text/plain; charset="UTF-8" Date: Fri, 15 Oct 2010 11:28:48 -0400 Message-ID: <1287156528.27028.78.camel@nibbler.dlib.indiana.edu> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] weird mouse troubles in latest git List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'm trying to run openstep 2.4 on the latest git and the mouse hangs after a few seconds of running. I turned on debugging some debugging flags: ps2.c: DEBUG_MOUSE pckbd.c: DEBUG_KEYBOARD i8259.c: DEBUG_PIC I'm still not sure where the problem is, but here's what I've discovered: If I filter out all messages except ones with irq=12 I get this sequence (when using the sdl ui): * a bunch of set_irq level=1 followed immediately by a level=0 which is what I'd expect. * when the mouse hangs, it hangs with a level=1 * hitting ctrl-alt to release focus gives me a bunch of level=1/level=0 pairs along with a bunch of pic_interrupts for irq 12 When I use the vnc ui, I get 2 pairs of "set_irq irq=12 level=1/0" followed by a pic: pic_interrupt: irq=12. When I move the mouse into the vnc window I get the set_irq level = 1 and the mouse is done. So, is the guest not picking up the interrupts correctly or is there some problem with the UI not sending mouse requests through if the guest hasn't handled them? There are mouse troubles with OS/2 4.0 as well which may be related (the button stops working but the mouse would still move. Its not terribly important, but I thought someone should know.