Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2017 09:11:46 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Oliver Pinter <oliver.pinter@hardenedbsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Farhan Khan <khanzf@gmail.com>
Subject:   Re: Is ddb(4) over a USB-to-Serial port possible?
Message-ID:  <953998da-5e3a-1f3c-b56b-41ddda020b68@selasky.org>
In-Reply-To: <CAPQ4ffuvUtSwoFRrLdEZ5e63nhovhR9rnqrZ-=L1RT1d_9k=YA@mail.gmail.com>
References:  <11ce9826-f768-3ea0-547d-2d182d1552f0@gmail.com> <36165883-5cb7-aabc-c81e-cb5458029803@freebsd.org> <5c6da274-102c-33c6-50f0-20597cf8e7ef@selasky.org> <aad5dce5-ae76-f2af-0d1b-3e39e5f9cdfb@freebsd.org> <cc2c013c-0e38-5973-2323-5d08c27c2de3@selasky.org> <CAPQ4ffuvUtSwoFRrLdEZ5e63nhovhR9rnqrZ-=L1RT1d_9k=YA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?953998da-5e3a-1f3c-b56b-41ddda020b68>