From nobody Mon Feb 9 23:01:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1657532854; cv=none; d=zohomail.com; s=zohoarc; b=kKgDOaiueMfuWiYUYZ45aqWexDbveVCzqE/MnP7g7C33wCEsoYFZfyR/cQCoNqYGvbCeAc0HTVX0IR/Kwrg5l5uAME1bkZlLlfe3LQ4uZCmKWHsaF4xpA/h+XXyooggroSUQafpTGhM50j1GrUSgzFat3u83hYdcZsv4o024k6Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657532854; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=M/nrSDNX4Qb9g5XbQSVFpY3J9MHci+/nAHcRadAykjg=; b=UnSOHnQ+/XeXJNeLmWbLhjgGI9MXa98jfrjssR0ewKz4Kz4asAK1Krnt10xh1oguCdPC8Xg3kjna4sVnm6kQhrWAPW5SDAR15/wk1Q3GshRriL17rPV5aDDte3Mv6vg8Kv86HJnfDORbZneujPI8bUD9AtZ4P3u3837spmhbCe4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1657532854267368.6011891023853; Mon, 11 Jul 2022 02:47:34 -0700 (PDT) Received: from localhost ([::1]:51228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAq0p-0004BI-Sa for importer@patchew.org; Mon, 11 Jul 2022 05:47:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oApy8-0002Yy-R2 for qemu-devel@nongnu.org; Mon, 11 Jul 2022 05:44:44 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:35971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oApy7-0006Z1-Cf for qemu-devel@nongnu.org; Mon, 11 Jul 2022 05:44:44 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-513-yTs1NysoPgaiIngRckzpBw-1; Mon, 11 Jul 2022 05:44:41 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D02A738217E0 for ; Mon, 11 Jul 2022 09:44:40 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9FD23C28118; Mon, 11 Jul 2022 09:44:40 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 09B021800620; Mon, 11 Jul 2022 11:44:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657532682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M/nrSDNX4Qb9g5XbQSVFpY3J9MHci+/nAHcRadAykjg=; b=KzXfQs4d9Wd3ngb6aEEHf37k7GfTF2frWaGm2dN3oDTVbUqM8hbq8DOGp+9a+lW62J/h2d TkFyQVN2//t7/3DHchKsjzWr9WT2cRia3NSUErWnw0QXPwRq8iXhCEunnxOZ8bQZEsuBYs o5CIYnKYI+E6cCePjcW0g6S3Z5E5tM4= X-MC-Unique: yTs1NysoPgaiIngRckzpBw-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Subject: [PATCH 2/2] usb: document pcap (aka usb traffic capture) Date: Mon, 11 Jul 2022 11:44:37 +0200 Message-Id: <20220711094437.3995927-3-kraxel@redhat.com> In-Reply-To: <20220711094437.3995927-1-kraxel@redhat.com> References: <20220711094437.3995927-1-kraxel@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1657532855809100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Gerd Hoffmann --- docs/system/devices/usb.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst index 18e7c8b4d716..f39a88f080ff 100644 --- a/docs/system/devices/usb.rst +++ b/docs/system/devices/usb.rst @@ -382,3 +382,15 @@ What works best pretty much depends on the behavior of= the specific usb device at hand, so it's a trial-and-error game. If the default doesn't work, try another option and see whenever the situation improves. + +record usb transfers +^^^^^^^^^^^^^^^^^^^^ + +All usb devices have support for recording the usb traffic. This can +be enabled using the ``pcap=3D`` property, for example: + +``-device usb-mouse,pcap=3Dmouse.pcap`` + +The pcap files are compatible with the linux kernels usbmon. Many +tools, including ``wireshark``, can decode and inspect these trace +files. --=20 2.36.1