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: <Pine.LNX.4.44L0.0902131014320.3343-100000@iolanthe.rowland.org>
Date:	Fri, 13 Feb 2009 10:26:53 -0500 (EST)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Jiri Slaby <jirislaby@...il.com>
cc:	Kernel development list <linux-kernel@...r.kernel.org>,
	<mm-commits@...r.kernel.org>, Greg KH <gregkh@...e.de>,
	USB list <linux-usb@...r.kernel.org>,
	<linux-input@...r.kernel.org>, Oliver Neukum <oliver@...kum.org>
Subject: Re: dead USB devices after resume [mmotm 2009-02-10-16-35]

On Fri, 13 Feb 2009, Jiri Slaby wrote:

> > You might want to build a kernel with CONFIG_USB_DEBUG enabled.  The 
> > extra debugging information should help find the problem.
> 
> Here comes the resume part (including unplug, replug). I suspect auto-suspend?

I don't think autosuspend is the issue, because normally neither
keyboards nor mice get autosuspended.  In fact the log appears to be
perfectly correct; I don't see any errors in it.

So the problem must be lower down, such as in the usbhid driver.  The 
best way to track this is to use usbmon.  Here's what I'd like you to 
do:

	After booting, unplug the mouse/keyboard.  Then do
	"dmesg -c >/dev/null" to clear the kernel log buffer.

	Start up usbmon, looking at bus 6 (or whichever bus the
	mouse/keyboard was plugged into).  If you don't have any
	other keyboard to use for this then do it via a network
	login.

	Plug in the mouse/keyboard.  Press a key to verify that
	the keyboard is working, but otherwise don't use either
	device.

	Go through a suspend/resume cycle (again using the network
	link if you don't have another keyboard).

	Type another key to verify that the keyboard isn't working.

	Unplug the keyboard/mouse and plug them back in.

	Type a third key to verify that now the keyboard is
	working again.

	Stop the usbmon trace and post the resulting file along
	with the dmesg log.

Alan Stern

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