]> git.baikalelectronics.ru Git - kernel.git/commit
HID: magicmouse: set device name when it has been personalized
authorJosé Expósito <jose.exposito89@gmail.com>
Sun, 12 Dec 2021 18:20:59 +0000 (19:20 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 6 Jan 2022 12:58:28 +0000 (13:58 +0100)
commitf6a88dcdb3407db28dc702302e7d034a05bd093c
treeac350e7758254e9e2fd84a7adbb2a0366b4d5729
parentbe75c2db580a9a649d71e6e065242cece0af2bdd
HID: magicmouse: set device name when it has been personalized

If the Apple Magic Trackpad 2 has been connected to a Mac, the name
is automatically personalized showing its owner name. For example:
"José Expósito's Trackpad".

When connected through Bluetooth, the personalized name is reported,
however, when connected through USB the generic name is reported.

Set the device name correctly to ensure the same driver settings are
loaded, whether connected via Bluetooth or USB.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-magicmouse.c