resetting a usb com port?

[email protected] (MLH) Mon, 3 Aug 2026 20:24:41 -0400 (EDT)
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
I am programming some esp32s and every now and then the port locks up from
an error and I can't find a way to reset it properly.

For example:

[ 651173.2591532] uchcom0 at uhub1 port 9
[ 651173.2591532] uchcom0: QinHeng Electronics (0x1a86) USB Serial (0x7523), rev 1.10/2.64, addr 3
[ 651173.2691535] ucom0 at uchcom0
[ 651197.0392490] ucom0: detached
[ 651197.0392490] uchcom0: detached
[ 651197.0392490] uchcom0: at uhub1 port 9 (addr 3) disconnected
[ 651204.6892798] uhub1: device problem, disabling port 9
[ 651246.6894490] uhub1: device problem, disabling port 9
[ 651247.2094511] uhub1: device problem, disabling port 9

Is there a way to reset ucom0 without having to reboot ?

Thanks