From owner-freebsd-hackers@freebsd.org Fri Nov 24 08:14:34 2017 Return-Path: Delivered-To: freebsd-hackers@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 B5C0EDBDE85 for ; Fri, 24 Nov 2017 08:14:34 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B2EB6A224 for ; Fri, 24 Nov 2017 08:14:34 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E37292602CA; Fri, 24 Nov 2017 09:14:30 +0100 (CET) Subject: Re: Is ddb(4) over a USB-to-Serial port possible? To: Oliver Pinter Cc: "freebsd-hackers@freebsd.org" , Farhan Khan References: <11ce9826-f768-3ea0-547d-2d182d1552f0@gmail.com> <36165883-5cb7-aabc-c81e-cb5458029803@freebsd.org> <5c6da274-102c-33c6-50f0-20597cf8e7ef@selasky.org> From: Hans Petter Selasky Message-ID: <953998da-5e3a-1f3c-b56b-41ddda020b68@selasky.org> Date: Fri, 24 Nov 2017 09:11:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Nov 2017 08:14:34 -0000 On 11/23/17 23:34, Oliver Pinter wrote: > Could we somehow change these after attached device? Ergo could we setup > two USB context, one for normal operation and one for the debugger? What you can do is to set the values, then re-enumerate the USB device like this: usbconfig -d X.Y reset --HPS