summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions
>space:mode:
authorFrank Praznik <frank.praznik@gmail.com>2016-09-22 20:18:08 -0400
committerJiri Kosina <jkosina@suse.cz>2016-09-26 15:32:47 +0200
commit0f3982308b5fc7373c8d4e6dcfc8a02ee5a3408d (patch)
tree42072fd692ed5f162db242a7e5f30e9ee45b76ca /Makefile
parent884316deb4c9fdf9becfa31831a9e40717e3026c (diff)
HID: sony: Relax duplicate checking for USB-only devices
Some USB-only devices which masquerade as Sixaxis controllers report the same generic Bluetooth address for all hardware when queried via the HID report. This causes these devices to be wrongly rejected as duplicates when more than one is connected at once. This introduces a connection type comparison when checking for duplicates and only rejects the newly connected device if the existing matching device is connected using a different connection protocol. The results of the connection type comparison are also used when registering power supply info as the device Bluetooth address is used as the unique identifier string. In cases where more than one valid device has the same Bluetooth address the device ID is now appended to the power supply name string to avoid name collisions when registering the power supply information. Signed-off-by: Frank Praznik <frank.praznik@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Makefile')