Skip to content

Commit 68a49e5

Browse files
Frank PraznikJiri Kosina
authored andcommitted
HID: sony: Add support for the third-party SMK PS3 Bluetooth Remote
Add vid/pid for the SMK branded third-party PS3 Bluetooth remote and enable support in the hid-sony driver. Signed-off-by: Frank Praznik <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 9b2b5c9 commit 68a49e5

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

drivers/hid/hid-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,6 +1914,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
19141914
{ HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE) },
19151915
{ HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_WIRELESS_KBD_MOUSE) },
19161916
{ HID_USB_DEVICE(USB_VENDOR_ID_SKYCABLE, USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER) },
1917+
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SMK, USB_DEVICE_ID_SMK_PS3_BDREMOTE) },
19171918
{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_BUZZ_CONTROLLER) },
19181919
{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_WIRELESS_BUZZ_CONTROLLER) },
19191920
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_BDREMOTE) },

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,9 @@
813813
#define USB_VENDOR_ID_SKYCABLE 0x1223
814814
#define USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER 0x3F07
815815

816+
#define USB_VENDOR_ID_SMK 0x0609
817+
#define USB_DEVICE_ID_SMK_PS3_BDREMOTE 0x0306
818+
816819
#define USB_VENDOR_ID_SONY 0x054c
817820
#define USB_DEVICE_ID_SONY_VAIO_VGX_MOUSE 0x024b
818821
#define USB_DEVICE_ID_SONY_VAIO_VGP_MOUSE 0x0374

drivers/hid/hid-sony.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,6 +2113,9 @@ static const struct hid_device_id sony_devices[] = {
21132113
/* Logitech Harmony Adapter for PS3 */
21142114
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_PS3),
21152115
.driver_data = PS3REMOTE },
2116+
/* SMK-Link PS3 BD Remote Control */
2117+
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SMK, USB_DEVICE_ID_SMK_PS3_BDREMOTE),
2118+
.driver_data = PS3REMOTE },
21162119
/* Sony Dualshock 4 controllers for PS4 */
21172120
{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS4_CONTROLLER),
21182121
.driver_data = DUALSHOCK4_CONTROLLER_USB },

0 commit comments

Comments
 (0)