lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5861865.YnqskICckP@thinkpadsm.rf-studio>
Date:	Sat, 28 Apr 2012 23:26:58 +0200
From:	Steffen Müller <steffen.mueller@...io-frei.de>
To:	opensuse-factory@...nsuse.org
Cc:	Oliver Neukum <oliver@...kum.org>,
	Alan Stern <stern@...land.harvard.edu>,
	Jiri Slaby <jslaby@...e.cz>, stable@...nel.org,
	Greg KH <greg@...ah.com>, USB list <linux-usb@...r.kernel.org>,
	Linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: [opensuse-factory] Re: usb midi keyboard broken [3.3.3 regression] [SOLUTION]

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@...nkpadSM:~/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@...nkpadSM:~/tmp> 

regards
steffen
 

> 	Regards
> 		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ