From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from h1446028.stratoserver.net ([85.214.92.142]:51046 "EHLO mail.ahsoftware.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933438Ab2LILiH (ORCPT ); Sun, 9 Dec 2012 06:38:07 -0500 Message-ID: <50C47811.7010503@ahsoftware.de> Date: Sun, 09 Dec 2012 12:37:53 +0100 From: Alexander Holler MIME-Version: 1.0 To: Alexander Holler CC: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, Jonathan Cameron , Jiri Kosina , srinivas pandruvada Subject: Re: [PATCH 1/2] HID: autodetect HID sensor hubs. References: <1355015544-31579-1-git-send-email-holler@ahsoftware.de> In-Reply-To: <1355015544-31579-1-git-send-email-holler@ahsoftware.de> Content-Type: text/plain; charset=ISO-8859-15 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org Am 09.12.2012 02:12, schrieb Alexander Holler: > It should not be necessary to add IDs for HID sensor hubs to lists > in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, > autodetect such sensor hubs, based on a collection of type > physical inside a useage page of type sensor. If some sensor hubs > stil must be usable as raw devices, a blacklist might be created. That patch didn't check if the device is a USB device and therfor blutooth hid sensor hubs wouldn't still be handled as raw devices. I send another patch 1/2 which checks the bus too. Patch 2/2 still should be applied. Regards, Alexander