wiredopposite / OGX-Mini

RP2040 USB gamepad emulation for multiple platforms.
MIT License
109 stars 8 forks source link

Add Logitech RumBlepad 2 USB wired #25

Open danko79 opened 5 months ago

danko79 commented 5 months ago

Hi, i have a Logitech RumblePad 2 USB wired, but not working it's possible to add? rumblepad2

=========================== USB Port1 ===========================

Connection Status : 0x01 (Device is connected) Port Chain : 4-1

  ========================== Summary =========================

Vendor ID : 0x046D (Logitech Inc.) Product ID : 0xC218 USB Version : 1.1 Port maximum Speed : Full-Speed Device maximum Speed : Low-Speed Device Connection Speed : Low-Speed Self powered : no Demanded Current : 500 mA Used Endpoints : 3

  ======================== USB Device ========================

    +++++++++++++++++ Device Information ++++++++++++++++++

Device Description : Dispositivo di input USB Device Path : \?\USB#VID_046D&PID_C218#5&28a8b183&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE) Kernel Name : \Device\USBPDO-10 Device ID : USB\VID_046D&PID_C218\5&28A8B183&0&1 Hardware IDs : USB\VID_046D&PID_C218&REV_0100 USB\VID_046D&PID_C218 Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0031 (GUID_DEVCLASS_HIDCLASS) Driver : \SystemRoot\System32\drivers\hidusb.sys (Version: 10.0.19041.3636 Date: 2023-10-29) Driver Inf : C:\WINDOWS\inf\input.inf Legacy BusType : PNPBus Class : HIDClass Class GUID : {745a17a0-74d3-11d0-b6fe-00a0c90f57da} (GUID_DEVCLASSHIDCLASS) Service : HidUsb Enumerator : USB Location Info : Port#0001.Hub_#0006 Location IDs : PCIROOT(0)#PCI(1600)#USBROOT(0)#USB(1), ACPI(SB)#ACPI(PCI0)#ACPI(USB5)#USBROOT(0)#USB(1) Container ID : {5fe6036e-032e-11ef-b74e-a42b8ce8bd51} Manufacturer Info : (Periferiche standard di sistema) Capabilities : 0x84 (Removable, SurpriseRemovalOK) Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER) Problem Code : 0 HcDisableSelectiveSuspend: 0 EnableSelectiveSuspend : 0 SelectiveSuspendEnabled : 0 EnhancedPowerMgmtEnabled : 1 IdleInWorkingState : 0 WakeFromSleepState : 0 Power State : D0 (supported: D0, D2, D3, wake from D0, wake from D2) Child Device 1 : Controller gioco compatibile HID Device Path : \?\HID#VID_046D&PID_C218#6&36f24dae&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (GUID_DEVINTERFACE_HID) Kernel Name : \Device\000000a8 Device ID : HID\VID_046D&PID_C218\6&36F24DAE&0&0000 Class : HIDClass Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0032 (GUID_DEVCLASS_HIDCLASS)

    ---------------- Connection Information ---------------

Connection Index : 0x01 (Port 1) Connection Status : 0x01 (DeviceConnected) Current Config Value : 0x01 (Configuration 1) Device Address : 0x03 (3) Is Hub : 0x00 (no) Device Bus Speed : 0x00 (Low-Speed) Number Of Open Pipes : 0x02 (2 pipes to data endpoints) Pipe[0] : EndpointID=1 Direction=IN ScheduleOffset=5 Type=Interrupt wMaxPacketSize=0x8 bInterval=10 -> 1568 Bits/ms = 196000 Bytes/s Pipe[1] : EndpointID=1 Direction=OUT ScheduleOffset=6 Type=Interrupt wMaxPacketSize=0x8 bInterval=10 -> 1568 Bits/ms = 196000 Bytes/s Data (HexDump) : 01 00 00 00 12 01 10 01 00 00 00 08 6D 04 18 C2 ............m... 00 01 01 02 00 01 01 00 00 03 00 02 00 00 00 01 ................ 00 00 00 07 05 81 03 08 00 0A 05 00 00 00 07 05 ................ 01 03 08 00 0A 06 00 00 00 .........

    --------------- Connection Information V2 -------------

Connection Index : 0x01 (1) Length : 0x10 (16 bytes) SupportedUsbProtocols : 0x01 Usb110 : 1 (yes, port supports USB 1.1) Usb200 : 0 (no, port not supports USB 2.0) Usb300 : 0 (no, port not supports USB 3.0) ReservedMBZ : 0x00 Flags : 0x00 DevIsOpAtSsOrHigher : 0 (Device is not operating at SuperSpeed or higher) DevIsSsCapOrHigher : 0 (Device is not SuperSpeed capable or higher) DevIsOpAtSsPlusOrHigher : 0 (Device is not operating at SuperSpeedPlus or higher) DevIsSsPlusCapOrHigher : 0 (Device is not SuperSpeedPlus capable or higher) ReservedMBZ : 0x00 Data (HexDump) : 01 00 00 00 10 00 00 00 01 00 00 00 00 00 00 00 ................

---------------------- Device Descriptor ----------------------

bLength : 0x12 (18 bytes) bDescriptorType : 0x01 (Device Descriptor) bcdUSB : 0x110 (USB Version 1.1) bDeviceClass : 0x00 (defined by the interface descriptors) bDeviceSubClass : 0x00 bDeviceProtocol : 0x00 bMaxPacketSize0 : 0x08 (8 bytes) idVendor : 0x046D (Logitech Inc.) idProduct : 0xC218 bcdDevice : 0x0100 iManufacturer : 0x01 (String Descriptor 1) Language 0x0409 : "Logitech" iProduct : 0x02 (String Descriptor 2) Language 0x0409 : "Logitech RumblePad 2 USB" iSerialNumber : 0x00 (No String Descriptor) bNumConfigurations : 0x01 (1 Configuration) Data (HexDump) : 12 01 10 01 00 00 00 08 6D 04 18 C2 00 01 01 02 ........m....... 00 01 ..

------------------ Configuration Descriptor -------------------

bLength : 0x09 (9 bytes) bDescriptorType : 0x02 (Configuration Descriptor) wTotalLength : 0x0029 (41 bytes) bNumInterfaces : 0x01 (1 Interface) bConfigurationValue : 0x01 (Configuration 1) iConfiguration : 0x00 (No String Descriptor) bmAttributes : 0x80 D7: Reserved, set 1 : 0x01 D6: Self Powered : 0x00 (no) D5: Remote Wakeup : 0x00 (no) D4..0: Reserved, set 0 : 0x00 MaxPower : 0xFA (500 mA) Data (HexDump) : 09 02 29 00 01 01 00 80 FA 09 04 00 00 02 03 00 ..)............. 00 00 09 21 10 01 00 01 22 77 00 07 05 81 03 08 ...!...."w...... 00 0A 07 05 01 03 08 00 0A .........

    ---------------- Interface Descriptor -----------------

bLength : 0x09 (9 bytes) bDescriptorType : 0x04 (Interface Descriptor) bInterfaceNumber : 0x00 (Interface 0) bAlternateSetting : 0x00 bNumEndpoints : 0x02 (2 Endpoints) bInterfaceClass : 0x03 (HID - Human Interface Device) bInterfaceSubClass : 0x00 (None) bInterfaceProtocol : 0x00 (None) iInterface : 0x00 (No String Descriptor) Data (HexDump) : 09 04 00 00 02 03 00 00 00 .........

    ------------------- HID Descriptor --------------------

bLength : 0x09 (9 bytes) bDescriptorType : 0x21 (HID Descriptor) bcdHID : 0x0110 (HID Version 1.10) bCountryCode : 0x00 (00 = not localized) bNumDescriptors : 0x01 Data (HexDump) : 09 21 10 01 00 01 22 77 00 .!...."w. Descriptor 1: bDescriptorType : 0x22 (Class=Report) wDescriptorLength : 0x0077 (119 bytes) Error reading descriptor : ERROR_OPERATION_ABORTED (due to a obscure limitation of the Win32 USB API, see UsbTreeView.txt)

    ----------------- Endpoint Descriptor -----------------

bLength : 0x07 (7 bytes) bDescriptorType : 0x05 (Endpoint Descriptor) bEndpointAddress : 0x81 (Direction=IN EndpointID=1) bmAttributes : 0x03 (TransferType=Interrupt) wMaxPacketSize : 0x0008 bInterval : 0x0A (10 ms) Data (HexDump) : 07 05 81 03 08 00 0A .......

    ----------------- Endpoint Descriptor -----------------

bLength : 0x07 (7 bytes) bDescriptorType : 0x05 (Endpoint Descriptor) bEndpointAddress : 0x01 (Direction=OUT EndpointID=1) bmAttributes : 0x03 (TransferType=Interrupt) wMaxPacketSize : 0x0008 bInterval : 0x0A (10 ms) Data (HexDump) : 07 05 01 03 08 00 0A .......

  -------------------- String Descriptors -------------------
         ------ String Descriptor 0 ------

bLength : 0x04 (4 bytes) bDescriptorType : 0x03 (String Descriptor) Language ID[0] : 0x0409 (English - United States) Data (HexDump) : 04 03 09 04 .... ------ String Descriptor 1 ------ bLength : 0x12 (18 bytes) bDescriptorType : 0x03 (String Descriptor) Language 0x0409 : "Logitech" Data (HexDump) : 12 03 4C 00 6F 00 67 00 69 00 74 00 65 00 63 00 ..L.o.g.i.t.e.c. 68 00 h. ------ String Descriptor 2 ------ bLength : 0x32 (50 bytes) bDescriptorType : 0x03 (String Descriptor) Language 0x0409 : "Logitech RumblePad 2 USB" Data (HexDump) : 32 03 4C 00 6F 00 67 00 69 00 74 00 65 00 63 00 2.L.o.g.i.t.e.c. 68 00 20 00 52 00 75 00 6D 00 62 00 6C 00 65 00 h. .R.u.m.b.l.e. 50 00 61 00 64 00 20 00 32 00 20 00 55 00 53 00 P.a.d. .2. .U.S. 42 00 B.

Invictaz commented 5 months ago

Maybe this also paves the way for the famous F310? It looks almost the same.

danko79 commented 5 months ago

The F310 is the new model.

wiredopposite commented 5 months ago

ogx-mini_rumblepad.zip Can you see if this works for you? I don't have this controller to test

danko79 commented 5 months ago

ogx-mini_rumblepad.zip Can you see if this works for you? I don't have this controller to test

Try this on rpi pico not working, only the vibration button works, if press it the controller vibrates. the other buttons do not respond to commands.