Re: Strange bug with Prodipe MIDI 49C USB

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

 



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 },


Le 07/08/2018 à 20:57, Greg KH a écrit :
> On Tue, Aug 07, 2018 at 05:50:21PM +0000, Maxence Duprès wrote:
>> <from bugzilla.kernel.org>
>>
>> Hello,
>>
>> I just bought a midi keyboard Prodipe MIDI 49C USB for use within linux
>> Rosegarden and LMMS.
>> When I plug it in, nothing happen, no keyboard appears in software or in
>> lsusb. Changing USB cable did nothing.
>>
>> The keyboard work fine with W7 32b and 64b and with W10 64b with
>> Rosegarden and LMMS too. It is detected as "Worlde Controller KS49".
>>
>> In dmesg, I found that the keyboard is detected and disconnected again
>> and again.
>>
>> I've done some tests with:
>> Acer D150 Atom270 2Gb XUbuntu 32b 4.15.0-29-generic.
>> Acer D150 Atom270 2Gb KXstudio 32b 3.13.0-19-lowlatency.
>> Lenovo I5 3320 4Gb Xubuntu 64b 4.15.0-29-generic.
>> AMD 5050e 8Gb Xubuntu 64b 4.15.0-29-generic.
>>
>> This is a part of dmesg:
>> [  805.156100] usb usb1-port8: Cannot enable. Maybe the USB cable is bad?
>> [  805.156122] usb usb1-port8: unable to enumerate USB device
>> [  805.468061] usb 5-2: new full-speed USB device number 72 using ohci-pci
>> [  805.669060] usb 5-2: New USB device found, idVendor=0218, idProduct=0201
>> [  805.669064] usb 5-2: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=0
>> [  805.669065] usb 5-2: Product: WORLDE Controller KS49
>> [  805.669067] usb 5-2: Manufacturer: WORLDE
>> [  805.684743] usb 5-2: USB disconnect, device number 72
>> [  806.248086] usb 5-2: new full-speed USB device number 73 using ohci-pci
>> [  806.444267] usb 5-2: New USB device found, idVendor=0218, idProduct=0201
>> [  806.444271] usb 5-2: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=0
>> [  806.444273] usb 5-2: Product: WORLDE Controller KS49
>> [  806.444274] usb 5-2: Manufacturer: WORLDE
>> [  806.459697] usb 5-2: USB disconnect, device number 73
>> [  807.080059] usb 5-2: new full-speed USB device number 74 using ohci-pci
>> [  807.279738] usb 5-2: New USB device found, idVendor=0218, idProduct=0201
>> [  807.279742] usb 5-2: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=0
>> [  807.279744] usb 5-2: Product: WORLDE Controller KS49
>> [  807.279746] usb 5-2: Manufacturer: WORLDE
>> [  807.297581] usb 5-2: USB disconnect, device number 74
>> [  807.560239] usb usb1-port8: attempt power cycle
>>
>> ...
>>
>> I just add some lines in quirks.c from Prodipe 25 but with the Prodipe
>> 49 device ID.
>>
>> file: /drivers/usb/core/quirks.c line 185
>>
>>       /* WORLDE easy key (easykey.49) MIDI controller  */
>>       { USB_DEVICE(0x0218, 0x0201), .driver_info =
>>               USB_QUIRK_CONFIG_INTF_STRINGS },
>>
>> It work well now. Test with Kernel 4.17.13 and 4.15
>>
>> Possible to add this in kernel sources ?
> Sure, care to make up a patch for this so that we can properly credit
> you with the authorship of it?
>
> 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