From owner-freebsd-arm@freebsd.org Sat Dec 23 00:18:22 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA11DE8D7B0 for ; Sat, 23 Dec 2017 00:18:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 83C606C822 for ; Sat, 23 Dec 2017 00:18:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id vBN0IKD2025163 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Dec 2017 16:18:21 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id vBN0IJrp025162; Fri, 22 Dec 2017 16:18:19 -0800 (PST) (envelope-from fbsd) Date: Fri, 22 Dec 2017 16:18:19 -0800 From: bob prohaska To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: Disapearing pl2303 usb serial adapter on rpi2 Message-ID: <20171223001819.GB24362@www.zefox.net> References: <20171220170244.GA16029@www.zefox.net> <20171221161120.GA20324@www.zefox.net> <20171222041657.GA21799@www.zefox.net> <20171222173052.GA23984@www.zefox.net> <96d7cc41-33bf-1006-54a3-1cc8d9570fd2@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <96d7cc41-33bf-1006-54a3-1cc8d9570fd2@selasky.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Dec 2017 00:18:22 -0000 On Fri, Dec 22, 2017 at 09:39:30PM +0100, Hans Petter Selasky wrote: > I'm interested in messages containing wPortChange= , but with a non-zero > value afterwards. > Ok, that I can understand 8-) Right now the system is running with root@www:/home/bob # sysctl hw.usb.uhub.debug=17 hw.usb.uhub.debug: 0 -> 17 root@www:/home/bob # sysctl hw.usb.no_cs_fail=1 hw.usb.no_cs_fail: 0 -> 1 There's a steady stream of lines like uhub_read_port_status: port 3, wPortStatus=0x0100, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION uhub_read_port_status: port 5, wPortStatus=0x0103, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION scrolling up the serial console. Does the command hw.usb.no_cs_fail: 0 -> 1 imply the output will stop (or at least slow down) once the pl2303 freezes? Thanks very much! bob prohaska