From patchwork Fri Nov 10 10:59:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7332 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4SRbS76DYSz3x25 for ; Fri, 10 Nov 2023 10:59:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4SRbRt6sPfz1X9; Fri, 10 Nov 2023 10:59:22 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4SRbRt5TRzz33gG; Fri, 10 Nov 2023 10:59:22 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4SRbRs1wpyz33gX for ; Fri, 10 Nov 2023 10:59:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4SRbRq3J9dz15D; Fri, 10 Nov 2023 10:59:19 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1699613959; 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=dVog/YGa2ymFHiQ4ho7dOeHcyJqp4PXZqbUHA0UiUx8=; b=23wCLvQ1U3T0LCS/tJRQm5SREssmxvzv+O5aBPFcCa9m4O8gUnrylSVvovR7um2amlWiws /YFHzBNzpPqveGAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1699613959; 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=dVog/YGa2ymFHiQ4ho7dOeHcyJqp4PXZqbUHA0UiUx8=; b=wGWsRU/KBmDjf3cqAvyf0WHBE5aOiy79vKTmkoUYavBYJMBh1QAnrcLwiAMMMeTn2Pr9qZ Ytp2E6N86HiPVOhHXgCK7B3MHl+255bUFkTe0CfK4b1DvG4hX2BXsZG1KbksT61o4Ydw1Q GHHLDwBFUiARGxwm1Hv5PjenoXTIZ9PPOcfIQRDsDBTwSUKmufnQczA7+rUeV0KWXJisTC Eb/2eTkwLZ7Y43de4IOUEKTCvPbsWVfHi4cLCmXAsxvjJndZa4yoPMO6eg26PekrRs238b UeYGWxzCUygVYmvCQAyIGtDYLm5Rr3di5AVY6R24/q1rBZquc8+IG2/HPFALTA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] usbutils: Update to version 017 Date: Fri, 10 Nov 2023 11:59:08 +0100 Message-ID: <20231110105910.11113-11-adolf.belka@ipfire.org> In-Reply-To: <20231110105910.11113-1-adolf.belka@ipfire.org> References: <20231110105910.11113-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: H2PMMS5C53KF2ZZQQZKG34PNNFSH6VIR X-Message-ID-Hash: H2PMMS5C53KF2ZZQQZKG34PNNFSH6VIR X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 015 to 017 - Update of rootfile - Changelog 017 lsusb: fix up [unknown] vendor and product strings. lsusb: fix build warning for dump_billboard_alt_mode_capability_desc() lsusb: add fallback names for 'lsusb -v' output names: simplify get_vendor_product_with_fallback() a bit Honor system libdir and includedir 016 usbutils: lsusb-t: print entries for devices with no interfaces Fix a typo in usb-spec.h lsusb.py.in: Display (device) power/wakeup via -w option. Fix an incorrect length value in hid descriptor. Fix misalignments in hid device descripptor. Use bigger buffer to place speed value string lsusb -h returns an error lsusb -h fixups lsusb -t: sort in bus order, not reverse order lsusb -t: print ports and busses and devices with same width lsusb -t: assign_interface_to_parent() fixups lsusb.8.in: fix up missing '-' in text README.md: add source location lsusb.py: fix up wakeup logic for devices that do not support it lsusb.py.in: add another default path for usb.ids names.c: if a string can not be found in the usb.ids file, return [unknown] lsusb-t: if a driver is not bound to an interface, report "[none]" Generate usbutils.pc pkgconfig file usbreset: Allow idProduct and idVendor to be 0 usb-devices: make shellcheck happy lsusb: Add function that sorts the output by device ID. lsusb: Additional sorting by bus number. lsusb: This is a more compact implementation of the device list sort implemented within this pull request. The output remains the same as the one demonstrated in the previous commit. Signed-off-by: Adolf Belka --- config/rootfiles/common/usbutils | 1 + lfs/usbutils | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/usbutils b/config/rootfiles/common/usbutils index 2ebf4f95c..9a30134ce 100644 --- a/config/rootfiles/common/usbutils +++ b/config/rootfiles/common/usbutils @@ -2,6 +2,7 @@ usr/bin/lsusb usr/bin/lsusb.py usr/bin/usb-devices usr/bin/usbhid-dump +#usr/lib/pkgconfig/usbutils.pc #usr/share/man/man1/usb-devices.1 #usr/share/man/man8/lsusb.8 #usr/share/man/man8/usbhid-dump.8 diff --git a/lfs/usbutils b/lfs/usbutils index 922bb0e14..780b6297a 100644 --- a/lfs/usbutils +++ b/lfs/usbutils @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 015 +VER = 017 THISAPP = usbutils-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 6056947e3df829e988b9429827c69234a90b7ad1be666d54566211bc6c8e09e74372543059827a39cab2badd1df71deff1147503bef3850a38bffefe3b2ae0e2 +$(DL_FILE)_BLAKE2 = 1dc37f50bd214cd1612819c5814e5a6fe01609b21830e40f03c163a1e100f8d041e93defc0981da8a8a2a8c8a07283a09d3e37101e9ae1d61fd2842809ebcc0e install : $(TARGET)