Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2064271ybl; Tue, 3 Dec 2019 17:50:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwxF3+2z7B/8+39WGyeY9mTh/xPap3i3n4D+aGL79wIhuNbo28dYCDV4sWfT8lZbrd2xups X-Received: by 2002:aca:fdd7:: with SMTP id b206mr617523oii.35.1575424203040; Tue, 03 Dec 2019 17:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575424203; cv=none; d=google.com; s=arc-20160816; b=z2bm4EN5Vfhr83He7AougSYi83Kriq6dmmH6UFJmzJAcHrVv1S+hanuzhhBB+EurCf LX/u6aqp4eFg9S6J7CqYhY99HgWuTFLw+sEPNjAU1YQmt+EN6QjiVV1+aG5nO2w4dH28 N6GbrE4sKKP3qFNXIvH6QnBL0SJAYQgnRU6rMMTYvvHtak18WwmnPbdqCfbQam33vpKC sZh+PuRVRr1xvy6Og+hirqIks5pSdDLrtEdK1yexelRbl+Zxb0y7Ix6OdHoGGJ+9F1aK kXnopMK9vlERG1jiXCnmkGi1Se2NOOWLnsleVcuBL7ceedI2558iXJFvRF0e9tPj26bL wZCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=IH4TPVh+FIEebKDCwbvo/UTaDJ8EEn8/lL1BL4Et9Ao=; b=fHzLl8no9woHjNiVYfQM1ktPNGgTsR0CE2t34VwNivYG9akax6uHTxk7Ho/oQwoPJN 8qeYE6Q6azPrfBLmpnBnQrlPkb4N/DzXrn3zSVUdPSUBp+lHxgLVbnb+XHbzHMjdZ5+B Gyo8pIT0PlAbtRo+/YwDBL6ptvAFrd0vIabZgGLeOJq5mQvVRotrGYL7mc3yNFPBstQ9 ymA/PWuPAd+jBJvcgTJdzhzvRyjMLlu1l5WTACYN0wdcWTgcJY8w3WaI2J0l07gsgwwr 9cAAG4ytqp5C2pcPndx617gxb+N6onRVnbetOqlcDOhgtDV0IrQRsXacihyHC7aZ1Yp1 9Xyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si2289015oth.94.2019.12.03.17.49.42; Tue, 03 Dec 2019 17:50:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726291AbfLDBtk (ORCPT + 99 others); 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-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@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