Re: Strange bug with Prodipe MIDI 49C USB

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

 



Hope I follow the right method to make the patch. If not, I'll retry.


WORLDE Controller KS49 or Prodipe MIDI 49C USB controller
cause a -EPROTO error, a communication restart and loop again.

This issue has already been fixed for KS25.
https://lore.kernel.org/patchwork/patch/753077/

I just add device 201 for KS49 in quirks.c to get it works.

This is the patch I propose.

Signed-off-by: Laurent Roux <xpros64@xxxxxxxxxx>
---

diff -up 1/drivers/usb/core/quirks.c 2/drivers/usb/core/quirks.c
--- 1/drivers/usb/core/quirks.c    2018-08-06 16:18:22.000000000 +0200
+++ 2/drivers/usb/core/quirks.c    2018-08-07 22:22:03.868499000 +0200
@@ -182,6 +182,10 @@ static const struct usb_device_id usb_qu
      { USB_DEVICE(0x0218, 0x0401), .driver_info =
              USB_QUIRK_CONFIG_INTF_STRINGS },

+    /* WORLDE Controller KS49 or Prodipe MIDI 49C USB controller */
+    { USB_DEVICE(0x0218, 0x0201), .driver_info =
+            USB_QUIRK_CONFIG_INTF_STRINGS },
+
      /* HP 5300/5370C scanner */
      { USB_DEVICE(0x03f0, 0x0701), .driver_info =
              USB_QUIRK_STRING_FETCH_255 },


Le 08/08/2018 à 10:46, Greg KH a écrit :
> On Tue, Aug 07, 2018 at 09:05:03PM +0000, Maxence Duprès wrote:
>> This is a proposed patch for KS49.
>>
>> The original patch for KS25: https://lore.kernel.org/patchwork/patch/753077/
>>
>> About the authorship, I don't know what it is. My real  name is Roux
>> Laurent.
>>
>>
>> diff -Naur 1/drivers/usb/core/quirks.c 2/drivers/usb/core/quirks.c
>> --- 1/drivers/usb/core/quirks.c    2018-08-06 16:18:22.000000000 +0200
>> +++ 2/drivers/usb/core/quirks.c    2018-08-07 22:22:03.868499000 +0200
>> @@ -182,6 +182,10 @@
>>        { USB_DEVICE(0x0218, 0x0401), .driver_info =
>>                USB_QUIRK_CONFIG_INTF_STRINGS },
>>
>> +    /* WORLDE Controller KS49 or Prodipe MIDI 49C USB controller */
>> +    { USB_DEVICE(0x0218, 0x0201), .driver_info =
>> +            USB_QUIRK_CONFIG_INTF_STRINGS },
>> +
>>        /* HP 5300/5370C scanner */
>>        { USB_DEVICE(0x03f0, 0x0701), .driver_info =
>>                USB_QUIRK_STRING_FETCH_255 },
>>
> That's a good start, but can you take a look at
> Documentation/SubmittingPatches for how to do this in a way that I can
> apply it?  Also look at lots of other patches on the mailing lists to
> get an idea of the needed format.
>
> thanks,
>
> greg k-h

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




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

  Powered by Linux