Re: Bus resets while realtime job is running

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sun, 1 Apr 2007, Matthias Urlichs wrote:

> Hi,
> 
> On current kernels (at least 2.6.19 to current -- I can't test older ones),
> realtime processes cause USB resets on my system.
> 
> I'm running pulseaudio with realtime privileges. This happens:
> 
> [23496.395029] usb 6-3.2.1: reset low speed USB device using ehci_hcd and address 42
> [23496.937542] usb 6-3.1: reset low speed USB device using ehci_hcd and address 39
> [23512.660307] usb 6-3.2.1: reset low speed USB device using ehci_hcd and address 42
> [23513.699371] usb 6-3.1: reset low speed USB device using ehci_hcd and address 39
> [23531.379236] usb 6-3.2.1: reset low speed USB device using ehci_hcd and address 42
> [23553.950417] usb 6-3.2.1: reset low speed USB device using ehci_hcd and address 42
> [23565.124676] usb 6-3.2.1: reset low speed USB device using ehci_hcd and address 42
> 
> The devices in question happen to be my mouse and keyboard. :-/
> Unfortunately the keyboard manages not to survive that reset (it starts
> losing events, which is kindof inconvenient when the lost event is a
> key-up) and needs to be unplugged to resume working.
> 
> I don't have audio (or anything else that's active, in fact) on my USB.
> 
> Ideas where to start debugging this are appreciated.

A good place to start would be to use usbmon (see 
Documentation/usb/usbmon.txt).  It also wouldn't hurt to turn on 
CONFIG_USB_DEBUG.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.