qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [SOLUTION] "i8042.c: No controller found" -> OS sees no


From: Tomasz Chmielewski
Subject: Re: [Qemu-devel] [SOLUTION] "i8042.c: No controller found" -> OS sees no keyboard if I type "in BIOS"
Date: Mon, 08 Jun 2009 17:11:18 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090319)

Marcelo Tosatti wrote:

PS2_QUEUE_SIZE 256 was introduced in qemu-0.8.0.
BTW, with "PS2_QUEUE_SIZE 16" I'm still able to trigger:

i8042.c: No controller found.

I was not able to trigger it by changing PS2_QUEUE_SIZE to 16 (which
shows the testing was lame, since you did trigger it).

For me, moving mouse adds to the buffer really fast.


Only with "PS2_QUEUE_SIZE 15" keyboard is detected every time I boot the guest (unless that's what you meant by setting it to 16).

No, 16. Maybe there's some off-by-one bug in hw/ps2.c? Also yesterday i
was not entirely sure the KBD_STAT_OBF (output buffer empty/full status
bit) handling was correct (thus the attached patch), but now a quick
look seems to indicate it is alright, since it be will update these bits
via:

(...)

-#define PS2_QUEUE_SIZE 256
+#define PS2_QUEUE_SIZE 16

15? With 16 it can still break (broken BIOS?).


--
Tomasz Chmielewski
http://wpkg.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]