WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen 4 only seeing one keyboard and mouse

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel