From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 03 Oct 2012 15:05:42 +0000 Subject: Re: Communicating tablet mode status to userspace Message-Id: <20121003150542.GA8460@kroah.com> List-Id: References: <20121002233640.GB8542@core.coreip.homeip.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Daniel Drake Cc: Dmitry Torokhov , linux-input@vger.kernel.org, linux-hotplug@vger.kernel.org, hadess@hadess.net, Carlos Garnacho On Wed, Oct 03, 2012 at 08:52:31AM -0600, Daniel Drake wrote: > On Tue, Oct 2, 2012 at 5:36 PM, Dmitry Torokhov > wrote: > > Why can't you change event device ownership to the local user? Then you > > can read and act upon events. > > That would work, I guess. > > However, it sounds like your suggesting that we add some custom rules > in OLPC's own builds and leave it at that. I'm not sure what > user/group we could use for a generic rule matching this hardware. That shouldn't be a custom rule, other distros bind the keyboard / mouse to the local user in order to handle the multi-seat situation properly. That should all be done already in the console-kit logic (or whatever handles it now.) Have you looked into that? greg k-h