Re: Usb midi device does not work on wake

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

 



On Mon, Jan 13, 2020 at 9:40 AM Oliver Neukum <oneukum@xxxxxxxx> wrote:
>
> Am Sonntag, den 12.01.2020, 12:06 +0000 schrieb Richard Dodd:
> > Hello
> >
> > I've got a Novation midi-over-usb device (LaunchControl XL) that works
> > correctly on boot, but remains in power-off mode when waking from
> > sleep.
> >
> > I suspect that there is some sort of initialisation that needs to be
> > applied. Could anyone suggest possible causes, or point me in the
> > direction of the relevant source code. I found `sound/usb/quirks.c`,
> > which seems to be the place to handle this kind of thing, but there is
> > no mention of my device anywhere in the source tree at present
> > (1235:0061).
>
> Hi,
>
> some devices need an additional reset. They have the quirk RESET_RESUME
> in that file. Try adding your device to that list and recompile your
> kernel.
>
>         HTH
>                 Oliver
>

Hi

I found the list you are talking about in `drivers/usb/core/quirks.c`,
and when I patched it, my device correctly woke up after suspend. :)

Can I upstream the patch by posting it here. The patch is attached to
this email.

Thanks
Rich

Attachment: patch
Description: Binary data


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

  Powered by Linux