From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754676AbbCPN4G (ORCPT ); Mon, 16 Mar 2015 09:56:06 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34613 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989AbbCPN4B (ORCPT ); Mon, 16 Mar 2015 09:56:01 -0400 Date: Mon, 16 Mar 2015 14:55:59 +0100 (CET) From: Jiri Kosina To: Pavel Machek cc: vojtech@suse.cz, mike-@cinci.rr.com, jslaby@suse.cz, dave@thedillows.org, colin.leitner@gmail.com, frank.praznik@gmail.com, kernel list , linux-input@vger.kernel.org Subject: Re: Fun with sony motion controllers: navigation controller In-Reply-To: <20150316130547.GA20976@amd> Message-ID: References: <20150314191917.GA3680@amd> <20150316130547.GA20976@amd> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Mar 2015, Pavel Machek wrote: > On Mon 2015-03-16 13:55:39, Jiri Kosina wrote: > > On Sat, 14 Mar 2015, Pavel Machek wrote: > > > > > Hi! > > > > > > After oopsing kernel with ps/3 peripherals, I decided to play some > > > more. > > > > > > First "sony motion controller" (part of ps/3 move without the > > > led). Good news is that it no longer oopses. After pressing the PS > > > button, it seems to work, but it produces endless stream of events in > > > evtest: > > > > > > Event: time 1426360519.967818, type 3 (EV_ABS), code 0 (ABS_X), value 131 > > > Event: time 1426360519.967818, type 3 (EV_ABS), code 1 (ABS_Y), value 129 > > > Event: time 1426360519.967818, type 3 (EV_ABS), code 59 (ABS_MT_DISTANCE), value 513 > > > Event: time 1426360519.967818, type 3 (EV_ABS), code 60 (ABS_MT_TOOL_X), value 513 > > > > > > Should it really produce multitouch events? > > > > Some sony devices are producing multitouch events. You unfortunately > > didn't send us the VID/PID of the device you are playing with. > > Umm. I thought multitouch events are for touchscreen. This is joystick > with accelerometer...? Ok, that's USB_DEVICE_ID_SONY_NAVIGATION_CONTROLLER, which should get SIXAXIS_CONTROLLER_USB. That one shouldn't really be producing multitouch events. Could you please add printk()s to hid-sony.c to see how it's possible that it's generating those? I am sure Frank will comment on this as well. -- Jiri Kosina SUSE Labs