From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1E98C432C3 for ; Wed, 4 Dec 2019 01:49:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EA5520674 for ; Wed, 4 Dec 2019 01:49:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbfLDBtk (ORCPT ); Tue, 3 Dec 2019 20:49:40 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:44440 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfLDBtk (ORCPT ); Tue, 3 Dec 2019 20:49:40 -0500 Received: from marcel-macbook.fritz.box (p4FF9F0D1.dip0.t-ipconnect.de [79.249.240.209]) by mail.holtmann.org (Postfix) with ESMTPSA id E5263CEC82; Wed, 4 Dec 2019 02:58:47 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: [PATCH] Input: uinput - Add UI_SET_UNIQ ioctl handler From: Marcel Holtmann In-Reply-To: <20191127185139.65048-1-abhishekpandit@chromium.org> Date: Wed, 4 Dec 2019 02:49:37 +0100 Cc: linux-input@vger.kernel.org, =?utf-8?Q?Pali_Roh=C3=A1r?= , Bluez mailing list , Luiz Augusto von Dentz , Enric Balletbo i Serra , lkml , Thomas Gleixner , Logan Gunthorpe , Dmitry Torokhov , Andrey Smirnov , Kirill Smelkov Content-Transfer-Encoding: 7bit Message-Id: <581F56B1-035C-4339-AF10-464BD3E984F4@holtmann.org> References: <20191127185139.65048-1-abhishekpandit@chromium.org> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3601.0.10) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Abhishek, > Support setting the uniq attribute of the input device. The uniq > attribute is used as a unique identifier for the connected device. > > For example, uinput devices created by BlueZ will store the address of > the connected device as the uniq property. you might also then want to add HIDIOCGRAWUNIQ support to the hidraw driver. Regards Marcel