Date: Tue, 18 Sep 2012 19:38:58 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Konstantin Belousov <kostikbel@gmail.com> Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org Subject: Re: svn commit: r240659 - in stable/9/sys: dev/usb/net dev/usb/serial kern sys Message-ID: <201209181938.59008.hselasky@c2i.net> In-Reply-To: <20120918172705.GK37286@deviant.kiev.zoral.com.ua> References: <201209181628.q8IGSoOF024628@svn.freebsd.org> <20120918172705.GK37286@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 18 September 2012 19:27:05 Konstantin Belousov wrote: > On Tue, Sep 18, 2012 at 04:28:50PM +0000, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Tue Sep 18 16:28:49 2012 > > New Revision: 240659 > > URL: http://svn.freebsd.org/changeset/base/240659 > > > > Log: > > MFC r239178, r239179, r239180, r239181, r239182 and r239299: > > > > Fix detach of USB serial devices so that it doesn't block > > the USB explore thread forever. To accomplish this two new > > functions have been added to the kernel, to claim and free > > the newbus allocated softc. > > > > This change is backwards API compatible, but not binary > > compatible. The FreeBSD version has been bumped to force > > a recompile of all kernel modules. > > Thank you, I run with this change since it was committed to head, and > the only issue left is that the same serial adapter reappears under the > different cuaUNN name after the glitch. This causes apcupsd to not able > to reconnect. > > And, the big question that still applies, is why UPSes are lost from the > USB bus ? Hi, Loss of VBUS (+5) and overcurrent are some natural reasons a device can suddenly disconnect. Do you have a bad/loose connector? Other reasons: Device firmware has restarted. Many serial applications fail to exit when reading from a serial device fails. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209181938.59008.hselasky>