Received: by 10.213.65.68 with SMTP id h4csp843279imn; Fri, 23 Mar 2018 18:35:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELv35JXwk3HENfQlG9GUx/sW8o5OLleLGOZ/WQqTBc3X1JuXy8zdnohqEWXF2nZZak3M78xD X-Received: by 10.99.65.6 with SMTP id o6mr13799982pga.57.1521855320125; Fri, 23 Mar 2018 18:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521855320; cv=none; d=google.com; s=arc-20160816; b=fVAQsQSooL1bB9a5tJ+AI9xgDfV4lh0f3ZxLzwzt238dIcKJ89Qxs5ami3pUufqPAv qmvgeZVRF48oSYGyAJXcn+Hhwd9USz+ILLQBuXDIkNXV/nZ4oTo6vGaewlhoH7RgaMNL NkEa60MEfiJ2e15NJ7dFuTlXYHTeO94CKsifFUV3dkY/2WvVjh3kq4TNmc6+8JVaDajk httbiS++PPRWI5q1Szw2/LWjGZGBqrmBmqlkNNTYpzWD09SArtKqnXDDezmObv/Ktk0z q2qCvqRzD4v2u7IyNPeoiMtxB74ZbaP1zvNiLUc3Gr88ZR8Sq40MjBub4ISkyPs4d5H1 Uljg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=SCngYSnkjCfYHh2n6/7mo7o5GxGIWmxw9VBX6ogsGIQ=; b=cML3lzwiUPqX9WMaeenjCCIsn7VXcHI6/AIoA97D6FlxXcEdzeZNfukT+ke1ShwQ9I l/PTT8/b+o84FVj8cH9o3LNSuD1mZM6C91kVUEx+Y+Gyn3MbpObNRkMEJLCayVAoVowh 8P5WIeIMUaYH8R1u/3xpjvyvlRvfSV9epUeLprpxdmc2N3/N/vgsvGcTJM6N9/juAeL0 R/wyzxXC0//bUOFBkk8kWP/DBfYQ+d4A8gHescbKK23A5dwkyuQGlieXXD7iQ53AfUHe OL/wQJfMfs/nl7JareKOURSs0wqr/Zmpo247AcwmNAaFgNOcjx0x8KBA45k3qmkmivBW r3bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=RSEYS2Nw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91-v6si9585386plh.296.2018.03.23.18.35.05; Fri, 23 Mar 2018 18:35:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=RSEYS2Nw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751913AbeCXBeL (ORCPT + 99 others); Fri, 23 Mar 2018 21:34:11 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36741 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490AbeCXBeJ (ORCPT ); Fri, 23 Mar 2018 21:34:09 -0400 Received: by mail-pg0-f66.google.com with SMTP id t9so3845070pgo.3 for ; Fri, 23 Mar 2018 18:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SCngYSnkjCfYHh2n6/7mo7o5GxGIWmxw9VBX6ogsGIQ=; b=RSEYS2NwaIjY+KINGK3DjTQ5LvQGDmKCKbVyCHA7Wn3RM3xMcQncjpksVCEiLfoF9A FE3QdPvfk+tonHHyiAN8nowH1J2TwRBrxS2hHSbOgsXnizR28ZaWTNv+/+j+KQx7+LCv RNmp3e+z9gnR+tmftjIpp3ycMz150uK4ausTBOByNoaWu/sDz2NZMkWbACixIJbT2z+g MVqZE1bwvzFVP4Mm6HtlCA4abIxVT8K4wNFCrBsTGNDO8Md1nB4IAaUZTh27H5SIARge ME/y7B6i5d+UVtEZ+YU5Fnx9PnJCXdJ+pZOOZH7Jf3BGvX4cxBawy/9fZ825aMqOiGBg vTZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=SCngYSnkjCfYHh2n6/7mo7o5GxGIWmxw9VBX6ogsGIQ=; b=sTvF+HmMXUkncSKVJFYSBwwbtYGVRiTfDYpiG2o4OhqVXpCgCd2ETREEdIhOaQPFav nXHYgOB26BjQYwecxlXVtByBZclIzvYD10CsfI+E8cRjyxnYuC7ktscffRVi4aOHjMmr gLQyahbK6vMR76gWbq8r6ht8OHtvfqr6HxUAmBjf7nFh2QulBqiCLEKY5Vr7S026tfeL F5KRGF4wHvr5/lq4x72hiYbcrCOTp5lpPNihKW6K7fzyAxvvswp7S+RmrgLpCN31oasI fiWc5ewwEVrLzl5vu0cOQU/IEz4906HkcNGMhhYJXqiA9LZFP8r4uUifn/chmizKoCJ8 ZFKA== X-Gm-Message-State: AElRT7G4iraZwIFKj8BdoiTadoJorOtYJJn/uCcy0uDzl9l1x4V4v7dz 8NDE/tlUy7sGohxX62IkDMlDxw== X-Received: by 10.101.69.1 with SMTP id n1mr2750219pgq.12.1521855248594; Fri, 23 Mar 2018 18:34:08 -0700 (PDT) Received: from decatoncale.mtv.corp.google.com ([2620:0:1000:1501:e4e8:e3c6:19f1:ae51]) by smtp.gmail.com with ESMTPSA id u18sm19020962pfm.48.2018.03.23.18.34.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Mar 2018 18:34:07 -0700 (PDT) Date: Fri, 23 Mar 2018 18:34:05 -0700 From: Benson Leung To: Andrew Chant Cc: Benson Leung , gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, bleung@google.com Subject: Re: [PATCH] USB: announce bcdDevice as well as idVendor, idProduct. Message-ID: <20180324013405.GA230543@decatoncale.mtv.corp.google.com> References: <20180324003330.180726-1-bleung@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 23, 2018 at 06:08:07PM -0700, Andrew Chant wrote: > >> + "New USB device found, idVendor=3D%04x, idProduct=3D%= 04x, bcdDevice=3D%04x\n", > > Can you please decode bcdDevice into a decimal string? > > > > lsusb -v does this (bcdDevice: 0.03 for example) and in my experience > > it has generally matched up with how hardware manufacturers refer > > to their firmware. >=20 > Nevermind, %x should show bcd properly. looks fine. I like the way lsusb -v does it better. Take a look at v2. Thanks, Benson --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --5vNYLRcllDrimb99 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6gYDF28Li+nEiKLaHwn1ewov5lgFAlq1qw0ACgkQHwn1ewov 5ljayxAAqnXJ3JAqzsr/FRzoT9h9mnKR8Z6DDbb32Vm63J2+UITtvNfzxAPsmf2X tfpiCo9nmg2tZB9LuCpPNdfAEdk5NIulPwcKf/xo2smakBWhM/mF+hQ3mjB1BkB4 dZBHihMsk7e5vAdAuAoDyfdxhEjaGPi+fBsc9+4TMEZKanuq/UYBma6aZ/ljJStQ Ujc16UxXnh+oKwhW5NEW3SGKBUtqRhuLh19/6ZNmcpJTT37/ewUGvoJc+1VNo9mC HWDJk4uykQ/c13ctIkULsMU3JSLcxYhQfMzyV+aw4HQg0t94MbWWRgGqJu63QQeV BDH1Sa1dpowGepy4ZX4aUFYLbwSdDPNGODlemhDpPMTSXheNN0a4lTOgY54EXZP8 ncn3uInBM+QpRgOCF+cEupLeFVEyYQSbxOhV+c5l+AkiHrYjUaN8o9qH7SfES24K qmGGSEOqXBwFjbhzxhZtdI2RG1tWEY17d1naJJZ81gKKkImQsWD2MXFpQUFsvPgb GDBhsGiHy4w/k+v/0+d9MsRMtCYuHMkUMw5slJ/8063SGgViTlSPGS9ot9NRJWcj IQT3Y4CF7VfLW9dehIw7eOI2rT4Y0nU6SHdseOnxx7ksfSRXllqjqndITos0lsFS tcXKAPMEwqu5m+KoPqx2LaLIB532XIR0/+u+7BSoGtla4ixcU/c= =nRSr -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--