Skip to contentSkip to conversation

G25_support]

PATCH New Peter 1 participant 1 message Mar 22, 2011 HID

lore
Share & tools
lore

Peter

author
#0 lore raw

PATCH 1/1 G25_support]

CC vger.

Hi,

if Michal and Christophe want to test this, they have to set their G25/DFP into native mode via G25manage
(http://wiki.vdrift.net/Logitech_G25_support). I rewrote the tool so that only nativemode and range can be set (the original contained debugging/calibration which isn't really necessary for a device that calibrates itself when connected) for both the G25/G27 and the DFP. I attached the rewritten version and proper udev-rules (DFP-rule not tested but should work fine).
I don't know if that stuff should be integrated into the kernel (at least the initialization), too. Without that, the wheels only report 2 axis and are limited to somewhat 270 degrees instead of 4 axis and 900 degrees.

As for wine, it needs to be patched, too, else it will feel more like a steamhammer. I'm already writing with two of the devs, and it seems they got it fixed.

Regards, Peter

Quoted 35 lines · Jiri Kosina
Quoted 20 lines · Simon Wood

From: Peter <[email protected]>

Small patch to add support for the G25/G27 by adding USB ID's as suggested by Peter.

Boots but otherwise untested as I don't have hardware, .debs for kernel (2.6.38) here if want to test/run Ubuntu/Debian:
http://www.mungewell.org/Logitech_Wii_Wheel/

---
 drivers/hid/hid-lgff.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/hid/hid-lgff.c +0 -0
index 90d0ef2..f099079 100644

drivers/hid/hid-lgff.c static const struct dev_type devices[] = { · line 79

Quoted 7 lines
drivers/hid/hid-lgff.c +2 -0
@@ -73,6 +73,8 @@ static const struct dev_type devices[] = {
 	{ 0x046d, 0xc293, ff_joystick },
 	{ 0x046d, 0xc294, ff_wheel },
 	{ 0x046d, 0xc295, ff_joystick },
+	{ 0x046d, 0xc298, ff_wheel },
+	{ 0x046d, 0xc299, ff_wheel },
 	{ 0x046d, 0xca03, ff_wheel },
 };

You are right that missing entries in this struct for devices which have LG_FF flag set doesn't make too much sense.

Adding Michal and Chritophe to CC, as they should have the HW to test.