Re: Logitech Racing Wheel Driver

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

 



Thanks a lot Roger.
Following link helped to switch the mode of the racing wheel and now
events are seen in evtest.
https://lkml.org/lkml/2016/1/26/763

Warm Regards,
pramod

On Fri, Oct 27, 2017 at 5:57 PM, Roger Quadros <rogerq@xxxxxx> wrote:
> Hi Pramod,
>
> On 27/10/17 14:19, Pramod Bhagwat wrote:
>> Hi,
>>
>> We are using Logitech GT 920 device on Ubuntu 16.04. Where we can find
>> the driver for the same?
>>
>> Following is the output from the dmesg:
>>
>> [ 1676.016108] usb 1-5: new full-speed USB device number 7 using xhci_hcd
>> [ 1676.157828] usb 1-5: New USB device found, idVendor=046d, idProduct=c261
>
> Closest match is
>
> https://github.com/torvalds/linux/blob/master/drivers/hid/hid-logitech-hidpp.c#L3118
>
> However, USB_DEVICE_ID_LOGITECH_G920_WHEEL is 0xc262 though.
>
> Maybe you can try the below patch and report back if it works for you or not?
>
>> [ 1676.157832] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> [ 1676.157835] usb 1-5: Product: G920 Driving Force Racing Wheel for Xbox One
>> [ 1676.157838] usb 1-5: Manufacturer: Logitech
>> [ 1676.157841] usb 1-5: SerialNumber: 0000de2f51541f91
>>
>> Warm Regards,
>> pramod
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 9bc9116..3f44070 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -2147,6 +2147,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
>  #if IS_ENABLED(CONFIG_HID_LOGITECH_HIDPP)
>         { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_T651) },
>         { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL) },
> +       { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL_2) },
>  #endif
>  #if IS_ENABLED(CONFIG_HID_LOGITECH_DJ)
>         { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_UNIFYING_RECEIVER) },
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index a989191..07a14bf 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -687,6 +687,7 @@
>  #define USB_DEVICE_ID_LOGITECH_RUMBLEPAD2      0xc218
>  #define USB_DEVICE_ID_LOGITECH_RUMBLEPAD2_2    0xc219
>  #define USB_DEVICE_ID_LOGITECH_G29_WHEEL       0xc24f
> +#define USB_DEVICE_ID_LOGITECH_G920_WHEEL_2    0xc261
>  #define USB_DEVICE_ID_LOGITECH_G920_WHEEL      0xc262
>  #define USB_DEVICE_ID_LOGITECH_WINGMAN_F3D     0xc283
>  #define USB_DEVICE_ID_LOGITECH_FORCE3D_PRO     0xc286
> diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
> index 614054a..be3ed77 100644
> --- a/drivers/hid/hid-logitech-hidpp.c
> +++ b/drivers/hid/hid-logitech-hidpp.c
> @@ -3117,6 +3117,9 @@ static const struct hid_device_id hidpp_devices[] = {
>
>         { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL),
>                 .driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS},
> +
> +       { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL_2),
> +               .driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS},
>         {}
>  };
>
>
> --
> cheers,
> -roger
>
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux