]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hidraw: add support uniq ioctl
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Dec 2019 03:41:09 +0000 (04:41 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 11 Dec 2019 14:31:52 +0000 (15:31 +0100)
commit0c45588a266d0819b8cb6ff9bc92b9e9725a5289
tree1474f4e68c021e7aa3c1a5c1621e16a908c27ee6
parent2e68bb016f3e47872434e1a2bb8b1b9df3a5db1d
HID: hidraw: add support uniq ioctl

Add support for reading out the uniq information from the underlying HID
device. This might be the iSerialNumber in case of USB or the BD_ADDR in
case of Bluetooth.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c
include/uapi/linux/hidraw.h