Patch "HID: logitech-dj: add support for the new lightspeed connection iteration" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    HID: logitech-dj: add support for the new lightspeed connection iteration

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     hid-logitech-dj-add-support-for-the-new-lightspeed-c.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit f61b6cb619611ff9a8d6e5b544e5884b165bfc21
Author: Filipe Laíns <lains@xxxxxxxxxx>
Date:   Sat Jan 23 18:02:20 2021 +0000

    HID: logitech-dj: add support for the new lightspeed connection iteration
    
    [ Upstream commit fab3a95654eea01d6b0204995be8b7492a00d001 ]
    
    This new connection type is the new iteration of the Lightspeed
    connection and will probably be used in some of the newer gaming
    devices. It is currently use in the G Pro X Superlight.
    
    This patch should be backported to older versions, as currently the
    driver will panic when seing the unsupported connection. This isn't
    an issue when using the receiver that came with the device, as Logitech
    has been using different PIDs when they change the connection type, but
    is an issue when using a generic receiver (well, generic Lightspeed
    receiver), which is the case of the one in the Powerplay mat. Currently,
    the only generic Ligthspeed receiver we support, and the only one that
    exists AFAIK, is ther Powerplay.
    
    As it stands, the driver will panic when seeing a G Pro X Superlight
    connected to the Powerplay receiver and won't send any input events to
    userspace! The kernel will warn about this so the issue should be easy
    to identify, but it is still very worrying how hard it will fail :(
    
    [915977.398471] logitech-djreceiver 0003:046D:C53A.0107: unusable device of type UNKNOWN (0x0f) connected on slot 1
    
    Signed-off-by: Filipe Laíns <lains@xxxxxxxxxx>
    Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index 86001cfbdb6f..b499ac37dc7b 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -995,7 +995,12 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
 		workitem.reports_supported |= STD_KEYBOARD;
 		break;
 	case 0x0d:
-		device_type = "eQUAD Lightspeed 1_1";
+		device_type = "eQUAD Lightspeed 1.1";
+		logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
+		workitem.reports_supported |= STD_KEYBOARD;
+		break;
+	case 0x0f:
+		device_type = "eQUAD Lightspeed 1.2";
 		logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
 		workitem.reports_supported |= STD_KEYBOARD;
 		break;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux