Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 64e7066bfa | |||
| 9284fe144f | |||
| cfe4253a34 | |||
| 6c8fead736 | |||
| 723a19630b | |||
| 2a65d17490 | |||
| 11f9290468 | |||
| ade45dbe22 | |||
| d8feb009cb | |||
| 6cd52748a4 | |||
| 1625c372a3 | |||
| f98d2e0a1c |
13
usbutils-enable-usbreset.patch
Normal file
13
usbutils-enable-usbreset.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index c522283..55c3d15 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -137,7 +137,7 @@ usbreset_sources = [
|
||||
|
||||
# By default, usbreset does not get installed as it could cause problems, it's
|
||||
# in the repo for those that wish to try it out.
|
||||
-executable('usbreset', usbreset_sources, install: false)
|
||||
+executable('usbreset', usbreset_sources, install: true)
|
||||
|
||||
|
||||
################################
|
||||
@@ -1 +0,0 @@
|
||||
addFilter(".*devel-file-in-non-devel-package.*usbutils.pc.*")
|
||||
173
usbutils.changes
173
usbutils.changes
@@ -1,3 +1,160 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 18 14:45:59 UTC 2025 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 019:
|
||||
* usbreset.1: fix typo in the busnum/devicenum example.
|
||||
* usbreset: fix swapped vendor and product ID in help/manpage.
|
||||
* usbreset.1: fix groff warnings and small fixes.
|
||||
* Remove commented out code in usbreset.c and list.h and
|
||||
container_of.h .
|
||||
* lsusb: turn a FIXME comment for dump_comm_descriptor() into
|
||||
something real.
|
||||
* lsusb: remove FIXME about wireless usb device.
|
||||
* lsusb: change FIXME for bmEthernetStatistics into a TODO.
|
||||
* lsusb.c: change TODO into a fixme in do_dualspeed() .
|
||||
* usbreset: move the serial number forward in the output.
|
||||
* usb-devices: fix up bash warning for $altset
|
||||
(fixes boo#1253475).
|
||||
* usb-devices: fix up some minor shellcheck warning messages.
|
||||
* usb-spec: remove vendor specific entry.
|
||||
* usbreset: support resetting device by serial number.
|
||||
* lsusb: Show wBytesPerInterval field of the SS EP companion
|
||||
descriptor.
|
||||
* usb-devices: Make devcount 'local' to handle recursion.
|
||||
* usb-devices: Make devnum 'local' to handle recursion.
|
||||
* lsusb-t: add verblevel 3 to print_usbdevice() .
|
||||
* lsusb: improve usb2 device capability descriptor.
|
||||
* Fix display of HID descriptors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 23 15:02:37 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 018:
|
||||
* Add a manpage for lsusb.py
|
||||
* Add a manpage for usbreset
|
||||
* Add lsusb.py.1 to DISTCLEANFILES
|
||||
* usb-devices: fix bashism
|
||||
* man: remove version from the manual pages
|
||||
* README: add Contributing section
|
||||
* lsusb.py: mention both usb.ids paths
|
||||
* README: fix link, add DCO and SPDX details
|
||||
* lsusb: make internal API const-aware
|
||||
* lsusb: const annotate most data,
|
||||
re-enable -Wdiscarded-qualifiers
|
||||
* man: move manual pages in designated sub-folder
|
||||
* lsusb: drop the audioterminal hash table
|
||||
* lsusb: drop the videoterminal hash table
|
||||
* lsusb: drop the genericstrtable hash tables
|
||||
* editorconfig: add initial config file
|
||||
* lsusb: reformat and add trailing commas for multi-line arrays
|
||||
* usb-spec: move the opening curly brackets to end of line
|
||||
* Include "negotiated speed" in device dump
|
||||
* lsusb: remove autotools checks for iconv
|
||||
* lsusb: remove byteswap.h check
|
||||
* lsusb: always include config.h
|
||||
* usbutils: remove usbutils.pc
|
||||
* usbutils: convert build system to use meson
|
||||
* usbutils.spdx: update file based on recent file movements
|
||||
* lsusb: fix memory leak in libusb
|
||||
* lsusb: billboard alternate mode is in little endian format
|
||||
* README: update based on build tool changes
|
||||
* lsusb: add support to show superspeed++
|
||||
* usbhid-dump: clean up meson.build a bit
|
||||
* usbutils.spdx: update the SPDX file
|
||||
* LICENSE: add LGPL-2.1 license text
|
||||
* usbutils.spdx: update the data
|
||||
* update usbutils.spdx file
|
||||
* lsusb-t: get rid of custom list.h logic
|
||||
* LICENSES: add CC0 and MIT licenses
|
||||
* lsusb-t: fix memory leak
|
||||
* justfile: add some more targets
|
||||
* usbutils.spdx: update based on file additions
|
||||
* usbutils.spdx: update due to new file and checksums
|
||||
* usbreset: replace some unbounded strcpy() calls
|
||||
* sysfs.c: fix an theoretical issue with snprintf()
|
||||
* usbutils.spdx: update checksums
|
||||
* usbmisc: fix possible stack-buffer-overflow Running lsusb
|
||||
with -D argument and path, which len is more than PATH_MAX + 1,
|
||||
cause stack-buffer-overflow because of copy to the buf a string
|
||||
without null-terminator Force setting 0 byte to the end of the
|
||||
buf fixes this error Fix #190
|
||||
* update ccid descriptor dumping to V1.1 spec
|
||||
* usb-devices: Fix usb-devices with busybox
|
||||
* Do not warn about missing LPM bit when not required
|
||||
* lsusb: add VideoControl Endpoint Descriptor
|
||||
- Switch to meson build system
|
||||
- Drop usbutils-devel package
|
||||
* the only file in there was usbutils.pc
|
||||
usbutils.pc was removed by upstream with v018
|
||||
https://github.com/gregkh/usbutils/commit/bdadae186382daa8b517b960f154432787f8877b
|
||||
- Add patch:
|
||||
* usbutils-enable-usbreset.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 07:55:42 UTC 2024 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- enable usbreset
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 09:54:21 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- remove dependency on /usr/bin/python3 using
|
||||
%python3_fix_shebang macro, [bsc#1212476]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 13:16:27 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Split out devel package, containing the .pc file:
|
||||
+ The .pc file declares dependencies on other devel packages,
|
||||
which is not wanted on regular end-user systems.
|
||||
+ Drop rpmlintrc file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 09:39:03 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 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
|
||||
* rezso (1):
|
||||
* Honor system libdir and includedir
|
||||
* usbutils 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 20:29:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
@@ -10,7 +167,7 @@ Wed Oct 26 20:29:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
* lsusb: fix up Midi Device specification devices
|
||||
* Fix an runtime error reported by undefind sanitizer
|
||||
* lsusb: Improve status display for SuperSpeedPlus hubs
|
||||
* lsusb-t: Fix recursive sorting on child devices.
|
||||
* lsusb-t: Fix recursive sorting on child devices.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 1 06:22:13 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||
@@ -203,7 +360,7 @@ Wed Mar 20 13:53:50 CET 2019 - ro@suse.de
|
||||
* lsusb: Fix array entry count for variable sized entries.
|
||||
* Makefile.am: Include usbreset.c in the release tarball
|
||||
* lsusb: Dump UVC Stream based payload descriptor.
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 15:35:44 UTC 2018 - mpluskal@suse.com
|
||||
@@ -301,7 +458,7 @@ Tue Jul 30 16:14:30 UTC 2013 - sweet_f_a@gmx.de
|
||||
* lsusb: Support non-ASCII string descriptors.
|
||||
- update usb.ids
|
||||
- remove config-guess-sub-update.patch
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 10:04:21 UTC 2013 - idonmez@suse.com
|
||||
|
||||
@@ -317,7 +474,7 @@ Sun Feb 17 18:35:49 UTC 2013 - schwab@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 19 14:31:50 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
- usbutils 006
|
||||
- usbutils 006
|
||||
* update usbhid-dump to 1.3
|
||||
* Fix Possible buffer overflow when using SYSFS_STR
|
||||
* Wrong shifting of bmMPEGFeatures byte Buffer overun
|
||||
@@ -335,7 +492,7 @@ Thu Mar 17 23:44:50 UTC 2011 - gregkh@suse.de
|
||||
- usbutils 002
|
||||
Diego Elio Pettenò (2):
|
||||
Simplify the configure script.
|
||||
Print device class descriptors like it's done
|
||||
Print device class descriptors like it's done
|
||||
for interface descriptors.
|
||||
|
||||
Greg Kroah-Hartman (2):
|
||||
@@ -411,7 +568,7 @@ Sat Apr 5 23:12:51 CEST 2008 - bwalle@suse.de
|
||||
it.
|
||||
o Fix the offsets for the video class descriptors.
|
||||
o use correct endpoint maxpacket mask
|
||||
o bugfix GUID printing; byteorder matches rfc 4122
|
||||
o bugfix GUID printing; byteorder matches rfc 4122
|
||||
o handle another cdc descriptor type; endianness fix for config
|
||||
descriptor length and endpoint maxpacket
|
||||
- update usb.ids to 2008/04/05 status
|
||||
@@ -453,7 +610,7 @@ Thu Jun 21 10:56:22 CEST 2007 - olh@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 21 09:55:45 CEST 2007 - olh@suse.de
|
||||
|
||||
- lsusb.c: bugfix GUID printing; byteorder matches rfc 4122
|
||||
- lsusb.c: bugfix GUID printing; byteorder matches rfc 4122
|
||||
- lsusb.c: handle another cdc descriptor type; endianness fix
|
||||
for config descriptor length and endpoint maxpacket
|
||||
- usb.ids: update to current version
|
||||
@@ -639,7 +796,7 @@ Sat Aug 9 17:45:58 CEST 2003 - olh@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 16:13:11 CEST 2003 - ro@suse.de
|
||||
|
||||
- include linux/types.h before linux/usb.h
|
||||
- include linux/types.h before linux/usb.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 17 12:31:45 CEST 2003 - olh@suse.de
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package usbutils
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,21 +17,22 @@
|
||||
|
||||
|
||||
Name: usbutils
|
||||
Version: 015
|
||||
Version: 019
|
||||
Release: 0
|
||||
Summary: Tools and libraries for USB devices
|
||||
License: GPL-2.0-or-later
|
||||
Group: Hardware/Other
|
||||
URL: https://sourceforge.net/projects/linux-usb/
|
||||
Source0: https://github.com/gregkh/usbutils/archive/refs/tags/v%{version}.tar.gz
|
||||
Source1: usbutils-rpmlintrc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
Patch0: usbutils-enable-usbreset.patch
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libusb-1_0-devel >= 1.0.14
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(libudev) >= 196
|
||||
Requires: hwdata
|
||||
Obsoletes: usbutils-devel < %{version}
|
||||
|
||||
%description
|
||||
This package contains a utility for inspecting devices connected to USB
|
||||
@@ -39,16 +40,15 @@ ports.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--datadir=%{_datadir}/hwdata \
|
||||
--disable-usbids
|
||||
%make_build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%meson_install
|
||||
%python3_fix_shebang
|
||||
|
||||
%files
|
||||
%doc NEWS
|
||||
@@ -57,6 +57,8 @@ autoreconf -fiv
|
||||
%{_bindir}/lsusb.py
|
||||
%{_bindir}/usb-devices
|
||||
%{_bindir}/usbhid-dump
|
||||
%{_bindir}/usbreset
|
||||
%{_mandir}/man1/lsusb.py.1%{?ext_man}
|
||||
%{_mandir}/man1/usb-devices.1%{?ext_man}
|
||||
%{_mandir}/man8/lsusb.8%{?ext_man}
|
||||
%{_mandir}/man8/usbhid-dump.8%{?ext_man}
|
||||
|
||||
BIN
v015.tar.gz
LFS
BIN
v015.tar.gz
LFS
Binary file not shown.
3
v019.tar.gz
Normal file
3
v019.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0df341a2125a4bdf2f88c77c3828af9f24c2d58e30928c45b23f41e1315df7a
|
||||
size 149685
|
||||
Reference in New Issue
Block a user