From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: xen 4 only seeing one keyboard and mouse Date: Thu, 22 Jul 2010 13:51:53 -0400 Message-ID: <20100722175153.GA4911@phenom.dumpdata.com> References: <20100721204042.GN17817@reaktio.net> <20100721214107.GO17817@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: M A Young Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > >So when you boot dom0 on xen4, do those ps/2 devices get detected? > > Partially. The relevant input lines (with associated lines that look > relevant) under xen are > > input: Macintosh mouse button emulation as /devices/virtual/input/input3 > ... > input input3: hash matches > pnp 00:08: hash matches > ... > 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 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?