From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH] kvm tools: Add support for PS/2 keyboard system Date: Thu, 02 Jun 2011 12:10:27 +0300 Message-ID: <1307005827.2785.26.camel@lappy> References: <1306940036-15540-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, John Floren To: Pekka Enberg Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:37455 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932164Ab1FBJLF (ORCPT ); Thu, 2 Jun 2011 05:11:05 -0400 Received: by wwa36 with SMTP id 36so676735wwa.1 for ; Thu, 02 Jun 2011 02:11:02 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-06-02 at 11:52 +0300, Pekka Enberg wrote: > On Wed, 1 Jun 2011, Sasha Levin wrote: > > From: John Floren > > > > Add support for PS/2 keyboard system with AUX device (aka mouse). > > The device works with vnc, the guest must be started with the > > '--vnc' parameter for the device to be initialized. > > > > Signed-off-by: John Floren > > [ turn into patch and clean up code ] > > Signed-off-by: Sasha Levin > > I am seeing this in my guest dmesg: > > [ 24.972609] i8042: PNP: No PS/2 controller found. Probing ports > directly. > [ 25.568982] i8042: Can't read CTR while initializing i8042 > [ 25.568996] i8042: probe of i8042 failed with error -5 > [ 25.569102] mousedev: PS/2 mouse device common for all mice > > and nothing happens when I try to press some keys in vncviewer. There's a > small blinking thingy following the mouse which I assume is our guest > mouse cursor? Strange, those are the same errors you're supposed to get when theres no i8042 device at all. Could you verify that hw/pckbd.c is being built? Did the makefile get updated? What I'm seeing here is: [ 49.326316] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 50.410492] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 51.518829] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 51.519104] mousedev: PS/2 mouse device common for all mice -- Sasha.