From: M A Young Subject: Re: xen 4 only seeing one keyboard and mouse Date: Thu, 22 Jul 2010 19:54:17 +0100 (BST) Message-ID: References: <20100721204042.GN17817@reaktio.net> <20100721214107.GO17817@reaktio.net> <20100722175153.GA4911@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: In-Reply-To: <20100722175153.GA4911@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, 22 Jul 2010, Konrad Rzeszutek Wilk wrote: > Looking briefly at the code, it looks to be sending two bytes down the > port. What does 'dmesg | grep serio' show? Something like this: > > serio: i8042 KBD port at 0x60,0x64 irq 1 > serio: i8042 AUX port at 0x60,0x64 irq 12 > input: AT Translated Set 2 keyboard as > /devices/platform/i8042/serio0/input/input4 > > > Do you see both ports in /proc/ioports and the IRQ utilized in > /proc/interrupts? Are there an interrupts being sent when you type on > the keyboard? For a baremetal boot serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4 input: PS/2 Mouse as /devices/platform/i8042/serio2/input/input5 input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio2/input/input6 for the xen boot serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4 input: PS/2 Generic Mouse as /devices/platform/i8042/serio2/input/input9 psmouse.c: Failed to enable mouse on isa0060/serio2 /proc/ioports is the same for xen and baremetal. /proc/interrupts says 1: 120 38 IO-APIC-edge i8042 12: 609 115 IO-APIC-edge i8042 for baremetal, and for xen 1: 8 0 xen-pirq-ioapic-edge i8042 12: 3 0 xen-pirq-ioapic-edge i8042 but for xen the counts don't change. Michael Young