From owner-freebsd-arm@freebsd.org Wed Dec 20 17:02:47 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 CE09BE964D4 for ; Wed, 20 Dec 2017 17:02:47 +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 AAC5C777B5 for ; Wed, 20 Dec 2017 17:02:47 +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 vBKH2i9w016150 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 20 Dec 2017 09:02:45 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id vBKH2ib1016149; Wed, 20 Dec 2017 09:02:44 -0800 (PST) (envelope-from fbsd) Date: Wed, 20 Dec 2017 09:02:44 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Disapearing pl2303 usb serial adapter on rpi2 Message-ID: <20171220170244.GA16029@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Wed, 20 Dec 2017 17:02:47 -0000 On an RPI2 at r326951 a pl2303 usb-serial adapter seems to be locking up after a few hours. In the past this could be rectified by using usbconfig to power cycle it, but now even that doesn't work. Apart from the serial device file vanishing from /dev there seems to be no other ill effect. Rebooting fixes the problem for minutes to hours. There is no explict error report in dmesg, but when usbconfig tries to power cycle the adapter the console reports: uhub_explore_handle_re_enumerate: Could not unconfigure device (ignored) usbd_req_re_enumerate: addr=9, set address failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 9 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=9, set address failed! (USB_ERR_STALLED, ignored) usbd_setup_device_desc: getting device descriptor at addr 9 failed, USB_ERR_STALLED A second RPI2 running r326747 is subject to the same lockup, but the adapter can be unstuck using usbconfig to power cycle it. Are there any diagnostics which could shed more light on the problem? Thanks for reading, bob prohaska