Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: Pekka Enberg <penberg@kernel.org>
Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com,
	gorcunov@gmail.com, prasadjoshi124@gmail.com,
	John Floren <john@jfloren.net>
Subject: Re: [PATCH] kvm tools: Add support for PS/2 keyboard system
Date: Thu, 02 Jun 2011 12:10:27 +0300	[thread overview]
Message-ID: <1307005827.2785.26.camel@lappy> (raw)
In-Reply-To: <alpine.DEB.2.00.1106021151100.6795@tiger>

On Thu, 2011-06-02 at 11:52 +0300, Pekka Enberg wrote:
> On Wed, 1 Jun 2011, Sasha Levin wrote:
> > From: John Floren <john@jfloren.net>
> >
> > 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 <john@jfloren.net>
> > [ turn into patch and clean up code ]
> > Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
> 
> 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.


  reply	other threads:[~2011-06-02  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 14:53 [PATCH] kvm tools: Add support for PS/2 keyboard system Sasha Levin
2011-06-02  7:21 ` Ingo Molnar
2011-06-02  8:57   ` Pekka Enberg
2011-06-02  8:52 ` Pekka Enberg
2011-06-02  9:10   ` Sasha Levin [this message]
2011-06-02  9:15     ` Pekka Enberg
2011-06-02  9:18       ` Ingo Molnar
2011-06-02  9:23         ` Pekka Enberg
2011-06-02  9:34           ` Ingo Molnar
2011-06-02  9:34       ` Sasha Levin
2011-06-02  9:42         ` Ingo Molnar

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=1307005827.2785.26.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=asias.hejun@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=john@jfloren.net \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.org \
    --cc=prasadjoshi124@gmail.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