Resetting disabled USB port

Brent Casavant b.j.casavant at ieee.org
Tue Nov 7 00:48:27 UTC 2006


Hello,

I've been attempting to get the moto4lin utility (moto4lin.sourceforge.net)
working under FreeBSD (6.0-RELEASE, if it matters).  It compiles no
problem, and running seems to be fine, other than not yet being able
to communicate with my Motorola PEBL U6 cell phone.  The ucom (and umodem?)
interfaces are used to establish connectivity.

I want to attempt debugging the problem communicating with the phone,
however the kernel shuts down the USB port on me whenver I unplug the
phone:

Nov  1 21:17:18 abigail kernel: ucom0: Motorola Inc. Motorola Phone (PEBL U6), rev 1.10/0.01, addr 2, iclass 2/2
Nov  1 21:17:18 abigail kernel: ucom0: data interface 1, has CM over data, has no break
Nov  1 21:17:18 abigail kernel: ucom0: status change notification available
Nov  1 22:07:07 abigail kernel: ucom0: ucomreadcb: IOERROR
Nov  1 22:07:07 abigail kernel: ucom0: abnormal status: IOERROR
Nov  1 22:07:07 abigail last message repeated 3 times
Nov  1 22:07:07 abigail kernel: ucom0: at uhub2 port 2 (addr 2) disconnected
Nov  1 22:07:08 abigail kernel: All threads purged from cuaU0
Nov  1 22:07:08 abigail kernel: All threads purged from ttyU0
Nov  1 22:07:08 abigail kernel: ucom0: detached
Nov  1 22:07:11 abigail kernel: uhub2: port 2, set config at addr 2 failed
Nov  1 22:07:11 abigail kernel: uhub2: device problem (IOERROR), disabling port 2

My question is whether there is a method to re-enable the port
short of a full reboot?  Requiring a reboot makes the debugging
cycle significantly long enough to be painful.

Thanks,
Brent

-- 
Brent Casavant			Dance like everybody should be watching.
www.angeltread.org
KD5EMB, EN34lv


More information about the freebsd-questions mailing list