Skip to content

Commit bab94e9

Browse files
uqsJiri Kosina
authored andcommitted
HID: sony: Fix more ShanWan clone gamepads to not rumble when plugged in.
The device string on these can differ, apparently, including typos. I've bought 2 of these in 2012 and googling shows many folks out there with that broken spelling in their dmesg. Signed-off-by: Ulrich Spörlein <uqs@FreeBSD.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 462ba66 commit bab94e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/hid/hid-sony.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2974,7 +2974,8 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id)
29742974
if (!strcmp(hdev->name, "FutureMax Dance Mat"))
29752975
quirks |= FUTUREMAX_DANCE_MAT;
29762976

2977-
if (!strcmp(hdev->name, "SHANWAN PS3 GamePad"))
2977+
if (!strcmp(hdev->name, "SHANWAN PS3 GamePad") ||
2978+
!strcmp(hdev->name, "ShanWan PS(R) Ga`epad"))
29782979
quirks |= SHANWAN_GAMEPAD;
29792980

29802981
sc = devm_kzalloc(&hdev->dev, sizeof(*sc), GFP_KERNEL);

0 commit comments

Comments
 (0)