lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7699e1c6-efe1-ac90-d054-f983d9d46735@gmail.com>
Date:   Wed, 11 Jan 2023 14:58:56 -0600
From:   Walt Holman <waltholman09@...il.com>
To:     linux-kernel <linux-kernel@...r.kernel.org>,
        linux-input <linux-input@...r.kernel.org>,
        Bastien Nocera <hadess@...ess.net>
Subject: [PATCH] HID: hid-logitech-hidpp: Add support for Logitech G923 wheel
 Xbox Edition (Take 2)

Hello,

This patch adds support for the Logitech G923 Xbox edition steering wheel. This uses the hid-logitech-hidpp kernel module and from my testing, force feedback and all buttons work. This requires the usb_modeswitch application to setup the device in PC mode with a magic string that is the same as the Logitech 920 wheel.

Signed-off-by: Walt Holman waltholman09@...il.com

diff -uprN linux-6.2-rc3-source/drivers/hid/hid-ids.h linux-6.2-rc3-target/drivers/hid/hid-ids.h
--- linux-6.2-rc3-source/drivers/hid/hid-ids.h	2023-01-10 15:03:06.000000000 -0600
+++ linux-6.2-rc3-target/drivers/hid/hid-ids.h	2023-01-11 13:19:39.460052754 -0600
@@ -820,6 +820,7 @@
  #define USB_DEVICE_ID_LOGITECH_G510_USB_AUDIO	0xc22e
  #define USB_DEVICE_ID_LOGITECH_G29_WHEEL	0xc24f
  #define USB_DEVICE_ID_LOGITECH_G920_WHEEL	0xc262
+#define USB_DEVICE_ID_LOGITECH_G923_XBOX_WHEEL	0xc26e
  #define USB_DEVICE_ID_LOGITECH_WINGMAN_F3D	0xc283
  #define USB_DEVICE_ID_LOGITECH_FORCE3D_PRO	0xc286
  #define USB_DEVICE_ID_LOGITECH_FLIGHT_SYSTEM_G940	0xc287
diff -uprN linux-6.2-rc3-source/drivers/hid/hid-logitech-hidpp.c linux-6.2-rc3-target/drivers/hid/hid-logitech-hidpp.c
--- linux-6.2-rc3-source/drivers/hid/hid-logitech-hidpp.c	2023-01-10 15:03:06.000000000 -0600
+++ linux-6.2-rc3-target/drivers/hid/hid-logitech-hidpp.c	2023-01-11 13:19:39.460052754 -0600
@@ -4347,6 +4347,9 @@ static const struct hid_device_id hidpp_
  	{ /* Logitech G920 Wheel over USB */
  	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL),
  		.driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS},
+	{ /* Logitech G923 Wheel (Xbox version) over USB */
+	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G923_XBOX_WHEEL),
+		.driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS },
  	{ /* Logitech G Pro Gaming Mouse over USB */
  	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC088) },
  

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ