From nobody@FreeBSD.org  Sun Feb 22 20:47:40 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED67616A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Feb 2004 20:47:40 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CEF3E43D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Feb 2004 20:47:40 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1N4le72082091
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Feb 2004 20:47:40 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i1N4le1e082087;
	Sun, 22 Feb 2004 20:47:40 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200402230447.i1N4le1e082087@www.freebsd.org>
Date: Sun, 22 Feb 2004 20:47:40 -0800 (PST)
From: "Dr. Gary E. RAFE" <gary.rafe@utoledo.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: USB stops working after 2nd APM suspend/resume cycle, Toshiba Sat Pro 6100, 5.2-R
X-Send-Pr-Version: www-2.3

>Number:         63251
>Category:       i386
>Synopsis:       [usb] USB stops working after 2nd APM suspend/resume cycle, Toshiba Sat Pro 6100, 5.2-R
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 22 20:50:13 PST 2004
>Closed-Date:    Sat Jul 30 00:50:59 GMT 2005
>Last-Modified:  Sat Jul 30 00:50:59 GMT 2005
>Originator:     Dr. Gary E. RAFE
>Release:        5.2-RELEASE
>Organization:
The University of Toledo
>Environment:
FreeBSD gerpc2.nonet 5.2-RELEASE FreeBSD 5.2-RELEASE #5: Wed Jan 28 20:57:46 EST 2004 root@gerpc2.nonet:/usr/src/sys/i386/compile/TSP6100A i386     
>Description:
Toshiba Satellite Pro 6100 previously running 4.9-RELEASE without problem.
Custom 5.2-R kernel with APM and USB (UHCI) compiled in.
System responses correctly to first "apm -z" initiated suspend/resume
cycle.  Kernel messages regarding USB (with USB_DEBUG):

usbd_new_device bus=0xc4777000 port=1 depth=1 speed=2
usbd_new_device: adding unit addr=2, rev=110, class=9, subclass=0, protocol=0, m
axpacket=8, len=18, speed=2
usbd_new_device: new dev (addr 2), dev=0xc4723400, parent=0xc4723900
usbd_probe_and_attach: trying device specific drivers
uhub1: Atmel Standard USB Hub, class 9/0, rev 1.10/3.00, addr 2
usbd_set_config_index: status=0x0000, error=NORMAL_COMPLETION
usbd_set_config_index: (addr 1) cno=2 attr=0xe0, selfpowered=0, power=64
usbd_set_config_index: set config 1
uhub1: 4 ports with 4 removable, bus powered
usbd_new_device bus=0xc4777000 port=4 depth=2 speed=1
usbd_new_device: adding unit addr=3, rev=200, class=0, subclass=0, protocol=0, m
axpacket=8, len=18, speed=1
usbd_new_device: new dev (addr 3), dev=0xc4b6dc80, parent=0xc4723480
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: (addr 1) cno=3 attr=0xa0, selfpowered=0, power=98
usbd_set_config_index: set config 1
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 3, iclass 3/1
ums0: 3 buttons and Z dir.

Following the *second* suspend/resume cycle, 
USB devices are not restarted.
Kernel messages:

usbd_new_device bus=0xc4777000 port=1 depth=1 speed=2
usbd_new_device: addr=2, getting first desc failed
usbd_remove_device: 0xc4b86a00
uhub_explore: usb_new_device failed, error=TIMEOUT
uhub0: device problem, disabling port 1

Neither builtin USB port is active until a reboot.

Same result when no USB devices are connected across
suspend/resume cycles.

Further APM suspend/resume cycles continue to return
with no USB function.

Apart from the loss of USB, the system operates correctly
following the APM resume.  Since we use numerous USB devices,
a reboot is necessary following this second suspend/resume cycle.     
>How-To-Repeat:
Simply suspend & resume the system twice.      
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-usb 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Nov 4 07:53:06 GMT 2004 
Responsible-Changed-Why:  
Reassign to appropriate mailing list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63251 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Fri Mar 25 00:10:12 GMT 2005 
State-Changed-Why:  

Does this problem stilloccur in more recent releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63251 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jul 30 00:50:50 GMT 2005 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63251 
>Unformatted:
