diff --git a/hid-uclogic-params.c b/hid-uclogic-params.c index 4acf318..daa7d27 100644 --- a/hid-uclogic-params.c +++ b/hid-uclogic-params.c @@ -882,6 +882,9 @@ static int uclogic_params_huion_init(struct uclogic_params *params, goto cleanup; } + /* The firmware is used in userspace as unique identifier */ + strscpy(hdev->uniq, ver_ptr, sizeof(hdev->uniq)); + /* If this is a transition firmware */ if (strcmp(ver_ptr, transition_ver) == 0) { hid_dbg(hdev,