From 9814765860ed49e482481f30ee3fd73102348951 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 18 Dec 2024 22:06:18 +0200 Subject: make firmware check a warning + Apparently this allows the T-GT II to work, as it shows up as a PS4 T300 RS, just that it has a different firmware version. Eventually I should maybe look into the firmware response a bit closer and check if I can fish out wheel information or something along those lines to improve wheel detection. --- src/tmt300rs/hid-tmt300rs.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/tmt300rs') diff --git a/src/tmt300rs/hid-tmt300rs.c b/src/tmt300rs/hid-tmt300rs.c index 2f3e0e8..f83e3af 100644 --- a/src/tmt300rs/hid-tmt300rs.c +++ b/src/tmt300rs/hid-tmt300rs.c @@ -1309,7 +1309,7 @@ int t300rs_close(void *data, int open_mode) static int t300rs_check_firmware(struct t300rs_device_entry *t300rs) { - int ret; + int ret = 0; struct t300rs_fw_response *fw_response = kzalloc(sizeof(struct t300rs_fw_response), GFP_KERNEL); @@ -1337,15 +1337,12 @@ static int t300rs_check_firmware(struct t300rs_device_entry *t300rs) /* educated guess */ if (fw_response->fw_version < 31 && ret >= 0) { - hid_err(t300rs->hdev, - "firmware version %i is too old, please update.\n", + hid_warn(t300rs->hdev, + "firmware version %i might be too old, consider updating\n", fw_response->fw_version ); hid_info(t300rs->hdev, "note: this has to be done through Windows.\n"); - - ret = -EINVAL; - goto out; } /* everything OK */ -- cgit v1.3