From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [SOLUTION] "i8042.c: No controller found" -> OS sees no keyboard if I type "in BIOS"
Date: Mon, 08 Jun 2009 15:51:14 +0200 [thread overview]
Message-ID: <4A2D1752.1080004@wpkg.org> (raw)
In-Reply-To: <20090607040410.GA25831@amt.cnet>
Marcelo Tosatti wrote:
>> Or Qemu, for having its keyboard buffer too large (I'm not sure, but probably 256 bytes)?
>
> All references (*) i could find mention 16 bytes of output buffer
> (including the Linux source as you mentioned, which was reduced from 32
> to 16 somewhere in the 2.6.10 era).
>
> http://www.computer-engineering.org/ps2protocol/
>
> http://linux.bkbits.net:8080/linux-2.6.28-stable/drivers/input/serio/i8042.h?PAGE=diffs&REV=4203735dp_doSExYU6ido8KnczbjzQ
>
> Reducing PS2_QUEUE_SIZE to 16 also makes the Linux detection loop happy.
>
> If QEMU claims to emulate i8042, it should be similar to real hardware.
>
> However i'm not familiar with PS/2 or i8042. Anthony?
This:
#define KBD_QUEUE_SIZE 256
dates back to qemu-0.5.1, where it was defined in vl.c.
Seems like it's in Qemu from the very beginning?
PS2_QUEUE_SIZE 256 was introduced in qemu-0.8.0.
--
Tomasz Chmielewski
http://wpkg.org
next prev parent reply other threads:[~2009-06-08 13:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 13:57 [Qemu-devel] "i8042.c: No controller found" -> OS sees no keyboard if I type "in BIOS" Tomasz Chmielewski
2009-05-20 9:30 ` Tomasz Chmielewski
2009-05-20 13:30 ` [Qemu-devel] [SOLUTION] " Tomasz Chmielewski
2009-06-07 4:04 ` Marcelo Tosatti
2009-06-08 13:51 ` Tomasz Chmielewski [this message]
2009-06-08 14:13 ` Tomasz Chmielewski
2009-06-08 14:30 ` Marcelo Tosatti
2009-06-08 15:11 ` Tomasz Chmielewski
2009-06-08 15:48 ` Mark Cave-Ayland
2009-06-23 12:27 ` Mark Cave-Ayland
2009-06-08 14:59 ` Avi Kivity
2009-06-08 15:08 ` Tomasz Chmielewski
2009-06-08 15:28 ` Paul Brook
2009-07-08 21:08 ` [Qemu-devel] " Dinesh Subhraveti
2009-07-09 1:07 ` Dinesh Subhraveti
2009-07-09 20:52 ` [Qemu-devel] Re: [SOLUTION] "i8042.c: No controller found" ->OS " Dinesh Subhraveti
2009-07-10 8:21 ` Mark Cave-Ayland
2009-07-10 21:45 ` Dinesh Subhraveti
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=4A2D1752.1080004@wpkg.org \
--to=mangoo@wpkg.org \
--cc=aliguori@us.ibm.com \
--cc=mtosatti@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.