kern/63251: USB stops working after 2nd APM suspend/resume cycle, Toshiba Sat Pro 6100, 5.2-R

Dr. Gary E. RAFE gary.rafe at utoledo.edu
Sun Feb 22 20:50:14 PST 2004


>Number:         63251
>Category:       kern
>Synopsis:       USB stops working after 2nd APM suspend/resume cycle, Toshiba Sat Pro 6100, 5.2-R
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 22 20:50:13 PST 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list