From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] input: ALPS - Add signature for HP Pavilion dm3 laptops Date: Wed, 21 Apr 2010 12:56:59 -0700 Message-ID: <20100421195659.GB10641@core.coreip.homeip.net> References: <1269712311-8041-1-git-send-email-chase.douglas@canonical.com> <20100327191102.GA14548@core.coreip.homeip.net> <20100420072903.GA32108@core.coreip.homeip.net> <20100421041029.GA9482@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:47769 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753908Ab0DUT5G (ORCPT ); Wed, 21 Apr 2010 15:57:06 -0400 Received: by pvg13 with SMTP id 13so1126434pvg.19 for ; Wed, 21 Apr 2010 12:57:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Chase Douglas Cc: linux-input@vger.kernel.org On Wed, Apr 21, 2010 at 08:15:17AM -0400, Chase Douglas wrote: > On Wed, Apr 21, 2010 at 12:10 AM, Dmitry Torokhov > wrote: > > On Tue, Apr 20, 2010 at 11:47:20PM -0400, Chase Douglas wrote: > >> On Tue, Apr 20, 2010 at 9:01 AM, Chase Douglas > >> wrote: > >> > On Tue, Apr 20, 2010 at 12:29 AM, Dmitry Torokhov > >> > wrote: > >> >> That means that our standard magic knock did not work. It seems that > >> >> newer version of ALPS are using a different "magic knock" sequence for > >> >> them. > >> > > >> > How can we find out what the new knock sequence is? > >> > > > > One way would be to run the $OTHER_OS with proper driver inside a VM and > > pass-through all commands from that OS to real PS/2 hardware recodring > > the sequence in process. > > Do you know of any documentation on how to do this? I've tried various > google searches, but I'm having difficulty finding information on > sniffing the ps/2 protocol through a vm. > I do not know of existing setups. I'd expect you'll have to pick in QEMU/KVM guts and make it talk to psaux interface (the old, 2.4-style PS/2 port). Then, on the host side, set up serio_raw driver instead of psmouse to that VM can talk to real hardware. -- Dmitry