public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Steffen Müller" <steffen.mueller@radio-frei.de>
To: opensuse-factory@opensuse.org
Cc: Oliver Neukum <oliver@neukum.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Jiri Slaby <jslaby@suse.cz>,
	stable@kernel.org, Greg KH <greg@kroah.com>,
	USB list <linux-usb@vger.kernel.org>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [opensuse-factory] Re: usb midi keyboard broken [3.3.3 regression] [SOLUTION]
Date: Sat, 28 Apr 2012 23:26:58 +0200	[thread overview]
Message-ID: <5861865.YnqskICckP@thinkpadsm.rf-studio> (raw)
In-Reply-To: <201204281730.04550.oliver@neukum.org>

Am Samstag, 28. April 2012, 17:30:04 schrieb Oliver Neukum:
> Am Samstag, 28. April 2012, 13:45:56 schrieb Steffen Müller:
> > Oh man! After look and try many usr relevant settings I found the
> > malfactor: tlp usb autosuspend settings.
> > 
> > I use tlp (energy-saving tools for thinkpad laptops) and they autosuspend
> > usb devices by default. Now I have blacklisted my midi keyboard an all is
> > good. I can reproduce the problem this way. Seems so that the midi
> > keyboard doesn't wake up if it once sleeping.
> > 
> > For all with similar problems:
> > edit /etc/default/tlp and set USB_BLACKLIST="<device id from usbls>" or
> > disable usb autosuspend entirely with USB_AUTOSUSPEND=0
> > 
> > thanks and sorry for the bother.
> 
> No problem, but we ought to test whether we can make it work with a kernel
> quirk. Can you please test whether it works with USB_QUIRK_RESET_RESUME
> in drivers/usb/core/quirks.c ?
> 

yes, it works now without blacklisting for autosuspend after build patched 
kernel with this in drivers/usb/core/quirks.c

rf@ThinkpadSM:~/tmp> diff -uNr quirks-org.c quirks.c 
--- quirks-org.c        2012-04-28 23:19:45.440959001 +0200
+++ quirks.c    2012-04-28 20:38:50.000000000 +0200
@@ -123,6 +123,9 @@
        /* Guillemot Webcam Hercules Dualpix Exchange*/
        { USB_DEVICE(0x06f8, 0x3005), .driver_info = USB_QUIRK_RESET_RESUME },
 
+       /* Midiman M-Audio Keystation 88es */
+       { USB_DEVICE(0x0763, 0x0192), .driver_info = USB_QUIRK_RESET_RESUME },
+
        /* M-Systems Flash Disk Pioneers */
        { USB_DEVICE(0x08ec, 0x1000), .driver_info = USB_QUIRK_RESET_RESUME },
 
rf@ThinkpadSM:~/tmp> 

regards
steffen
 

> 	Regards
> 		Oliver

  reply	other threads:[~2012-04-28 21:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1571281.mVArydTEZW@thinkpadsm.rf-studio>
     [not found] ` <87haw6z4ps.fsf@Rainer.invalid>
     [not found]   ` <4F99BD60.1060303@suse.cz>
     [not found]     ` <1972516.Nxci8jDpSI@thinkpadsm.rf-studio>
2012-04-27  7:46       ` usb midi keyboard broken [3.3.3 regression] Jiri Slaby
2012-04-27 15:26         ` Alan Stern
2012-04-28 11:45           ` [opensuse-factory] Re: usb midi keyboard broken [3.3.3 regression] [SOLUTION] Steffen Müller
2012-04-28 15:30             ` Oliver Neukum
2012-04-28 21:26               ` Steffen Müller [this message]
2012-04-30  8:48                 ` Oliver Neukum
2012-04-30  9:00                   ` Steffen Müller
2012-04-30  9:00                     ` Felipe Balbi
2012-04-30 11:05                   ` [PATCH] usb: add USB_QUIRK_RESET_RESUME for M-Audio 88es Steffen Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5861865.YnqskICckP@thinkpadsm.rf-studio \
    --to=steffen.mueller@radio-frei.de \
    --cc=greg@kroah.com \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=opensuse-factory@opensuse.org \
    --cc=stable@kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox