From owner-svn-src-head@freebsd.org Thu May 24 18:02:29 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6179FEFA261; Thu, 24 May 2018 18:02:29 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE0D27B4C8; Thu, 24 May 2018 18:02:28 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-vk0-x232.google.com with SMTP id j7-v6so1568711vkc.9; Thu, 24 May 2018 11:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=I9WP1OuA0/7fFFUa2Hi62jr1/Q+EZrT2k5nh2b+aJWQ=; b=ARiu6Ac/CNrGPdyTlVWUpYyYUfer/jx6OyeW/BF2RZP6Npg84rcfknD4g3RjquLWXr HtsNdCgy4Nq8rq/ZhhkN8Crf8rf0Eod0xYPff3a1ec6NrukW0i5OX1oSQcPxRs8ul5bD RaR1Pb5ZTuUaGgGVf9VHiyNYf0d+0cImwb2e5pe9mefBIGObl+oPvhPDjHKrkAkSV8yw HjrXk5aT29OajoE4VzZZaXrCSu3/7X6IOnmMDEn8YQgenpvH+8mJB/f+Oew9AFJzAKbp rpRSosiav6HIa149LTDWx8YYb3fdednqz24XQNUhHg0qw0yZsmiuO0Ny6oA1HW1Rzwyf stmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=I9WP1OuA0/7fFFUa2Hi62jr1/Q+EZrT2k5nh2b+aJWQ=; b=oIYKm3CRMK5RzIphmX8veDInGzZgE+rMR5y9E51+U07pzXkUwDYCh3KAj02pHLiMGm AwdHhMXLz9GDG4jz2/I0dE/yP3e0hi4miQHbxmz8UiUDMGKjEe46D9EHJjcrMqHlIRci wPBLYZbi2WRgeTkKpSjWR0NI4/9GD6I8e2FnfCfPJxnAG7s1l6Aaqjk3WAkNHadKe9kV svO+7owYN/wKSFTrWQVSxXlVAH7RsLJ/7WbbjjgRyGdutZdz1ldQWIRJClbKm8OLklA6 GBiqDaPyAnD8dUwYwMxGKA18E4IM7BgJosizgEm85rOLTqNHkAU321aXExRobC2qMZfQ netw== X-Gm-Message-State: ALKqPwehbLsEMXyzKuBYIixgRWQ7ZWe4dQhopzoicqGpAGbGp8Ho2aq1 VD2v74xIUilaO2avfR3BZI/Asuv9A+oAfsvEqo4= X-Google-Smtp-Source: AB8JxZq6XUtAOd7m6FYE4SH+VsNZibpOEOZBi4nQg5fbNtklu7SrzvA6OrLem+JPqdTwBaUSzFmjYH0TI09tHmTyVLA= X-Received: by 2002:a1f:218b:: with SMTP id h133-v6mr5265577vkh.31.1527184948316; Thu, 24 May 2018 11:02:28 -0700 (PDT) MIME-Version: 1.0 Sender: etnapierala@gmail.com Received: by 2002:ab0:5a81:0:0:0:0:0 with HTTP; Thu, 24 May 2018 11:02:27 -0700 (PDT) In-Reply-To: <94801dec-73b4-63f3-6f01-b0e175073d6e@selasky.org> References: <201805232006.w4NK64jS044384@repo.freebsd.org> <9B0033E1-56EC-4CA0-BC28-056871B32B0A@panasas.com> <94801dec-73b4-63f3-6f01-b0e175073d6e@selasky.org> From: Edward Napierala Date: Thu, 24 May 2018 19:02:27 +0100 X-Google-Sender-Auth: RRB_d_axXw0F61jt3x59qbCj2QQ Message-ID: Subject: Re: svn commit: r334115 - in head: share/man/man4 sys/dev/usb/template To: Hans Petter Selasky Cc: "H. Schmalzbauer - OmniLAN" , Ravi Pokala , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 18:02:29 -0000 2018-05-24 11:01 GMT+01:00 Hans Petter Selasky : > On 05/24/18 11:59, Edward Napierala wrote: > >> 2018-05-24 8:41 GMT+01:00 H. Schmalzbauer - OmniLAN < >> h.schmalzbauer@omnilan.de>: >> >> Am 23.05.2018 um 22:35 schrieb Ravi Pokala: >>> >>> Hi Traz, >>>> >>>> You're referring to power consumption in terms of (milli)Amps. That's >>>> not >>>> right; power is measured in Watts. What you're actually talking about = is >>>> *current*. And it looks like in some situations USB devices can draw >>>> more >>>> than 500mA. >>>> >>>> >>> Since the voltage isn't a variable when talking about USB power, speaki= ng >>> of "power" while refering to current seems valid to me =E2=80=93 it's 5= V only >>> and >>> those who read that don't even need to do any math in head. >>> I never read 2500mW in USB world, 500mA is common. >>> Just my 2=C2=A2 >>> >>> >> I've just did some googling, and it seems you're right - while from >> physics >> point of view mA is definitely current and not power, pretty much >> everywhere I look the USB power (reported in bMaxPower) is specified in >> mA, >> not mW. Thus, I'm leaning toward leaving it as it is - wrong from a >> physics point of view, but aligned with the the USB naming convention. >> >> > Even though implict, we could specify mA at 5Volt in the sysctl > description. Good idea, done!